HTML_Template_Sigma
[ class tree: HTML_Template_Sigma ] [ index: HTML_Template_Sigma ] [ all elements ]

Element index for package HTML_Template_Sigma

[ a ] [ b ] [ c ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ o ] [ p ] [ r ] [ s ] [ t ] [ v ]

a

addBlock
in file Sigma.php, method HTML_Template_Sigma::addBlock()
    Adds a block to the template changing a variable placeholder to a block placeholder.
addBlockfile
in file Sigma.php, method HTML_Template_Sigma::addBlockfile()
    Adds a block taken from a file to the template, changing a variable placeholder to a block placeholder.
top

b

$blocknameRegExp
in file Sigma.php, variable HTML_Template_Sigma::$blocknameRegExp
    RegExp for matching the block names in the template.
$blockRegExp
in file Sigma.php, variable HTML_Template_Sigma::$blockRegExp
    RegExp used to find blocks and their content, filled by the constructor
blockExists
in file Sigma.php, method HTML_Template_Sigma::blockExists()
    Checks if the block exists in the template
top

c

$closingDelimiter
in file Sigma.php, variable HTML_Template_Sigma::$closingDelimiter
    Last character of a variable placeholder ( {VARIABLE_}_ )
$commentRegExp
in file Sigma.php, variable HTML_Template_Sigma::$commentRegExp
    RegExp used to find (and remove) comments in the template
$currentBlock
in file Sigma.php, variable HTML_Template_Sigma::$currentBlock
    Name of the current block
clearVariables
in file Sigma.php, method HTML_Template_Sigma::clearVariables()
    Clears the variables
top

e

errorMessage
in file Sigma.php, method HTML_Template_Sigma::errorMessage()
    Returns a textual error message for an error code
top

f

$fileRoot
in file Sigma.php, variable HTML_Template_Sigma::$fileRoot
    Root directory for "source" templates
$flagGlobalParsed
in file Sigma.php, variable HTML_Template_Sigma::$flagGlobalParsed
    Flag indicating that the global block was parsed
$functionnameRegExp
in file Sigma.php, variable HTML_Template_Sigma::$functionnameRegExp
    Function name RegExp
$functionPrefix
in file Sigma.php, variable HTML_Template_Sigma::$functionPrefix
    Function name prefix used when searching for function calls in the template
$functionRegExp
in file Sigma.php, variable HTML_Template_Sigma::$functionRegExp
    RegExp used to grep function calls in the template (set by the constructor)
top

g

get
in file Sigma.php, method HTML_Template_Sigma::get()
    Returns a block with all replacements done.
getBlockList
in file Sigma.php, method HTML_Template_Sigma::getBlockList()
    Returns a list of blocks within a template.
getCurrentBlock
in file Sigma.php, method HTML_Template_Sigma::getCurrentBlock()
    Returns the current block name
getPlaceholderList
in file Sigma.php, method HTML_Template_Sigma::getPlaceholderList()
    Returns a list of placeholders within a block.
top

h

hideBlock
in file Sigma.php, method HTML_Template_Sigma::hideBlock()
    Hides the block even if it is not "empty".
HTML_Template_Sigma
in file Sigma.php, method HTML_Template_Sigma::HTML_Template_Sigma()
    Constructor: builds some complex regular expressions and optionally sets the root directories.
HTML_Template_Sigma
in file Sigma.php, class HTML_Template_Sigma
    Implementation of Integrated Templates API with template 'compilation' added.
top

i

$includeRegExp
in file Sigma.php, variable HTML_Template_Sigma::$includeRegExp
    RegExp used to find file inclusion calls in the template
top

l

loadTemplateFile
in file Sigma.php, method HTML_Template_Sigma::loadTemplateFile()
    Loads a template file.
top

o

$openingDelimiter
in file Sigma.php, variable HTML_Template_Sigma::$openingDelimiter
    First character of a variable placeholder ( _{_VARIABLE} ).
top

p

parse
in file Sigma.php, method HTML_Template_Sigma::parse()
    Parses the given block.
parseCurrentBlock
in file Sigma.php, method HTML_Template_Sigma::parseCurrentBlock()
    Parses the current block
placeholderExists
in file Sigma.php, method HTML_Template_Sigma::placeholderExists()
    Returns the name of the (first) block that contains the specified placeholder.
