Exemplo n.º 1
0
 /**
  * Inspecciona Todos los controllers y las actions, las agrega a la base de datos, y eso
  */
 public function inspectAction()
 {
     parent::init();
     $securityInspector = $this->getContainer()->get('security_inspector');
     $securityInspector->analizeWorkspace();
     $this->getManagerAcl()->clearCache();
     $this->setFlash('ok', 'Workspace analizado');
     $this->_redirect('auth/config');
 }
Exemplo n.º 2
0
 /**
  *
  */
 public function init()
 {
     $this->getMenu()->removeAllCache();
     parent::init();
 }
Exemplo n.º 3
0
 public function __construct(AbstractContainer $navService, AuthenticationServiceInterface $authService, IUsersRepository $usersRepository, $maxLoginTries)
 {
     parent::__construct($navService, $authService);
     $this->usersRepository = $usersRepository;
     $this->maxLoginTries = $maxLoginTries;
 }
Exemplo n.º 4
0
 public function init()
 {
     parent::initI18n();
     parent::toView();
 }
Exemplo n.º 5
0
 public function __construct(AbstractContainer $navService, AuthenticationServiceInterface $authService, IWordPressRepository $wpRepo)
 {
     parent::__construct($navService, $authService);
     $this->wpRepo = $wpRepo;
 }
Exemplo n.º 6
0
 public function __construct(AbstractContainer $navService, AuthenticationServiceInterface $authService)
 {
     parent::__construct($navService, $authService);
 }
Exemplo n.º 7
0
 public function __construct(AbstractContainer $navService, AuthenticationServiceInterface $authService, IClientsRepository $clientsRepository)
 {
     parent::__construct($navService, $authService);
     $this->clientsRepository = $clientsRepository;
 }