예제 #1
0
 /**
  * @param NavigationRepositoryInterface $repository
  */
 public function __construct(NavigationRepositoryInterface $repository)
 {
     $this->repository = $repository;
     // set initial backend url
     $this->repository->getModel()->href = \Config::get('pageblok::settings.backend') . '/';
     parent::__construct();
 }
예제 #2
0
 public function __construct(BlockRepositoryInterface $blockRepository)
 {
     $this->repository = $blockRepository;
     $this->groups = $blockRepository->getGroups();
     parent::__construct();
 }
예제 #3
0
 /**
  * Default constructor
  * @param SettingRepositoryInterface $settingRepository
  */
 public function __construct(SettingRepositoryInterface $settingRepository)
 {
     $this->repository = $settingRepository;
     parent::__construct();
 }
예제 #4
0
 /**
  *
  * @param PageRepositoryInterface $pageRepository
  */
 public function __construct(PageRepositoryInterface $pageRepository)
 {
     $this->repository = $pageRepository;
     parent::__construct();
 }