| [ Index ] |
PHP Cross Reference of Web Application Component Toolkit |
[Source view] [Print]
(no description)
| Version: | $Id: treebuilder.inc.php,v 1.51 2004/11/18 05:05:25 jeffmoore Exp $ |
| File Size: | 303 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
treebuilder:: (11 methods):
treebuilder()
openbranch()
createcomponent()
createattributeexpression()
createcompoundattribute()
buildattributes()
checkserverid()
addcontent()
addtextnode()
addprocessinginstructionnode()
closebranch()
Class: treebuilder - X-Ref
Acts on the ComponentTree in response to events within| treebuilder(&$ComponentRoot) X-Ref |
| Constructs TreeBuilder, setting up expression parsers access: public |
| openbranch(&$TagInfo, $tag, $attrs, $isEmpty, &$Locator) X-Ref |
| Prepares the tree to accept a new tag component access: public param: string class name to create component with param: string XML tag name of component param: array attributes for tag param: boolean whether the tag has contents return: void |
| createcomponent(&$TagInfo, $tag, &$Locator) X-Ref |
| Create a new tag component access: private param: string class name to create component with param: string XML tag name of component return: void |
| createattributeexpression($name, $expression) X-Ref |
| No description |
| createcompoundattribute($name, $value) X-Ref |
| No description |
| buildattributes($Attributes) X-Ref |
| Create AttributeNodes or ArtributeVariableReferences access: private param: array attributes found in tag return: void |
| checkserverid(&$Component) X-Ref |
| Make sure we never have a duplicate Server Id in the component tree we build. Uses GetComponentTree() to fetch current instance of ComponentTree, where list of used tag ids are stored access: private param: object current component return: void |
| addcontent(&$Locator, $text) X-Ref |
| Handles the CDATA content within any tag access: public param: string content of tag param: boolean whether parsing of text is currently forbidden return: void |
| addtextnode($text) X-Ref |
| Creates TextNodes for plain text access: public param: string text to create node for return: void |
| addprocessinginstructionnode($target, $instruction) X-Ref |
| Deals with XML processing instructions. PHP instructions are ignored. access: public param: string target processor param: string instruction return: void |
| closebranch($hasClosingTag) X-Ref |
| Finishes a branch in the component tree, restoring control to the ParentComponent access: public param: boolean whether current component has a closing tag return: void |
| Generated: Sun Nov 28 19:36:09 2004 | Cross-referenced by PHPXref 0.5 |