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.
mixed
getplaceholders
([mixed $name = false])
mixed
output
([bool $return = false])
-
bool
$return: Set this to true to return the changed template instead of displaying it.
mixed
__get
(string $name)
bool
__set
(string $name, string $content)
-
string
$name
-
string
$content