Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

HTML_Template_Sigma

Table of Contents
Introduction - template syntax -- Creating and editing templates
Introduction - cache -- How Sigma caches the "prepared" templates
constructor HTML_Template_Sigma::HTML_Template_Sigma() -- constructor
HTML_Template_Sigma::addBlock() -- Adds a block to the template
HTML_Template_Sigma::addBlockfile() -- Adds a block contained in the file to the template
HTML_Template_Sigma::blockExists() -- Checks if the block exists in the template
HTML_Template_Sigma::errorMessage() -- Returns a textual error message for an error code
HTML_Template_Sigma::get() -- Returns a block with all replacements done.
HTML_Template_Sigma::getBlockList() -- Returns a list of blocks within a template.
HTML_Template_Sigma::getCurrentBlock() -- Returns the current block name
HTML_Template_Sigma::getPlaceholderList() -- Returns a list of placeholders within a block.
HTML_Template_Sigma::hideBlock() -- Hides the block even if it is not "empty".
HTML_Template_Sigma::loadTemplateFile() -- Loads a template file.
HTML_Template_Sigma::parse() -- Parses the given block.
HTML_Template_Sigma::parseCurrentBlock() -- Parses the current block
HTML_Template_Sigma::placeholderExists() -- Checks whether the placeholder exists
HTML_Template_Sigma::replaceBlock() -- Replaces an existing block with new content.
HTML_Template_Sigma::replaceBlockfile() -- Replaces an existing block with new content from a file.
HTML_Template_Sigma::setCacheRoot() -- Sets the directory to cache "prepared" templates in.
HTML_Template_Sigma::setCallbackFunction() -- Sets a callback function.
HTML_Template_Sigma::setCurrentBlock() -- Sets the name of the current block.
HTML_Template_Sigma::setGlobalVariable() -- Sets a global variable value.
HTML_Template_Sigma::setOption() -- Sets the option for the template class
HTML_Template_Sigma::setRoot() -- Sets the file root for templates.
HTML_Template_Sigma::setTemplate() -- Sets the template.
HTML_Template_Sigma::setVariable() -- Sets a variable value.
HTML_Template_Sigma::show() -- Prints a block with all replacements done.
HTML_Template_Sigma::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()

  • PEAR

    • HTML_Template_Sigma

Who's Online
Guest Users: 10
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General