[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/wact/src/compiler/compile_tree_node/ -> WactCompileTreeNode.class.php (summary)

(no description)

File Size: 382 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WactCompileTreeNode:: (35 methods):
  __construct()
  raiseCompilerError()
  getLocationInTemplate()
  getTemplateFile()
  getTemplateLine()
  getServerId()
  addChild()
  removeChild()
  getChildren()
  removeChildren()
  getChild()
  findChild()
  findUpChild()
  findChildByClass()
  findChildrenByClass()
  findImmediateChildByClass()
  findImmediateChildrenByClass()
  registerProperty()
  getProperty()
  findParentByClass()
  findSelfOrParentByClass()
  prepare()
  preParse()
  isDataSource()
  getDataSource()
  getParentDataSource()
  getRootDataSource()
  getComponentRefCode()
  generateConstructor()
  generate()
  generateContent()
  generateChildren()
  setServerId()
  generateNewServerId()
  checkChildrenServerIds()


Class: WactCompileTreeNode  - X-Ref

class WactCompileTreeNode.

__construct($location = null)   X-Ref


raiseCompilerError($error, $vars = array()   X-Ref
No description

getLocationInTemplate()   X-Ref
No description

getTemplateFile()   X-Ref
No description

getTemplateLine()   X-Ref
No description

getServerId()   X-Ref
No description

addChild($child)   X-Ref
No description

removeChild($ServerId)   X-Ref
No description

getChildren()   X-Ref
No description

removeChildren()   X-Ref
No description

getChild($ServerId)   X-Ref
No description

findChild($ServerId)   X-Ref
No description

findUpChild($ServerId)   X-Ref
Sometimes it is useful to find treeNode located in another tree branch, eg:
<code>
<core:BLOCK><some_tag server_id='tag1'></core:BLOCK>
<core:BLOCK><some_tag server_id='tag2'></core:BLOCK>
</code>
in this case we can find tag1 tag from tag2 tag using findUpChild.

param: string needed tag ServerId
return: object|false

findChildByClass($class)   X-Ref
No description

findChildrenByClass($class)   X-Ref
No description

findImmediateChildByClass($class)   X-Ref
No description

findImmediateChildrenByClass($class)   X-Ref
No description

registerProperty($name, $property)   X-Ref
No description

getProperty($name)   X-Ref
No description

findParentByClass($class)   X-Ref
No description

findSelfOrParentByClass($class)   X-Ref
No description

prepare()   X-Ref
No description

preParse()   X-Ref
Used to perform error checking on template related to the syntax of
the concrete tag implementing this method.


isDataSource()   X-Ref
No description

getDataSource()   X-Ref
If a parent compile time component exists, returns the value of the
parent's getDataSource() method, which will be a concrete implementation


getParentDataSource()   X-Ref
Gets the parent in the DataSource, if one exists


getRootDataSource()   X-Ref
Returns a root DataSource


getComponentRefCode()   X-Ref
Gets the component reference code of the parent. This is a PHP string
which is used in the compiled template to reference the component in
the hierarchy at runtime


generateConstructor($code_writer)   X-Ref
No description

generate($code_writer)   X-Ref
No description

generateContent($code_writer)   X-Ref
No description

generateChildren($code_writer)   X-Ref
No description

setServerId($id)   X-Ref
No description

generateNewServerId()   X-Ref
No description

checkChildrenServerIds()   X-Ref
Checks that each immediate child of the current component has a unique ID
amongst its siblings.




Generated: Sat Aug 30 04:38:32 2008 Cross-referenced by PHPXref 0.7