/** * Constructor * * @global \Cx\Core\Html\Sigma * @global array */ public function __construct() { parent::__construct(); $this->_objTpl = new \Cx\Core\Html\Sigma(ASCMS_CORE_MODULE_PATH . '/Access/View/Template/Backend'); \Cx\Core\Csrf\Controller\Csrf::add_placeholder($this->_objTpl); $this->_objTpl->setErrorHandling(PEAR_ERROR_DIE); }
public function __construct($pageContent) { parent::__construct(); $this->_objTpl = new \Cx\Core\Html\Sigma('.'); \Cx\Core\Csrf\Controller\Csrf::add_placeholder($this->_objTpl); $this->_objTpl->setErrorHandling(PEAR_ERROR_DIE); $this->_objTpl->setTemplate($pageContent); }
public function __construct() { global $objTemplate; parent::__construct(); $this->_objTpl =& $objTemplate; }