示例#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();
 }