XiTemplate Home Page XiTemplate
[ class tree: XiTemplate ] [ index: XiTemplate ] [ all elements ]

Index of all elements

[ a ] [ c ] [ n ] [ o ] [ p ] [ r ] [ t ] [ x ] [ _ ]

a

assign
in file class.XiTemplate.php, method XiTemplate::assign()
    Assign a value to a template variable. $value can be either a string or a single or multidimensional array.
top

c

class.XiTemplate.php
procedural page class.XiTemplate.php
top

n

$nullValue
in file class.XiTemplate.php, variable XiTemplate::$nullValue
    what to assign to unassigned template variables. Defaults to ''. Sometimes a null value is desired, but if you are parsing a table and a null value populates a cell this can cause problems. In this case setting $nullValue to   might be a better idea.Note: Sometimes it may be desireable to set a null value temporarily. To achieve this simply reset null values to ''.
top

o

out
in file class.XiTemplate.php, method XiTemplate::out()
    Outputs a parsed block of a template to the browser. Will generate a fatal error if $blockName does not exist in the template instance.
top

p

parse
in file class.XiTemplate.php, method XiTemplate::parse()
    Parse a block of the template replacing parsed blocks and variables.
top

r

reset
in file class.XiTemplate.php, method XiTemplate::reset()
    Resets a parsed block to empty.
rparse
in file class.XiTemplate.php, method XiTemplate::rparse()
    Parse a block of the template and all sub-blocks under it.
top

t

text
in file class.XiTemplate.php, method XiTemplate::text()
    Returns parsed block of template.
top

x

XiTemplate
in file class.XiTemplate.php, class XiTemplate
    XiTemplate is a very fast and very easy to use PHP template engine that enables a developer to completely seperate logic from presentation.
top

_

__construct
in file class.XiTemplate.php, method XiTemplate::__construct()
    XiTemplate constructor, loads the template text from file or buffer and instantiates the XiTemplate object.
top

Documentation generated on Fri, 20 Aug 2004 10:57:42 -0500 by phpDocumentor 1.3.0RC3