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

Element index for package HTML_Template_IT

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

a

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

b

$blockdata
in file IT.php, variable HTML_Template_IT::$blockdata
    Array with the parsed content of a block.
$blockinner
in file IT.php, variable HTML_Template_IT::$blockinner
    Array of inner blocks of a block.
$blocklist
in file IT.php, variable HTML_Template_IT::$blocklist
    Array of all blocks and their content.
$blocknameRegExp
in file IT.php, variable HTML_Template_IT::$blocknameRegExp
    RegExp matching a block in the template.
$blockRegExp
in file IT.php, variable HTML_Template_IT::$blockRegExp
    RegExp used to find blocks an their content, filled by the constructor.
$blockvariables
in file IT.php, variable HTML_Template_IT::$blockvariables
    Array of variables in a block.
blockExists
in file ITX.php, method HTML_Template_ITX::blockExists()
    Checks wheter a block exists.
BlockvariableExists
in file ITX.php, method HTML_Template_ITX::BlockvariableExists()
    Checks wheter a block variable exists.
buildBlockvariablelist
in file IT.php, method HTML_Template_IT::buildBlockvariablelist()
    Build a list of all variables within of a block
top

c

$callback
in file ITX.php, variable HTML_Template_ITX::$callback
    List of callback functions specified by the user.
$checkblocknameRegExp
in file ITX.php, variable HTML_Template_ITX::$checkblocknameRegExp
    RegExp used to test for a valid blockname.
$clearCache
in file IT.php, variable HTML_Template_IT::$clearCache
    Clear cache on get()?
$clearCacheOnParse
in file IT.php, variable HTML_Template_IT::$clearCacheOnParse
    Clear the variable cache on parse?
$closingDelimiter
in file IT.php, variable HTML_Template_IT::$closingDelimiter
    Last character of a variable placeholder ( {VARIABLE_}_ ).
$currentBlock
in file IT.php, variable HTML_Template_IT::$currentBlock
    Name of the current block.
top

e

$err
in file IT.php, variable HTML_Template_IT::$err
    Contains the error objects
$error_message_prefix
in file IT_Error.php, variable IT_Error::$error_message_prefix
    Prefix of all error messages.
errorMessage
in file IT.php, method HTML_Template_IT::errorMessage()
    Return a textual error message for a IT error code
top

f

$fileRoot
in file IT.php, variable HTML_Template_IT::$fileRoot
    Root directory for all file operations.
$flagBlocktrouble
in file IT.php, variable HTML_Template_IT::$flagBlocktrouble
    Internal flag indicating that a blockname was used multiple times.
$flagCacheTemplatefile
in file IT.php, variable HTML_Template_IT::$flagCacheTemplatefile
    EXPERIMENTAL! FIXME! Flag indication that a template gets cached.
$flagGlobalParsed
in file IT.php, variable HTML_Template_IT::$flagGlobalParsed
    Flag indicating that the global block was parsed.
$functionnameRegExp
in file ITX.php, variable HTML_Template_ITX::$functionnameRegExp
    Functionname RegExp.
$functionPrefix
in file ITX.php, variable HTML_Template_ITX::$functionPrefix
    Functionnameprefix used when searching function calls in the template.
$functionRegExp
in file ITX.php, variable HTML_Template_ITX::$functionRegExp
    RegExp used to grep function calls in the template.
$functions
in file ITX.php, variable HTML_Template_ITX::$functions
    List of functions found in the template.
findBlocks
in file IT.php, method HTML_Template_IT::findBlocks()
    Recusively builds a list of all blocks within the template.
findPlaceholderBlocks
in file ITX.php, method HTML_Template_ITX::findPlaceholderBlocks()
    Returns an array of blocknames where the given variable placeholder is used.
free
in file IT.php, method HTML_Template_IT::free()
    Clears all datafields of the object.
top

g

get
in file IT.php, method HTML_Template_IT::get()
    Returns a block with all replacements done.
getBlocklist
in file ITX.php, method HTML_Template_ITX::getBlocklist()
    Returns a list of blocknames in the template.
getBlockvariables
in file ITX.php, method HTML_Template_ITX::getBlockvariables()
    Returns a list of variables of a block.
getFile
in file IT.php, method HTML_Template_IT::getFile()
    Reads a file from disk and returns its content.
getFunctioncalls
in file ITX.php, method HTML_Template_ITX::getFunctioncalls()
    Returns a list of all function calls in the current template.
getGlobalvariables
in file IT.php, method HTML_Template_IT::getGlobalvariables()
    Returns a list of all global variables
top

h

$haltOnWarning
in file ITX.php, variable HTML_Template_ITX::$haltOnWarning
    Call die() on warning?
