コード例 #1
0
ファイル: Control.php プロジェクト: ytnuk/shop
 protected function getViews() : array
 {
     return ['view' => function () {
         return [$this->product];
     }, 'media' => function () {
         return [$this->product];
     }] + parent::getViews();
 }
コード例 #2
0
ファイル: Control.php プロジェクト: ytnuk/blog
 protected function getViews() : array
 {
     return ['view' => function () {
         return [$this->post];
     }, 'item' => function () {
         return [$this->post];
     }, 'info' => function () {
         return [$this->post];
     }] + parent::getViews();
 }
コード例 #3
0
ファイル: Control.php プロジェクト: ytnuk/blog
 protected function getViews() : array
 {
     return ['view' => function () {
         return [$this->category, $this['pagination']['posts']];
     }] + parent::getViews();
 }
コード例 #4
0
ファイル: Control.php プロジェクト: ytnuk/page
 protected function getViews() : array
 {
     return ['view' => function () {
         return [$this->page];
     }] + parent::getViews();
 }
コード例 #5
0
ファイル: Control.php プロジェクト: webedit/menu
 protected function getViews() : array
 {
     return ['breadcrumb' => TRUE, 'navbar' => TRUE, 'navbarNav' => TRUE, 'title' => TRUE] + parent::getViews();
 }
コード例 #6
0
ファイル: Control.php プロジェクト: ytnuk/web
 protected function getViews() : array
 {
     return ['title' => TRUE, 'navbar' => TRUE] + parent::getViews();
 }