![]() |
PHPDevShell 3.1.3-Stable
PHP OOP RAD Development Framework
|
Public Member Functions | |
| construct () | |
| cachePage () | |
| display ($load_view=false, $plugin=false) | |
| set ($var, $value) | |
| assign ($var, $value) | |
| fetch ($var, $value) | |
| show ($load_view=false, $plugin=false) | |
| doFetch ($load_view=false, $plugin=false) | |
| getTpl ($load_view=false, $plugin_override=false) | |
Data Fields | |
| $compile_dir = 'default' | |
| $cache_dir = 'default' | |
| $config_dir = 'default' | |
| $cache_lifetime = 'default' | |
| $view | |
Contains methods to handle templates.
| assign | ( | $ | var, |
| $ | value | ||
| ) |
Sets Smarty variables to be passed to it. Alias of assign.
| mixed | $var | |
| mixed | $value |
| cachePage | ( | ) |
When called, it will aggresively cache view.
| construct | ( | ) |
Construct required files.
Reimplemented from PHPDS_dependant.
| display | ( | $ | load_view = false, |
| $ | plugin = false |
||
| ) |
Loads the default or custom template (tpl) file and prints it out. Enter the template file for appropriate script here.
| string | The name of the template to be loaded |
| string | If another plugin is to be used in the directory. |
| doFetch | ( | $ | load_view = false, |
| $ | plugin = false |
||
| ) |
Loads the default or custom template (tpl) file and returns results. Enter the template file for appropriate script here.
| string | The name of the template to be loaded |
| string | If another plugin is to be used in the directory. |
| fetch | ( | $ | var, |
| $ | value | ||
| ) |
Loads the default or custom template (tpl) file and returns results. Enter the template file for appropriate script here.
| string | The name of the template to be loaded |
| string | If another plugin is to be used in the directory. |
| getTpl | ( | $ | load_view = false, |
| $ | plugin_override = false |
||
| ) |
Gets the correct location of a tpl file.
| string | $load_view | |
| string | $plugin_override | If another plugin is to be used in the directory. |
| set | ( | $ | var, |
| $ | value | ||
| ) |
Sets Smarty variables to be passed to it. Alias of assign.
| mixed | $var | |
| mixed | $value |
| show | ( | $ | load_view = false, |
| $ | plugin = false |
||
| ) |
Loads the default or custom template (tpl) file and prints it out. Enter the template file for appropriate script here.
| string | The name of the template to be loaded |
| string | If another plugin is to be used in the directory. |
| $cache_dir = 'default' |
| $cache_lifetime = 'default' |
| $compile_dir = 'default' |
| $config_dir = 'default' |
| $view |