protected function __construct() { parent::__construct(); $this->Profiler->sample('Engine Initialisation'); $this->displayProfilerReport = false; $this->_callback = NULL; }
/** * Overrides the default Symphony constructor to add XSRF checking */ protected function __construct() { parent::__construct(); // Ensure the request is legitimate. RE: #1874 if (self::isXSRFEnabled()) { XSRF::validateRequest(); } }
/** * The constructor for Administration calls the parent Symphony * constructor. * * @see core.Symphony#__construct() * @deprecated The constructor creates backwards compatible references * to `$this->Database`, `$this->ExtensionManager` and `$this->Configuration` * that act as alias for `Symphony::Database()`, `Symphony::ExtensionManager()` * and `Symphony::Configuration()`. These will be removed in the * next Symphony release */ protected function __construct() { parent::__construct(); // Need this part for backwards compatiblity $this->Database = Symphony::Database(); $this->Configuration = Symphony::Configuration(); $this->ExtensionManager = Symphony::ExtensionManager(); }
public function __construct() { parent::__construct(); self::$Headers = new DocumentHeaders(); self::$Document = new XMLDocument(); self::$Document->appendChild(self::$Document->createElement('data')); Widget::init(self::$Document); }
protected function __construct() { parent::__construct(); $this->Profiler->sample('Engine Initialisation'); // Need this part for backwards compatiblity $this->Database = Symphony::Database(); $this->Configuration = Symphony::Configuration(); $this->_callback = NULL; }
protected function __construct() { try { parent::__construct(); // We want to ignore the 'Headers Already Sent' exception } catch (\Exception $e) { // Should this not be a headers already sent exception, rethrow it if (!preg_match('@headers\\s+already\\s+sent@i', $e->getMessage())) { throw $e; } } // Set Shell extension specific handlers ExceptionHandler::initialise(); ErrorHandler::initialise(); $this->_args = new ArgumentIterator(); }
protected function __construct() { parent::__construct(); $this->Profiler->sample('Engine Initialisation'); $this->_env = array(); }
public function __construct() { parent::__construct(); self::$Headers = new DocumentHeaders(); }
/** * The constructor for Frontend calls the parent Symphony constructor. * * @see core.Symphony#__construct() */ protected function __construct() { parent::__construct(); $this->_env = array(); }
protected function __construct() { parent::__construct(); ShellExceptionHandler::initialise(); $this->Profiler->sample('Engine Initialisation (Shell Mode)'); }