top

r

$removeEmptyBlocks
in file Sigma.php, variable HTML_Template_Sigma::$removeEmptyBlocks
    Controls the handling of empty blocks, default is remove
$removeUnknownVariables
in file Sigma.php, variable HTML_Template_Sigma::$removeUnknownVariables
    Controls the handling of unknown variables, default is remove
$removeVariablesRegExp
in file Sigma.php, variable HTML_Template_Sigma::$removeVariablesRegExp
    RegExp used to strip unused variable placeholders
replaceBlock
in file Sigma.php, method HTML_Template_Sigma::replaceBlock()
    Replaces an existing block with new content.
replaceBlockfile
in file Sigma.php, method HTML_Template_Sigma::replaceBlockfile()
    Replaces an existing block with new content from a file.
top

s

Sigma.php
procedural page Sigma.php
setCacheRoot
in file Sigma.php, method HTML_Template_Sigma::setCacheRoot()
    Sets the directory to cache "prepared" templates in, the directory should be writable for PHP.
setCallbackFunction
in file Sigma.php, method HTML_Template_Sigma::setCallbackFunction()
    Sets a callback function.
setCurrentBlock
in file Sigma.php, method HTML_Template_Sigma::setCurrentBlock()
    Sets the name of the current block: the block where variables are added
setGlobalVariable
in file Sigma.php, method HTML_Template_Sigma::setGlobalVariable()
    Sets a global variable value.
setOption
in file Sigma.php, method HTML_Template_Sigma::setOption()
    Sets the option for the template class
setRoot
in file Sigma.php, method HTML_Template_Sigma::setRoot()
    Sets the file root for templates. The file root gets prefixed to all filenames passed to the object.
setTemplate
in file Sigma.php, method HTML_Template_Sigma::setTemplate()
    Sets the template.
setVariable
in file Sigma.php, method HTML_Template_Sigma::setVariable()
    Sets a variable value.
show
in file Sigma.php, method HTML_Template_Sigma::show()
    Prints a block with all replacements done.
SIGMA_BLOCK_DUPLICATE
in file Sigma.php, constant SIGMA_BLOCK_DUPLICATE
    Error codes
SIGMA_BLOCK_EXISTS
in file Sigma.php, constant SIGMA_BLOCK_EXISTS
    Error codes
SIGMA_BLOCK_NOT_FOUND
in file Sigma.php, constant SIGMA_BLOCK_NOT_FOUND
    Error codes
SIGMA_CACHE_ERROR
in file Sigma.php, constant SIGMA_CACHE_ERROR
    Error codes
SIGMA_CALLBACK_SYNTAX_ERROR
in file Sigma.php, constant SIGMA_CALLBACK_SYNTAX_ERROR
    Error codes
SIGMA_ERROR
in file Sigma.php, constant SIGMA_ERROR
    Error codes
SIGMA_INVALID_CALLBACK
in file Sigma.php, constant SIGMA_INVALID_CALLBACK
    Error codes
SIGMA_OK
in file Sigma.php, constant SIGMA_OK
    Error codes
SIGMA_PLACEHOLDER_DUPLICATE
in file Sigma.php, constant SIGMA_PLACEHOLDER_DUPLICATE
    Error codes
SIGMA_PLACEHOLDER_NOT_FOUND
in file Sigma.php, constant SIGMA_PLACEHOLDER_NOT_FOUND
    Error codes
SIGMA_TPL_NOT_FOUND
in file Sigma.php, constant SIGMA_TPL_NOT_FOUND
    Error codes
SIGMA_UNKNOWN_OPTION
in file Sigma.php, constant SIGMA_UNKNOWN_OPTION
    Error codes
top

t

touchBlock
in file Sigma.php, method HTML_Template_Sigma::touchBlock()
    Preserves the block even if empty blocks should be removed.
top

v

$variablenameRegExp
in file Sigma.php, variable HTML_Template_Sigma::$variablenameRegExp
    RegExp matching a variable placeholder in the template.
$variablesRegExp
in file Sigma.php, variable HTML_Template_Sigma::$variablesRegExp
    RegExp used to find variable placeholder, filled by the constructor
top

Documentation generated on Thu, 09 Jan 2014 16:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.