Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Layout Class Reference
+ Inheritance diagram for Layout:
+ Collaboration diagram for Layout:

Public Member Functions

 Layout ($caneva="", $action="", $template="[OUT]")
 
 getZone ($key= '')
 
 setZone ($zone)
 
 SetBlockCorresp ($p_nom_block, $p_nom_modele, $p_nom=NULL)
 
 SetBlockData ($p_nom_block, $data=NULL)
 
 GetBlockData ($p_nom_block)
 
 SetBlock ($name, $block)
 
 ParseBlock (&$out)
 
 TestIf ($name, $block, $not=false)
 
 ParseIf (&$out)
 
 ParseZone (&$out)
 
 ParseKey (&$out)
 
 setEncoding ($enc)
 
 execute ($appname, $actionargn)
 
 set ($tag, $val)
 
 get ($tag)
 
 ParseRef (&$out)
 
 Text ($s)
 
 GenJsRef ()
 
 GenJsCode ($showlog, $onlylog=false)
 
 ParseJs (&$out)
 
 GenCssRef ()
 
 GenCssCode ()
 
 ParseCss (&$out)
 
 gen ()
 
 getRecursionCount ($class, $function)
 
 printRecursionCountError ($class, $function, $count)
 

Data Fields

 $encoding = ""
 
 $noparse = false
 

Protected Member Functions

 ParseText (&$out)
 

Detailed Description

Definition at line 81 of file Class.Layout.php.

Member Function Documentation

execute (   $appname,
  $actionargn 
)

Definition at line 251 of file Class.Layout.php.

+ Here is the call graph for this function:

gen ( )

Definition at line 436 of file Class.Layout.php.

+ Here is the call graph for this function:

GenCssCode ( )

Definition at line 420 of file Class.Layout.php.

GenCssRef ( )

Definition at line 409 of file Class.Layout.php.

GenJsCode (   $showlog,
  $onlylog = false 
)

Definition at line 357 of file Class.Layout.php.

GenJsRef ( )

Definition at line 344 of file Class.Layout.php.

get (   $tag)

Definition at line 315 of file Class.Layout.php.

GetBlockData (   $p_nom_block)

Definition at line 167 of file Class.Layout.php.

getRecursionCount (   $class,
  $function 
)

Count number of execute() calls on the stack to detect infinite recursive loops

Parameters
stringclass name to track
stringfunction/method name to track
Returns
array array('count' => $callCount, 'delta' => $callDelta, 'depth' => $stackDepth)

Definition at line 467 of file Class.Layout.php.

getZone (   $key = '')

return original zone

Parameters
string$key

Definition at line 130 of file Class.Layout.php.

Layout (   $caneva = "",
  $action = "",
  $template = "[OUT]" 
)

construct layout for view card containt

Parameters
string$canevafile of the template
Action$actioncurrent action
string$templatedefault template

Definition at line 106 of file Class.Layout.php.

ParseBlock ( $out)

Definition at line 196 of file Class.Layout.php.

ParseCss ( $out)

Definition at line 430 of file Class.Layout.php.

ParseIf ( $out)

Definition at line 222 of file Class.Layout.php.

ParseJs ( $out)

Definition at line 400 of file Class.Layout.php.

ParseKey ( $out)

Definition at line 232 of file Class.Layout.php.

ParseRef ( $out)

Definition at line 321 of file Class.Layout.php.

ParseText ( $out)
protected

Definition at line 333 of file Class.Layout.php.

ParseZone ( $out)

Definition at line 227 of file Class.Layout.php.

printRecursionCountError (   $class,
  $function,
  $count 
)

Print a recursion count error message and stop execution

Parameters
stringclass name to display
stringfunction/method name to display
integerthe call count that triggered the error

Definition at line 497 of file Class.Layout.php.

set (   $tag,
  $val 
)

Definition at line 309 of file Class.Layout.php.

SetBlock (   $name,
  $block 
)

Definition at line 172 of file Class.Layout.php.

+ Here is the call graph for this function:

SetBlockCorresp (   $p_nom_block,
  $p_nom_modele,
  $p_nom = NULL 
)

Definition at line 144 of file Class.Layout.php.

SetBlockData (   $p_nom_block,
  $data = NULL 
)

Definition at line 149 of file Class.Layout.php.

+ Here is the call graph for this function:

setEncoding (   $enc)

define new encoding text default is iso8859-1

Definition at line 242 of file Class.Layout.php.

setZone (   $zone)

Definition at line 140 of file Class.Layout.php.

TestIf (   $name,
  $block,
  $not = false 
)

Definition at line 201 of file Class.Layout.php.

+ Here is the call graph for this function:

Text (   $s)

Definition at line 338 of file Class.Layout.php.

Field Documentation

$encoding = ""

Definition at line 86 of file Class.Layout.php.

$noparse = false

Definition at line 87 of file Class.Layout.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase