示例#1
0
 public function __construct(Permission $permission, Role $role)
 {
     parent::__construct();
     $this->permission = $permission;
     $this->role = $role;
     $this->data['baseurl'] = $this->baseurl .= 'roles';
 }
示例#2
0
 public function __construct(User $user, Role $role)
 {
     parent::__construct();
     $this->user = $user;
     $this->role = $role;
     $this->data['baseurl'] = $this->baseurl .= 'users';
 }
示例#3
0
 public function __construct(Category $category, Post $post, Series $series, Tag $tag)
 {
     parent::__construct();
     $this->category = $category;
     $this->post = $post;
     $this->series = $series;
     $this->tag = $tag;
     $this->data['baseurl'] = $this->baseurl .= 'posts';
 }
示例#4
0
 public function __construct(Post $post, Series $series, Tag $tag, Category $category)
 {
     parent::__construct();
     $this->post = $post;
     $this->series = $series;
     $this->tag = $tag;
     $this->category = $category;
     $baseurl = \Config::get('bms::baseurl');
     $this->data['baseurl'] = !empty($baseurl) ? $baseurl . '.' : '';
 }
示例#5
0
 public function __construct(Series $series)
 {
     parent::__construct();
     $this->series = $series;
     $this->data['baseurl'] = $this->baseurl .= 'series';
 }
示例#6
0
 public function __construct()
 {
     parent::__construct();
     $this->data['prefix'] = \Config::get('aurp::prefix') ? \Config::get('aurp::prefix') . '/' : null;
 }
示例#7
0
 public function __construct(Permission $permission)
 {
     parent::__construct();
     $this->permission = $permission;
     $this->data['baseurl'] = $this->baseurl .= 'permissions';
 }