Exemple #1
0
 protected function getViews() : array
 {
     return ['view' => function () {
         return [$this->product];
     }, 'media' => function () {
         return [$this->product];
     }] + parent::getViews();
 }
Exemple #2
0
 protected function getViews() : array
 {
     return ['view' => function () {
         return [$this->post];
     }, 'item' => function () {
         return [$this->post];
     }, 'info' => function () {
         return [$this->post];
     }] + parent::getViews();
 }
Exemple #3
0
 protected function getViews() : array
 {
     return ['view' => function () {
         return [$this->category, $this['pagination']['posts']];
     }] + parent::getViews();
 }
Exemple #4
0
 protected function getViews() : array
 {
     return ['view' => function () {
         return [$this->page];
     }] + parent::getViews();
 }
Exemple #5
0
 protected function getViews() : array
 {
     return ['breadcrumb' => TRUE, 'navbar' => TRUE, 'navbarNav' => TRUE, 'title' => TRUE] + parent::getViews();
 }
Exemple #6
0
 protected function getViews() : array
 {
     return ['title' => TRUE, 'navbar' => TRUE] + parent::getViews();
 }