Extends base template class adding buffering capability and some utility methods
Located in /core/template/DocumentElement.class.php (line 43)
PHP2Go | --Component | --Template | --DocumentElement
Content buffer
Inherited from Template
Template::$blockIndex
Template::$cacheOptions
Template::$ConfigLoader
Template::$currentBlock
Template::$currentBlockName
Template::$Parser
Template::$tplCapture
Template::$tplComponents
Template::$tplConfigVars
Template::$tplContent
Template::$tplGlobalVars
Template::$tplInternalVars
Template::$tplMTime
Inherited from Component
Component::$attributes
Component::$preRendered
Factory method. Builds an instance of the class based on 2 arguments: $src and $type
Populates a template variable based on the first cell of the results of a database query or statement
Apply the contents of a data set in the template
This method expects 3 names of dynamic blocks. The first is the container block, which will be created if the data set is not empty. The second is the empty block, which will be created for empty data sets. The third and last block will be repeated for all records of the data set.
Example:
Generates instances of a dynamic block based on the results of a database query or statement
Each row in the result set will represent a block instance, and its fields will be assigned as local variables of the block.
Get current content buffer
Overrides parent class implementation to run the parser with the contents of the buffer
Adds content or a file in the element's buffer
You can fill the element's buffer until parse() is called. After the template is parsed, no content can be added anymore.
Inherited From Template
Template::Template()
Template::addModifier()
Template::assign()
Template::assignByRef()
Template::createAndAssign()
Template::createBlock()
Template::display()
Template::getContent()
Template::getCurrentBlockName()
Template::getDefinedBlocks()
Template::getDefinedVariables()
Template::getValue()
Template::globalAssign()
Template::includeAssign()
Template::isBlockDefined()
Template::isPrepared()
Template::isVariableDefined()
Template::onPreRender()
Template::parse()
Template::resetTemplate()
Template::setCacheProperties()
Template::setCurrentBlock()
Template::setTagDelimiter()
Template::_assign()
Template::_getFullPath()
Template::_getLastInstance()
Template::_getLoopItem()
Template::_getLoopTotal()
Template::_globalAssign()
Template::_initializeContent()
Template::_loadConfigVars()
Template::_loadGlobalSettings()
Template::_popStack()
Template::_pushStack()
Inherited From Component
Component::Component()
Component::display()
Component::getAttribute()
Component::getContent()
Component::hasAttribute()
Component::onPreRender()
Component::setAttribute()
Component::__destruct()
Component::__toString()
Inherited From PHP2Go
PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()
Documentation generated on Sun, 07 Oct 2007 19:23:26 -0300 by phpDocumentor 1.3.2