/** * Constructor */ public function __construct() { parent::__construct(); // Security check $security = $this->app->security; $security->authorized('editor'); }
/** * @param AdRepository $adRepository * @param PhotoRepository $photoRepository */ public function __construct(AdRepository $adRepository, PhotoRepository $photoRepository) { $this->photoRepository = $photoRepository; $this->adRepository = $adRepository; parent::__construct(); $this->beforeFilter('Admin'); }
public function __construct() { parent::__construct(); $this->data['dashboardActive'] = 'active'; $this->data['dashboardOpen'] = 'active open'; $this->data['pageTitle'] = 'Dashboard'; }
/** * @param PaymentRepository $paymentRepository * @param SubscriptionRepository $subscriptionRepository * @param RefundRepository $refundRepository */ function __construct(PaymentRepository $paymentRepository, SubscriptionRepository $subscriptionRepository, RefundRepository $refundRepository) { $this->paymentRepository = $paymentRepository; $this->subscriptionRepository = $subscriptionRepository; $this->refundRepository = $refundRepository; parent::__construct(); }
/** * @param SettingRepository $settingRepository * @param CountryRepository $countryRepository * @param EventRepository $eventRepository * @param EventPriceRepository $eventPriceRepository */ public function __construct(SettingRepository $settingRepository, CountryRepository $countryRepository, EventRepository $eventRepository, EventPriceRepository $eventPriceRepository) { $this->settingRepository = $settingRepository; $this->countryRepository = $countryRepository; parent::__construct(); $this->eventRepository = $eventRepository; $this->eventPriceRepository = $eventPriceRepository; }
/** * Inject the models. * @param User $user * @param Role $role * @param Permission $permission */ public function __construct(User $user, Role $role, Permission $permission) { $this->user = $user; $this->role = $role; $this->permission = $permission; $this->beforeFilter('Admin'); parent::__construct(); }
public function __construct(LocationRepository $locationRepository, UserRepository $userRepository, CountryRepository $countryRepository) { $this->locationRepository = $locationRepository; $this->userRepository = $userRepository; $this->countryRepository = $countryRepository; $this->beforeFilter('Admin'); parent::__construct(); }
function __construct(SubscriptionRepository $subscriptionRepository, EventRepository $eventRepository, PackageRepository $packageRepository, UserRepository $userRepository) { $this->subscriptionRepository = $subscriptionRepository; $this->eventRepository = $eventRepository; $this->packageRepository = $packageRepository; $this->userRepository = $userRepository; parent::__construct(); }
/** * Inject the models. * @param UserRepository|User $userRepository * @param Role $role * @param Permission $permission * @param AuthService $authService */ public function __construct(UserRepository $userRepository, Role $role, Permission $permission, AuthService $authService) { $this->userRepository = $userRepository; $this->role = $role; $this->permission = $permission; $this->beforeFilter('Admin', array('except' => array('index', 'getIndex', 'view', 'getReport', 'postReport', 'getData'))); parent::__construct(); $this->authService = $authService; }
/** * Inject the models. * @param \Acme\Blog\BlogRepository|\Post $blogRepository * @param CategoryRepository|\Category $categoryRepository * @param Acme\User\UserRepository $userRepository * @param Acme\Photo\PhotoRepository $photoRepository * @param TagRepository $tagRepository */ public function __construct(BlogRepository $blogRepository, CategoryRepository $categoryRepository, UserRepository $userRepository, PhotoRepository $photoRepository, TagRepository $tagRepository) { $this->blogRepository = $blogRepository; $this->categoryRepository = $categoryRepository; $this->userRepository = $userRepository; $this->photoRepository = $photoRepository; $this->beforeFilter('Admin'); parent::__construct(); $this->tagRepository = $tagRepository; }
function __construct(EventRepository $eventRepository, CategoryRepository $categoryRepository, LocationRepository $locationRepository, UserRepository $userRepository, PhotoRepository $photoRepository, SettingRepository $settingRepository, PackageRepository $packageRepository, eventModel $eventTags, TagRepository $tagRepository) { $this->eventRepository = $eventRepository; $this->categoryRepository = $categoryRepository; $this->userRepository = $userRepository; $this->photoRepository = $photoRepository; $this->locationRepository = $locationRepository; $this->settingRepository = $settingRepository; $this->packageRepository = $packageRepository; $this->eventTags = $eventTags; $this->tagRepository = $tagRepository; parent::__construct(); }
public function __construct() { parent::__construct(); $this->data['$participacionOpen'] = 'active open'; $this->data['pageTitle'] = 'Participaciones'; }
public function __construct() { parent::__construct(); $this->model = new AdminNewMembersModel(); }
function __construct(SubscriptionRepository $subscriptionRepository) { parent::__construct(); $this->subscriptionRepository = $subscriptionRepository; }
public function __construct() { parent::__construct(); $this->data['ayudasOpen'] = 'active open'; $this->data['pageTitle'] = 'Ayudas'; }
/** * Inject the models. * @param Acme\Comment\CommentRepository $commentRepository */ public function __construct(CommentRepository $commentRepository) { $this->beforeFilter('Admin'); $this->commentRepository = $commentRepository; parent::__construct(); }
/** * Constructor de Personal */ public function __construct() { parent::__construct(); $this->data['personalOpen'] = 'active open'; $this->data['pageTitle'] = 'Personal'; }
public function __construct() { parent::__construct(new AdminModel()); }
function __construct(PhotoRepository $photoRepository, ImageService $photoImageService) { $this->photoRepository = $photoRepository; $this->photoImageService = $photoImageService; parent::__construct(); }
public function __construct($request, $response) { /*{{{*/ parent::__construct($request, $response); $response->module = Space::MODULE_ADMIN_SETUP; }
public function __construct() { parent::__construct(); $this->data['destinosOpen'] = 'active open'; $this->data['pageTitle'] = 'Destinos'; }
/** * Inject the models. * @param \Ad|\Type $model * @internal param \Photo $photo * @internal param \Post $post */ public function __construct(Type $model) { $this->model = $model; parent::__construct(); $this->beforeFilter('Admin'); }
/** * @param TagRepository $countryRepository */ public function __construct(TagRepository $tagRepository) { $this->tagRepository = $tagRepository; $this->beforeFilter('Admin'); parent::__construct(); }
public function __construct() { parent::__construct(); $this->model = new AdminMassmailModel(); }
public function __construct(CategoryRepository $categoryRepository) { $this->categoryRepository = $categoryRepository; $this->beforeFilter('Admin'); parent::__construct(); }
public function __construct() { parent::__construct(); $this->model = new AdminFlagsModel(); }
public function __contstruct() { parent::__construct(); $this->beforeFilter('Admin'); }
/** * Constructor for the Beneficiarios */ public function __construct() { parent::__construct(); $this->data['beneficiariosOpen'] = 'active open'; $this->data['pageTitle'] = 'Beneficiarios'; }
public function __construct() { parent::__construct(); $this->data['settingOpen'] = 'active open'; $this->data['pageTitle'] = 'Perfil'; }
public function __construct() { parent::__construct(); $this->data['settingOpen'] = 'active open'; $this->data['pageTitle'] = 'Notificaciones'; }