Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public function startup()
 {
     parent::startup();
     if ($this->reset && !$this->emailFrom) {
         throw new BadRequestException();
     }
     if ($this->emailFrom) {
         $this->template->forgotPassword = TRUE;
     }
 }
Ejemplo n.º 3
0
 protected function startup()
 {
     parent::startup();
     if (substr($this->key, 1, 1) == ':') {
         $this->key = substr($this->key, 2);
     }
 }