HTML_Template_IT
[
class tree: HTML_Template_IT
] [
index: HTML_Template_IT
] [
all elements
]
Packages:
HTML_Template_IT
IT[X]
Classes:
HTML_Template_IT
Files:
IT.php
sample_it.php
Element index for package HTML_Template_IT
[
b
] [
c
] [
e
] [
f
] [
g
] [
h
] [
i
] [
l
] [
o
] [
p
] [
r
] [
s
] [
t
] [
v
]
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.
buildBlockvariablelist
in file IT.php, method
HTML_Template_IT::buildBlockvariablelist()
Build a list of all variables within of a block
top
c
$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
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.
findBlocks
in file IT.php, method
HTML_Template_IT::findBlocks()
Recusively builds a list of all blocks within the template.
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.
getFile
in file IT.php, method
HTML_Template_IT::getFile()
Reads a file from disk and returns its content.
getGlobalvariables
in file IT.php, method
HTML_Template_IT::getGlobalvariables()
Returns a list of all global variables
top
h
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_IT
in file IT.php, class
HTML_Template_IT
Integrated Template - IT
top
i
IT.php
procedural page
IT.php
init
in file IT.php, method
HTML_Template_IT::init()
Clears all datafields of the object and rebuild the internal blocklist
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.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
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
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.
top
s
sample_it.php
procedural page
sample_it.php
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.
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
Documentation generated on Mon, 11 Mar 2019 14:11:05 -0400 by
phpDocumentor 1.4.4
. PEAR Logo Copyright © PHP Group 2004.