HTML_Template_Sigma

Содержание
Introduction - template syntax -- Creating and editing templates
Introduction - cache -- How Sigma caches the "prepared" templates
constructor HTML_Template_Sigma() -- constructor
addBlock() -- Adds a block to the template
addBlockfile() -- Adds a block contained in the file to the template
blockExists() -- Checks if the block exists in the template
clearVariables() -- Clears the variables
errorMessage() -- Returns a textual error message for an error code
get() -- Returns a block with all replacements done.
getBlockList() -- Returns a list of blocks within a template.
getCurrentBlock() -- Returns the current block name
getPlaceholderList() -- Returns a list of placeholders within a block.
hideBlock() -- Hides the block even if it is not "empty".
loadTemplateFile() -- Loads a template file.
parse() -- Parses the given block.
parseCurrentBlock() -- Parses the current block
placeholderExists() -- Checks whether the placeholder exists
replaceBlock() -- Replaces an existing block with new content.
replaceBlockfile() -- Replaces an existing block with new content from a file.
setCacheRoot() -- Sets the directory to cache "prepared" templates in.
setCallbackFunction() -- Sets a callback function.
setCurrentBlock() -- Sets the name of the current block.
setGlobalVariable() -- Sets a global variable value.
setOption() -- Sets the option for the template class
setRoot() -- Sets the file root for templates.
setTemplate() -- Sets the template.
setVariable() -- Sets a variable value.
show() -- Prints a block with all replacements done.
touchBlock() -- Preserves the block even if empty blocks should be removed.

HTML_Template_Sigma: implementation of Integrated Templates API with template 'compilation' added.

Class Trees for HTML_Template_Sigma()


HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà