Example #1
0
 public function __construct(BlockInterface $block)
 {
     parent::__construct($block);
     $this->title['parent'] = Str::title(trans_choice('blocks::global.blocks', 2));
 }
Example #2
0
 public function __construct(PlaceInterface $place)
 {
     parent::__construct($place);
     $this->title['parent'] = Str::title(trans_choice('places::global.places', 2));
 }
Example #3
0
 public function __construct(PartnerInterface $partner)
 {
     parent::__construct($partner);
     $this->title['parent'] = Str::title(trans_choice('partners::global.partners', 2));
 }
Example #4
0
 public function __construct(ProjectInterface $project)
 {
     parent::__construct($project);
     $this->title['parent'] = Str::title(trans_choice('projects::global.projects', 2));
 }
Example #5
0
 public function __construct(CategoryInterface $category)
 {
     parent::__construct($category);
     $this->title['parent'] = Str::title(trans_choice('categories::global.categories', 2));
 }
Example #6
0
 public function __construct(EventInterface $event, Calendar $calendar)
 {
     parent::__construct($event);
     $this->title['parent'] = Str::title(trans_choice('events::global.events', 2));
     $this->calendar = $calendar;
 }
Example #7
0
 public function __construct(GalleryInterface $gallery)
 {
     parent::__construct($gallery);
     $this->title['parent'] = Str::title(trans_choice('galleries::global.galleries', 2));
 }
Example #8
0
 public function __construct(ContactInterface $contact, ContactForm $contactform)
 {
     $this->form = $contactform;
     parent::__construct($contact);
     $this->title['parent'] = Str::title(trans_choice('contacts::global.contacts', 2));
 }
Example #9
0
 public function __construct(NewsInterface $news)
 {
     parent::__construct($news);
     $this->title['parent'] = Str::title(trans_choice('news::global.news', 2));
 }