Parser

The parser allows for dynamic content to be integrated into portions of static
HTML.

These portions can be parsed recursively. This means that a portion's dynamic
content may also contain dynamic content. This means that a site design may
integrate page content, which in turn renders a dynamic form.

When portions are parsed, the parser writes static data to output until registered
tokens are encountered. The parser token handlers are then invoked.

Class Methods

The following methods can be invoked on instances of this class.

setup()

constructDOMNodes(mixed strHTML)

Returns a server DOM for a snippet

nodeExport(mixed mixedNodes)

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class