메소드 |
설명 |
|
__construct ( ) |
Constructor for RawPHPEngine |
|
__get ( $key ) |
Tries to retrieve a variable from the internal array engine_vars. |
|
__isset ( $key ) |
Detects if a variable is assigned to the template engine for use in
constructing the template's output. |
|
__set ( $key, $value ) |
Assigns a variable to the template engine for use in
constructing the template's output. |
|
__unset ( $key ) |
Unassigns a variable to the template engine. |
|
add_template ( string $name, string $file, boolean $replace = false ) |
Adds and/or replaces a previously queued template in the available template listing |
|
append ( $key, $value = '' ) |
Appends to an existing variable more values |
|
assign ( $key, $value = '' ) |
Assigns a variable to the template engine for use in
constructing the template's output. |
|
assigned ( string $key ) |
Detects if a variable is assigned to the template engine for use in
constructing the template's output. |
|
clear ( ) |
Clear all of the assigned template variables |
|
display ( $template ) |
A function which outputs the result of a transposed
template to the output stream |
|
fetch ( string $template ) |
A function which returns the content of the transposed
template as a string |
|
queue_dirs ( string | array $dirs ) |
Search directories for templates to use
Templates are always taken from the first directory they're found in. |
|
template_exists ( string $template ) |
Returns the existance of the specified template name |
|