Class template

Description

Located in /template.class.php (line 16)


	
			
Method Summary
template __construct (string $filename, [string $match = '@((<!--)|({)) *tpl_(.*) *(?(3)}|(?(2)-->))@U'], [int $index = 4])
mixed output ([bool $return = false])
mixed __get (string $name)
bool __set (string $name, string $content)
Methods
Constructor __construct (line 44)

Constructor

  • access: public
template __construct (string $filename, [string $match = '@((<!--)|({)) *tpl_(.*) *(?(3)}|(?(2)-->))@U'], [int $index = 4])
  • string $filename
  • string $match
  • int $index
output (line 108)

Output the template.

  • access: public
mixed output ([bool $return = false])
  • bool $return
__get (line 89)

Get the content of a placeholder.

  • access: public
mixed __get (string $name)
  • string $name
__set (line 69)

Set the content of a placeholder.

  • access: public
bool __set (string $name, string $content)
  • string $name
  • string $content

Documentation generated on Thu, 12 Mar 2009 16:30:28 +0800 by phpDocumentor 1.4.2