wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
View Class Reference
+ 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)
 

Detailed Description

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.

Id:
class.View.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 31 of file class.View.php.

Member Function Documentation

View::trigger_error (   $error_msg,
  $error_type = E_USER_WARNING 
)

Reimplementation of Smarty's error handling method. Delegates error handling to WCMFException::throwEx.

See Also
Smarty::trigger_error()

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

See Also
Smarty::clear_all_cache()

Definition at line 96 of file class.View.php.

View::clearCache (   $tplFile = null,
  $cacheId = null 
)

Clear parts of cache

See Also
Smarty::clear_cache()

Definition at line 106 of file class.View.php.

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.

See Also
Smarty::is_cached()

Definition at line 117 of file class.View.php.


The documentation for this class was generated from the following file: