Private Method Details |
set_path |
|
private void set_path( string $path )
|
| |
Set the path to the template files.
|
| Parameter |
|
| string |
$path |
|
|
path to template files |
|
| Returns |
void |
|
set |
|
private void set( string $name, mixed $value )
|
| |
Set a template variable.
|
| Parameter |
|
| string |
$name |
|
|
name of the variable to set |
|
|
| mixed |
$value |
|
|
the value of the variable |
|
| Returns |
void |
|
set_vars |
|
private void set_vars( array $vars, [ boolean $clear ] )
|
| |
Set a bunch of variables at once using an associative array.
|
| Parameter |
|
| array |
$vars |
|
|
array of vars to set |
|
|
| boolean |
$clear |
= >>false<< |
|
whether to completely overwrite the existing vars |
|
| Returns |
void |
|
fetch |
|
private string fetch( string $file_name )
|
| |
Open, parse, and return the template file.
|
| Parameter |
|
| string |
$file_name |
|
|
the template file name |
|
| Returns |
string |
|
set_tplfile |
|
private void set_tplfile( $filename )
|
| |
Warning: documentation is missing.
|
| Parameter |
|
|
$filename |
|
|
Warning: documentation is missing. |
|
| Returns |
void |
|
def_tplfile |
|
private void def_tplfile( $filename )
|
| |
Vaikimisi template fail - juhul kui pole juba väärtustatud
|
| Parameter |
|
|
$filename |
|
|
Warning: documentation is missing. |
|
| Returns |
void |
|
set_parent |
|
private void set_parent( &$parent )
|
| |
Template :: set_parent()
Vajadusel võivad järglased siin teostada mingeid tegevusi, kui on näiteks mingi inf vaja parentile edasi anda, või ennast kohandada kuidagi parentiga.
|
| Parameter |
|
|
&$parent |
|
|
Warning: documentation is missing. |
|
| Returns |
void |
|
init |
|
private void init( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
set_glue |
|
private void set_glue( $name, $value )
|
| |
Warning: documentation is missing.
|
| Parameter |
|
|
$name |
|
|
Warning: documentation is missing. |
|
|
|
$value |
|
|
Warning: documentation is missing. |
|
| Returns |
void |
|
render |
|
private void render( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
set_template |
|
private void set_template( $name, &$template )
|
| |
Warning: documentation is missing.
|
| Parameter |
|
|
$name |
|
|
Warning: documentation is missing. |
|
|
|
&$template |
|
|
Warning: documentation is missing. |
|
| Returns |
void |
|
add_template |
|
private void add_template( $name, &$template )
|
| |
Warning: documentation is missing.
|
| Parameter |
|
|
$name |
|
|
Warning: documentation is missing. |
|
|
|
&$template |
|
|
Warning: documentation is missing. |
|
| Returns |
void |
|
set_over_template |
|
private void set_over_template( &$template )
|
| |
Warning: documentation is missing.
|
| Parameter |
|
|
&$template |
|
|
Warning: documentation is missing. |
|
| Returns |
void |
|