|
|
File: /home/mitarbeiter/sven/public_html/tmp/devcon_php_base/text/xml/template_cached.class
dev/con php base - Text functions
xml_template_cached
xml_template | +-- xml_template_cached
Template wizard based on lib/xml_scanner.class.
|
public class xml_template_cached extends xml_template
Template wizard based on lib/xml_scanner.class.
Saves first scanning pass for a template by storing the document trees ina SQL table. Use this like xml_template.
|
|
|
|
|
|
|
Public Method Details |
xml_template_cached |
public void xml_template_cached( object dbctrl $db )
|
|
Initialise the object.
|
Parameter |
|
|
Returns |
void |
|
define_table |
public void define_table( object dbdepend &$def )
|
|
Set up dbdepend description for cache table.
|
Parameter |
|
|
Returns |
void |
|
&fetch_tree |
public array &fetch_tree( string $template )
|
|
Create document tree from template.
Warning: documentation is missing.
|
Parameter |
|
|
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_CACHED_TBL
define( XML_TEMPLATE_CACHED_TBL, >>template_cache<< )
Case: default: case sensitive
|
|
|
|
|
PHPDoc 1.0beta |