コード例 #1
0
ファイル: HeadControl.php プロジェクト: svobodni/web
 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;
 }
コード例 #2
0
ファイル: LoginControl.php プロジェクト: svobodni/web
 public function startup()
 {
     parent::startup();
     if ($this->reset && !$this->emailFrom) {
         throw new BadRequestException();
     }
     if ($this->emailFrom) {
         $this->template->forgotPassword = TRUE;
     }
 }
コード例 #3
0
ファイル: FileBrowserControl.php プロジェクト: svobodni/web
 protected function startup()
 {
     parent::startup();
     if (substr($this->key, 1, 1) == ':') {
         $this->key = substr($this->key, 2);
     }
 }