|
wCMF
3.6
|
Inheritance diagram for View:Public Member Functions | |
| trigger_error ($error_msg, $error_type=E_USER_WARNING) | |
| setup () | |
| clearAllCache () | |
| clearCache ($tplFile=null, $cacheId=null) | |
| isCached ($tplFile, $cacheId=null) | |
View is used by Controller to handle the view presentation in MVC pattern. View is a subclass of Smarty that is customized for use with the wCMF.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 31 of file class.View.php.
| View::trigger_error | ( | $error_msg, | |
$error_type = E_USER_WARNING |
|||
| ) |
Reimplementation of Smarty's error handling method. Delegates error handling to WCMFException::throwEx.
Definition at line 38 of file class.View.php.
References WCMFException\throwEx().
Here is the call graph for this function:| View::setup | ( | ) |
Setup the View for display (set directories, attributes, ...).
Definition at line 46 of file class.View.php.
References InifileParser\getInstance(), FileUtil\mkdirRec(), and WCMFException\throwEx().
Here is the call graph for this function:| View::clearAllCache | ( | ) |
Static cache control methods Clear the complete cache
Definition at line 96 of file class.View.php.
| View::clearCache | ( | $tplFile = null, |
|
$cacheId = null |
|||
| ) |
| View::isCached | ( | $tplFile, | |
$cacheId = null |
|||
| ) |
Check if a view is cached. Returns also false, if caching is disabled to make sure that views get regenerated every time when expected.
Definition at line 117 of file class.View.php.