|
|
File: /home/mitarbeiter/sven/public_html/tmp/devcon_php_base/text/xml/template.class
dev/con php base - Text functions
xml_template
xml_template
Template scanner
|
public class xml_template
Template scanner
|
|
Direct known subclasses: xml_template_cached
|
|
|
|
|
Private Constant Summary |
XML_TEMPLATE_NS |
>>CMS << |
Warning: documentation is missing. |
XML_TEMPLATE_TAGS |
>>IF IF-NOT LINK LIST NAME TEMPLATE VALUE << |
Warning: documentation is missing. |
|
Public Method Details |
xml_template |
public void xml_template( )
|
|
Initialise the module.
|
Returns |
void |
|
exec |
public string exec( string $template, array &$results )
|
|
Scan and process template.
|
Parameter |
|
|
|
array |
&$results |
|
|
Data to use with tag handlers. |
|
Returns |
string |
|
&get_scanner |
public object xml_scanner &get_scanner( )
|
|
Get reference to scanner instance for use with extensions.
|
Returns |
object xml_scanner |
|
|
Private Method Details |
&fetch_tree |
private array &fetch_tree( string $template )
|
|
Create document tree from template.
|
Parameter |
|
string |
$template |
|
|
Template file name |
|
Returns |
array Document tree |
|
|
Private Field Details |
$_scanner |
private integer $_scanner
>> <<
|
|
$_results |
private unknown $_results
>> <<
|
|
$_result_stack |
private array $_result_stack
>>array () <<
|
|
|
Private Constant Details |
XML_TEMPLATE_NS
define( XML_TEMPLATE_NS, >>CMS<< )
Case: default: case sensitive
|
|
XML_TEMPLATE_TAGS
define( XML_TEMPLATE_TAGS, >>IF IF-NOT LINK LIST NAME TEMPLATE VALUE<< )
Case: default: case sensitive
|
|
|
|
|
PHPDoc 1.0beta |