/** * Method description * * More detailed method description * @param void * @return void */ function buildComplete() { if (!isset($this->tpl)) { $this->tpl = $this->createTemplate(); } parent::buildComplete(); }
/** * Method description * * More detailed method description * @param void * @return void */ function buildComplete() { $this->setTitle($this->getTitle() . " - " . $this->getType()); Header::get()->addLink(array('rel' => 'alternate', 'type' => Feed::getMimeType($this->getType()), 'title' => $this->getTitle(), 'href' => $this->getHREF())); parent::buildComplete(); }
/** * Method description * * More detailed method description * @param void * @return void */ function buildComplete() { if (isset($this->src)) { Controller::getInstance()->addCSS($this->getSrc(), $this->getCond(), $this->getPriority(), $this->getMedia()); } parent::buildComplete(); }
/** * Method description * * More detailed method description * @param void * @return void */ function buildComplete() { $this->tpl = $this->createTemplate(); $this->setStyleClass("__nav"); parent::buildComplete(); }
/** * Method description * * More detailed method description * @param void * @return void */ function buildComplete() { /*if(POSTErrors::hasErrors()) $this->restorePOST();*/ parent::buildComplete(); }
/** * Method description * * More detailed method description * @param void * @return void */ function buildComplete() { if (!isset($this->tpl)) { $this->tpl = $this->createTemplate(); } parent::buildComplete(); $controller = Controller::getInstance(); $controller->addScript("swfobject.js"); }
/** * Method description * * More detailed method description * @param void * @return void */ function buildComplete() { if (!isset($this->tpl)) { $this->tpl = $this->createTemplate(); } if (Config::get("CACHE_STATIC_PAGES")) { $page = Controller::getInstance()->getPage(); $cn = Controller::getInstance()->getControllerName(); $storage = Storage::create("WHTML cache"); if (!$storage->is_set($cn . "_" . $page . "_" . $this->getId())) { $this->page_text = $this->getSrc() ? file_get_contents($this->getSrc()) : ($this->getText() ? $this->getText() : null); $storage->set($cn . "_" . $page . "_" . $this->getId(), array("text" => $this->page_text, "cache_time" => time())); } else { $p = $storage->get($cn . "_" . $page . "_" . $this->getId()); $mtime = 0; $changed = 0; if ($this->getSrc()) { if (fileChanged($this->getSrc(), $p['cache_time']) || Controller::getInstance()->XMLPageChanged($p['cache_time'])) { $this->page_text = $this->getSrc() ? file_get_contents($this->getSrc()) : ""; $storage->set($cn . "_" . $page . "_" . $this->getId(), array("text" => $this->page_text, "cache_time" => time())); } else { $this->page_text = $p['text']; } } else { $this->page_text = $this->getText(); } } } else { $this->page_text = $this->getSrc() ? file_get_contents($this->getSrc()) : ($this->getText() ? $this->getText() : null); } parent::buildComplete(); }