|
ultimix
|
Public Member Functions | |
| __construct () | |
| add_stylesheets ($File) | |
| parse ($File, $Variable, $Value) | |
| extract_template_name () | |
| process ($File, $PageName, &$Changed) | |
| get_placeholder_parameters ($File, $PurePlaceHolderName) | |
| compile_string ($File, $Str) | |
| cleanup_placeholders () | |
| cleanup ($File, $PageName) | |
| get_template ($File= '') | |
| set_template ($theTemplate) | |
Data Fields | |
| $Template = false | |
| $MacroSettings = false | |
| $CachedMultyFS = false | |
| $Lang = false | |
| $Security = false | |
| $Settings = false | |
| $String = false | |
| $Tags = false | |
Class of the template.
Definition at line 26 of file base_template.php.
| __construct | ( | ) |
Constructor.
Definition at line 68 of file base_template.php.
| add_stylesheets | ( | $File | ) |
Function adds teplate's stylesheets.
| $File | - Real path to the template script. |
| Exception | An exception of this type is thrown. |
Definition at line 105 of file base_template.php.
| cleanup | ( | $File, | |
| $PageName | |||
| ) |
Function clears all placeholder in the HTML code of the template.
| $File | - Real path to the template script. |
| $PageName | - Page name for precompilation. |
| Exception | An exception of this type is thrown. |
Definition at line 676 of file base_template.php.
| cleanup_placeholders | ( | ) |
Function clears placeholders.
| Exception | An exception of this type is thrown. |
Definition at line 622 of file base_template.php.
| compile_string | ( | $File, | |
| $Str | |||
| ) |
Function clears all placeholder in the HTML code of the template.
| $File | - Real path to the template script. |
| $Str | - Processing string. |
| Exception | An exception of this type is thrown. |
Definition at line 489 of file base_template.php.
| extract_template_name | ( | ) |
Function tries override template.
| Exception | An exception of this type is thrown. |
Definition at line 192 of file base_template.php.
| get_placeholder_parameters | ( | $File, | |
| $PurePlaceHolderName | |||
| ) |
Function returns Real placeholder's name.
| $File | - Real path to the template script. |
| $PurePlaceHolderName | - Name of the placeholder. |
| Exception | An exception of this type is thrown. |
Definition at line 386 of file base_template.php.
| get_template | ( | $File = '' | ) |
Function returns HTML code of the template.
| $File | - Real path to the template script. |
| Exception | An exception of this type is thrown. |
Definition at line 723 of file base_template.php.
| parse | ( | $File, | |
| $Variable, | |||
| $Value | |||
| ) |
Function parse variable with name $Variable.
| $File | - Real path to the template script. |
| $Variable | - name of the template variable. |
| $Value | - value to place in the template. |
| Exception | An exception of this type is thrown. |
Definition at line 157 of file base_template.php.
| process | ( | $File, | |
| $PageName, | |||
| & | $Changed | ||
| ) |
Function precompiles template.
| $File | - Real path to the template script. |
| $PageName | - Page name for precompilation. |
| $Changed | - true if any of the page's elements was compiled. |
| Exception | An exception of this type is thrown. |
Definition at line 338 of file base_template.php.
| set_template | ( | $theTemplate | ) |
Function sets HTML code of the template.
| $theTemplate | - template's HTML code. |
Definition at line 757 of file base_template.php.
| $CachedMultyFS = false |
Definition at line 51 of file base_template.php.
| $Lang = false |
Definition at line 52 of file base_template.php.
| $MacroSettings = false |
Cached objects.
Definition at line 50 of file base_template.php.
| $Security = false |
Definition at line 53 of file base_template.php.
| $Settings = false |
Definition at line 54 of file base_template.php.
| $String = false |
Definition at line 55 of file base_template.php.
| $Tags = false |
Definition at line 56 of file base_template.php.
| $Template = false |
Template content.
Definition at line 38 of file base_template.php.