Base class for patTemplate readers
This class is able to parse patTemplate tags from any string you hand it over It will emulate some kind of SAX parsing by calling start-, end- and CData-handlers.
Located in /includes/patTemplate/patTemplate/Reader.php (line 70)
patTemplate_Module | --patTemplate_Reader
Class | Description |
---|---|
patTemplate_Reader_File | patTemplate Reader that reads from a file |
patTemplate_Reader_IT | patTemplate reader that reads HTML_Template_IT files |
patTemplate_Reader_String | patTemplate Reader that reads from a string |
path to the template
templates that have been found
reference to the patTemplate object that instantiated the module
Inherited from patTemplate_Module
patTemplate_Module::$_name
patTemplate_Module::$_params
add an alias for a function
get the current input
returns, whether the reader currently is in use
load template from any input
If the a template is loaded, the content will not get analyzed but the whole content is returned as a string.
read templates from any input
set options
set the root attributes
set a reference to the patTemplate object that instantiated the reader
tests whether the reader should maintain backwards compatibility
If enabled, you can still use 'default', 'empty', 'odd' and 'even' instead of '__default', '__empty', etc.
This will be disabled by default in future versions.
Inherited From patTemplate_Module
patTemplate_Module::getName()
patTemplate_Module::getParam()
patTemplate_Module::setParams()
Documentation generated on Fri, 4 Mar 2005 13:57:10 +1000 by phpDocumentor 1.3.0RC3