HTML_Template_IT
in file IT.php, class HTML_Template_IT
    Integrated Template - IT
HTML_Template_IT
in file IT.php, method HTML_Template_IT::HTML_Template_IT()
    Builds some complex regular expressions and optinally sets the file root directory.
HTML_Template_ITX
in file ITX.php, method HTML_Template_ITX::HTML_Template_ITX()
    Builds some complex regexps and calls the constructor of the parent class.
HTML_Template_ITX
in file ITX.php, class HTML_Template_ITX
    Integrated Template Extension - ITX
top

i

IT.php
procedural page IT.php
ITX.php
procedural page ITX.php
IT_Error.php
procedural page IT_Error.php
init
in file IT.php, method HTML_Template_IT::init()
    Clears all datafields of the object and rebuild the internal blocklist
init
in file ITX.php, method HTML_Template_ITX::init()
IT_BLOCK_DUPLICATE
in file IT.php, constant IT_BLOCK_DUPLICATE
IT_BLOCK_NOT_FOUND
in file IT.php, constant IT_BLOCK_NOT_FOUND
IT_Error
in file IT_Error.php, method IT_Error::IT_Error()
    Creates an cache error object.
IT_Error
in file IT_Error.php, class IT_Error
    IT[X] Error class
IT_ERROR
in file IT.php, constant IT_ERROR
IT_OK
in file IT.php, constant IT_OK
IT_TPL_NOT_FOUND
in file IT.php, constant IT_TPL_NOT_FOUND
IT_UNKNOWN_OPTION
in file IT.php, constant IT_UNKNOWN_OPTION
top

l

$lastTemplatefile
in file IT.php, variable HTML_Template_IT::$lastTemplatefile
    EXPERIMENTAL! FIXME!
loadTemplatefile
in file IT.php, method HTML_Template_IT::loadTemplatefile()
    Reads a template file from the disk.
top

o

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

p

$printWarning
in file ITX.php, variable HTML_Template_ITX::$printWarning
    Print warnings?
parse
in file IT.php, method HTML_Template_IT::parse()
    Parses the given block.
parseCurrentBlock
in file IT.php, method HTML_Template_IT::parseCurrentBlock()
    Parses the current block
performCallback
in file ITX.php, method HTML_Template_ITX::performCallback()
    Checks the list of function calls in the template and calls their callback function.
placeholderExists
in file ITX.php, method HTML_Template_ITX::placeholderExists()
    Returns the name of the (first) block that contains the specified placeholder.
top

r

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

s

sample_it.php
procedural page sample_it.php
sample_itx_addblockfile.php
procedural page sample_itx_addblockfile.php
setCallbackFunction
in file ITX.php, method HTML_Template_ITX::setCallbackFunction()
    Sets a callback function.
setCallbackFuntiontable
in file ITX.php, method HTML_Template_ITX::setCallbackFuntiontable()
    Sets the Callback function lookup table
setCurrentBlock
in file IT.php, method HTML_Template_IT::setCurrentBlock()
    Sets the name of the current block that is the block where variables are added.
setFunctioncontent
in file ITX.php, method HTML_Template_ITX::setFunctioncontent()
    Replaces a function call with the given replacement.
setOption
in file IT.php, method HTML_Template_IT::setOption()
    Sets the option for the template class
setOptions
in file IT.php, method HTML_Template_IT::setOptions()
    Sets the options for the template class
setRoot
in file IT.php, method HTML_Template_IT::setRoot()
    Sets the file root. The file root gets prefixed to all filenames passed to the object.
setTemplate
in file IT.php, method HTML_Template_IT::setTemplate()
    Sets the template.
setVariable
in file IT.php, method HTML_Template_IT::setVariable()
    Sets a variable value.
show
in file IT.php, method HTML_Template_IT::show()
    Print a certain block with all replacements done.
top

t

$template
in file IT.php, variable HTML_Template_IT::$template
    Content of the template.
$touchedBlocks
in file IT.php, variable HTML_Template_IT::$touchedBlocks
    List of blocks to preverse even if they are "empty".
touchBlock
in file IT.php, method HTML_Template_IT::touchBlock()
    Preserves an empty block even if removeEmptyBlocks is true.
top

v

$variableCache
in file IT.php, variable HTML_Template_IT::$variableCache
    Variable cache.
$variablenameRegExp
in file IT.php, variable HTML_Template_IT::$variablenameRegExp
    RegExp matching a variable placeholder in the template.
$variablesRegExp
in file IT.php, variable HTML_Template_IT::$variablesRegExp
    RegExp used to find variable placeholder, filled by the constructor.
top

w

$warn
in file ITX.php, variable HTML_Template_ITX::$warn
    Array with all warnings.
top

Documentation generated on Mon, 11 Mar 2019 14:43:06 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.