public init ( $config ) |
public function init($config)
{
Prado::trace("Initializing TPageService", '\\Prado\\Web\\Services\\TPageService');
$pageConfig = $this->loadPageConfig($config);
$this->initPageContext($pageConfig);
$this->_initialized = true;
}
public function init($config) { if ($this->getApplication()->getMode() === TApplicationMode::Performance || $this->getApplication()->getMode() === TApplicationMode::Normal) { throw new TInvalidOperationException("You should not use Prado WSAT in any of the production modes."); } if (empty($this->_pass)) { throw new TConfigurationException("You need to specify the Password attribute."); } $this->setDefaultPage("TWsatHome"); $this->_startThemeManager(); parent::init($config); }