protected function onConstruct() { $controller = $this->web->getController(); if (empty($controller)) { $controller = Router::ROOT; } if (!isset($this->doc) && !$this->doc instanceof DocMen) { $this->doc = DocMen::getInstance($controller); } $this->doc->prepare(); list($this->scope, $this->name) = $this->doc->filterParams($this->web->params()); if (!isset($this->html) && !$this->html instanceof DocHtml) { $this->html = new DocHtml(); } $this->html->setDoc($this->doc); $this->web->setHtml($this->html); $this->title = 'Ke\\DocMen - ' . $this->doc->getTitle(); }
protected function onConstruct() { $this->doc = DocMen::getInstance('docmen'); parent::onConstruct(); // TODO: Change the autogenerated stub }