public function getHtmlHeadEntrySet() { $this->createForm(); $set = parent::getHtmlHeadEntrySet(); $set->addEntrySet($this->form->getHtmlHeadEntrySet()); return $set; }
protected function displayTitle() { if ($this->app->session->isLoggedIn() || $this->app->config->pinhole->passphrase == '') { return; } parent::displayTitle(); }
public function init() { parent::init(); // set a cookie with the last visit date if ($this->app->hasModule('SiteCookieModule')) { $now = new SwatDate(); $cookie = $this->app->getModule('SiteCookieModule'); $cookie->setCookie('last_visit_date', $now->getISO8601()); } }
public function display() { parent::display(); $this->html_head_entry_set->addEntrySet($this->tag_list_view->getHtmlHeadEntrySet()); }
public function displayTitle() { if ($this->hasValue('title')) { parent::displayTitle(); } }