Class template

Description

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


	
			
Method Summary
template __construct (string $filename, string $match)
mixed getplaceholders ([mixed $name = false])
mixed output ([bool $return = false])
mixed __get (string $name)
bool __set (string $name, string $content)
Methods
Constructor __construct (line 39)
  • access: public
template __construct (string $filename, string $match)
  • string $filename: The filename of the template.
  • string $match: A regular expression to find the placeholders. Use () to specify which part of the expression should be used to name the fields.
getplaceholders (line 64)
  • access: public
mixed getplaceholders ([mixed $name = false])
  • mixed $name
output (line 127)
  • access: public
mixed output ([bool $return = false])
  • bool $return: Set this to true to return the changed template instead of displaying it.
__get (line 109)
  • access: public
mixed __get (string $name)
  • string $name
__set (line 90)
  • access: public
bool __set (string $name, string $content)
  • string $name
  • string $content

Documentation generated on Sat, 07 Jun 2008 16:35:09 +0800 by phpDocumentor 1.4.1