Methods

prevent users from cloning instance

__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() 

static function to provide the smart object

getInstance(boolean $bResetTemplate) : \smarty
Static

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() 
Static

 Properties

 

$bSmartyInstanciated : bool
 

$aDefaultPaths : array
 

$oSmarty : \Smarty