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

Class: CompilerDirectiveTag

Source Location: /framework/template/compiler/compilerdirective.inc.php

http://wact.sourceforge.net/index.php/CompilerDirectiveTag

Class Overview

CompilerComponent
   |
   --CompilerDirectiveTag

Compiler directive tags do not have a corresponding runtime server Component, but they do render their contents into the compiled template.

Child classes:

ComponentTree
The root compile time component in the template hierarchy.
PHPNode
Used to write literal PHP.
TextNode
Used to write literal text from the source template to the compiled template
CoreCommentTag
Prevents a section of the template from being parsed, removing the contents
CoreDefaultTag
Allows a default action to take place at runtime, should a DataSource property have failed to be populated
CoreIncludeTag
Include another template into the current template
CoreLiteralTag
Prevents a section of the template from being parsed, placing the contents directly into the compiled template
CoreOptionalTag
Defines an action take, should a DataSource property have been set at runtime.
CoreOutputTag
Defines an action take, should a DataSource property have been set at runtime.
CoreWrapTag
Merges the current template with a wrapper template, the current template being inserted into the wrapper at the point where the wrap tag exists.
DevDataSpaceTag
Dumps a runtime dataspace for display using print_r or var_dump
DevSourceTag
Displays the source code written into the compiled template, for the
DevTreeTag
Dumps the component tree into the compiled template
EncodeJavascriptTag
JavaScript-encodes the contents
HtmlLinkTag
Compiler directive tags do not have a corresponding runtime server Component, but they do render their contents into the compiled template.
ListItemTag
Compile time component for items (rows) in the list
PageFirstTag
Compile time component for "back to start" element of pager.
PageLastTag
Compile time component for "go to end" element of pager.
PageListTag
Compile time component for the iterable section of the pager
PageNextTag
Compile time component for "next" element of pager
PagePrevTag
Compile time component for "prev" element of pager

Inherited Variables

Inherited Methods

Class: CompilerComponent

CompilerComponent::addChild()
Adds a child component, by reference, to the array of children
CompilerComponent::addChildAttribute()
Sets the XML attributes for this component (as extracted from the template)
CompilerComponent::CheckNestingLevel()
Used to perform some error checking on the source template, such as examining the tag hierarchy and triggering an error if a tag is incorrectly nested.
CompilerComponent::findChild()
Returns a child component, given it's ServerID
CompilerComponent::findChildByClass()
Returns a child component, given it's compile time component class
CompilerComponent::findChildrenByClass()
Returns an array of child components, given it's compile time component class
CompilerComponent::findImmediateChildByClass()
Returns a child component, given it's compile time component class
CompilerComponent::findParentByClass()
Returns a parent component, recursively searching parents by their compile time component class name
CompilerComponent::findSelfOrParentByClass()
Extends findParentByClass to begin search at the current component then moving on to its parent, if there's no match.
CompilerComponent::generate()
Calls the local preGenerate(), generateContents() and postGenerate() methods.
CompilerComponent::generateAttributeList()
CompilerComponent::generateConstructor()
Calls the generateConstructor() method of each child component
CompilerComponent::generateContents()
Calls the generate() method of each child component
CompilerComponent::generateDynamicAttributeList()
CompilerComponent::getAttribute()
Returns the value of an XML attribute (as extracted from template) or NULL if attribute not found
CompilerComponent::getAttributesAsArray()
Returns an array containing the attributes of this component that can be resolved at compile time.
CompilerComponent::getBoolAttribute()
Return the value of a boolean attribute as a boolean.
CompilerComponent::getClientId()
Get the value of the XML id attribute
CompilerComponent::getComponentRefCode()
Gets the component reference code of the parent.
CompilerComponent::getDataSource()
If a parent compile time component exists, returns the value of the parent's getDataSource() method, which will be a concrete implementation
CompilerComponent::getDataSourceRefCode()
Gets the DataSource reference code of the parent
CompilerComponent::getLastChild()
Returns the last child added to a component
CompilerComponent::getParentDataSource()
Gets the parent in the DataSource, if one exists
CompilerComponent::getProperty()
CompilerComponent::getRootDataSource()
Gets a root DataSource
CompilerComponent::getServerId()
Returns the identifying server ID.
CompilerComponent::hasAttribute()
Check to see whether a named attribute exists
CompilerComponent::isDataSource()
CompilerComponent::postGenerate()
Post generation method, calls the WrappingComponents generateWrapperPostfix() method if the component exists
CompilerComponent::preGenerate()
Pre generation method, calls the WrappingComponents generateWrapperPrefix() method if the component exists
CompilerComponent::prepare()
Calls the prepare method for each child component, which will override
CompilerComponent::preParse()
Provides instruction to the template parser, while parsing is in
CompilerComponent::registerProperty()
register a property with this component. Currently, this component must be a database to support properties.
CompilerComponent::registerWrapper()
Set a wrapping component for this component
CompilerComponent::removeAttribute()
Remove an attribute from the list
CompilerComponent::removeChild()
Removes a child component, given it's ServerID
CompilerComponent::setAttribute()
Sets an attribute

Class Details

Compiler directive tags do not have a corresponding runtime server Component, but they do render their contents into the compiled template.
abstract:  
access:  public
see:  http://wact.sourceforge.net/index.php/CompilerDirectiveTag
WACT: Copyright 2003 Procata, Inc. Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
Documentation generated on Sun, 28 Nov 2004 19:44:45 -0800 by phpDocumentor 1.2.3