/utilities.inc

Description

"Block is Object" template engine

Classes
Class Description
HTML_Template_BO_RSwitch Argument for this renderer is an array of blocks ($assoc). Renderer chooses one of blocks by index that is passed to renderer's constructor ($key).
HTML_Template_BO_RBool Like HTML_Template_BO_RSwitch, but index is boolean. Indexes in the template have names "true" and "false".
HTML_Template_BO_RArray Repeats block $block for each $list element. Array element is variables for corresponding block.
HTML_Template_BO_RArraySwitch Renderer repeats block for each $list element. $list element is an array consisting of two elements: 0 => block index to choose from $assoc, 1 => block variables. $assoc is an array of blocks. This renderer combines functionality from HTML_Template_BO_RArray and HTML_Template_BO_RSwitch.
HTML_Template_BO_RArrayR Repeats block $x for each $rendererA element. $rendererA element is another renderer for the corresponding block.
HTML_Template_BO_TplToPrintable Makes printable object from block and its variables
HTML_Template_BO_RBlock Simply prints block with given variables. One time.
HTML_Template_BO_RMaybe Prints block if condition is true
HTML_Template_BO_RMaybeArg Like HTML_Template_BO_RMaybe, but two argument elements are passed separately
Functions
HTML_Template_BO_printToString (line 17)

Converts argument to string

void HTML_Template_BO_printToString (mixed $p)
  • mixed $p: PHP value or HTML_Template_BO_Printable object

Documentation generated on Thu, 03 Aug 2006 08:25:54 +0300 by phpDocumentor 1.2.3