function __construct($pageContent) { $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); parent::__construct(); }
/** * Constructor php5 */ function __construct($pageContent) { global $_LANGID; $this->_pageContent = $pageContent; $this->_objTpl = new \Cx\Core\Html\Sigma('.'); \Cx\Core\Csrf\Controller\Csrf::add_placeholder($this->_objTpl); $this->_langId = $_LANGID; parent::__construct(); }
/** * PHP5 constructor * * @global \Cx\Core\Html\Sigma * @global array */ function __construct() { global $objTemplate, $_ARRAYLANG; $this->_objTpl = new \Cx\Core\Html\Sigma(ASCMS_MODULE_PATH . '/Podcast/View/Template/Backend'); \Cx\Core\Csrf\Controller\Csrf::add_placeholder($this->_objTpl); $this->_objTpl->setErrorHandling(PEAR_ERROR_DIE); $this->_youTubeIdRegex = '#.*[\\?&]v=(' . $this->_youTubeAllowedCharacters . '{' . $this->_youTubeIdLength . '}).*#'; parent::__construct(); }