Methods

prevent users from cloning instance

__clone() 
Inherited
inherited_from \Contenido_SmartyWrapper::__clone()

Exceptions

\cException if this function is called

constructor

__construct(array $aCfg, array $aClientCfg, $bSanityCheck) 

Parameters

$aCfg

array

&$aCfg contenido cfg array

$aClientCfg

array

&$aClientCfg contenido client cfg array of the specific client

$bSanityCheck

Exceptions

\cException
\cInvalidArgumentException if the given configurations are not an array

destructor set Contenido_SmartyWrapper::bSmartyInstanciated to false

__destruct() 
Inherited
inherited_from \Contenido_SmartyWrapper::__destruct()

static function to provide the smart object

getInstance(boolean $bResetTemplate) : \smarty
InheritedStatic
inherited_from \Contenido_SmartyWrapper::getInstance()

Parameters

$bResetTemplate

boolean

bResetTemplate true if the template values shall all be resetted

Exceptions

\cException if singleton has not been instantiated yet

Returns

\smarty

sets the default paths again

resetPaths() 
InheritedStatic
inherited_from \Contenido_SmartyWrapper::resetPaths()

 Properties

 

$bSmartyInstanciated : bool
Inherited
inherited_from \Contenido_SmartyWrapper::$$bSmartyInstanciated
 

$aDefaultPaths : array
Inherited
inherited_from \Contenido_SmartyWrapper::$$aDefaultPaths
 

$oSmarty : \Smarty
Inherited
inherited_from \Contenido_SmartyWrapper::$$oSmarty