示例#1
0
文件: Page.php 项目: jetcms/admin
 protected function display()
 {
     $display = parent::display();
     $display->with('fields', 'user');
     /*
     		$display->apply(function ($query)
     		{
     			$query->where('context', 'page');
     		});
     */
     $display->actions($this->importAction());
     return $display;
 }
示例#2
0
文件: Sitemap.php 项目: jetcms/admin
 protected function display()
 {
     $display = parent::display();
     return $display;
 }
示例#3
0
文件: User.php 项目: jetcms/admin
 protected function display()
 {
     $display = parent::display();
     $display->with('roles');
     return $display;
 }
示例#4
0
文件: Image.php 项目: jetcms/admin
 protected function display()
 {
     $display = parent::display();
     $display->with('gallery');
     return $display;
 }
示例#5
0
文件: Comment.php 项目: jetcms/admin
 protected function display()
 {
     $display = parent::display();
     $display->with('object', 'user');
     return $display;
 }