Ejemplo n.º 1
0
 public function __construct(Permission $permission, Role $role)
 {
     parent::__construct();
     $this->permission = $permission;
     $this->role = $role;
     $this->data['baseurl'] = $this->baseurl .= 'roles';
 }
Ejemplo n.º 2
0
 public function __construct(User $user, Role $role)
 {
     parent::__construct();
     $this->user = $user;
     $this->role = $role;
     $this->data['baseurl'] = $this->baseurl .= 'users';
 }
Ejemplo n.º 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';
 }
Ejemplo n.º 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 . '.' : '';
 }
Ejemplo n.º 5
0
 public function __construct(Series $series)
 {
     parent::__construct();
     $this->series = $series;
     $this->data['baseurl'] = $this->baseurl .= 'series';
 }
Ejemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
     $this->data['prefix'] = \Config::get('aurp::prefix') ? \Config::get('aurp::prefix') . '/' : null;
 }
Ejemplo n.º 7
0
 public function __construct(Permission $permission)
 {
     parent::__construct();
     $this->permission = $permission;
     $this->data['baseurl'] = $this->baseurl .= 'permissions';
 }