Exemple #1
0
 public function __construct(Application $app)
 {
     parent::__construct($app);
     $manager = new RolesManager();
     $manager->load();
     $this->roles = $manager->get();
 }
 public function __construct(Application $app)
 {
     parent::__construct($app);
     $manager = new AccessControlManager($app);
     $manager->load();
     $this->accessControls = $manager->get();
 }
 public function __construct(Application $app)
 {
     parent::__construct($app);
     $this->rolesManager = new RolesManager();
     $this->rolesManager->load();
     $this->providersManager = new ProvidersManager($app);
     $this->providersManager->load();
 }
Exemple #4
0
 public function __construct(Application $app)
 {
     parent::__construct($app);
     $manager = new FirewallsManager($app);
     $manager->load();
     $this->firewalls = $manager->get();
     $this->accessControl = new AccessControlHandler($app);
     $this->providerHandler = new ProvidersHandler($app);
 }
Exemple #5
0
 public function __construct($app, $module, $name, $action, $vars = [])
 {
     parent::__construct($app);
     $this->formBuilder = new FormBuilder();
     $this->setPage($app, $this);
     $this->page->attach($this->getService('templater'));
     $this->setModule($module);
     $this->setAction($action);
     $this->setName($name);
 }
Exemple #6
0
 public function __construct(Application $app)
 {
     parent::__construct($app);
     $this->app['viewFinder'] = new ViewFinder();
 }
Exemple #7
0
 public function __construct(Application $app)
 {
     parent::__construct($app);
 }
Exemple #8
0
 public function __construct(Application $app, $manager)
 {
     parent::__construct($app);
     $this->manager = $manager;
 }