protected function startup() { parent::startup(); $this->websiteName = $this->websiteManager->name; $this->titleTemplate = $this->websiteManager->title; $this->titleSeparator = $this->websiteManager->titleSeparator; $this->author = $this->websiteManager->author; $this->keywords = $this->websiteManager->keywords; $this->description = $this->websiteManager->description; $this->robots = $this->websiteManager->robots; }
public function startup() { parent::startup(); if ($this->reset && !$this->emailFrom) { throw new BadRequestException(); } if ($this->emailFrom) { $this->template->forgotPassword = TRUE; } }
protected function startup() { parent::startup(); if (substr($this->key, 1, 1) == ':') { $this->key = substr($this->key, 2); } }