Class Tpl

Description
Direct descendents
Class Description
 class Listing
 class Text
 class ListItem
 class Block
 class Paragraph
Variable Summary
 mixed $contents
 mixed $id
 mixed $type
Method Summary
 Tpl Tpl ([ $type = 'Template'])
 void get_tpl_id ( $line)
 void line_to_html ( $line,  $indent)
 void line_to_xml ( $line,  $indent)
 void to_html ([ $indent = ''], [ $class = ''])
 void to_html_table ()
 void to_xml ([ $indent = ''])
Variables
mixed $contents (line 33)
mixed $id (line 31)
mixed $type (line 32)
Methods
Constructor Tpl (line 36)

Constructor

Tpl Tpl ([ $type = 'Template'])
  • $type
get_subtemplates (line 60)

Returns an array of ids of the templates that are referenced from the contents of this template.

void get_subtemplates ()
get_tpl_id (line 50)

If the given line is a reference to another template, returns the id of the referenced template, otherwise return empty string ''.

void get_tpl_id ( $line)
  • $line
line_to_html (line 96)
void line_to_html ( $line,  $indent)
  • $line
  • $indent

Redefined in descendants as:
line_to_xml (line 127)
void line_to_xml ( $line,  $indent)
  • $line
  • $indent

Redefined in descendants as:
to_html (line 72)
void to_html ([ $indent = ''], [ $class = ''])
  • $indent
  • $class

Redefined in descendants as:
to_html_table (line 134)

Debug function.

void to_html_table ()
to_xml (line 102)
void to_xml ([ $indent = ''])
  • $indent

Redefined in descendants as:

Documentation generated on Wed, 09 Jan 2008 08:26:51 +0100 by phpDocumentor 1.3.2