Example #1
0
 /**
  * @param \Nette\ComponentModel\IContainer $ajaxDir
  * @param string $ajaxPath
  * @param \Nette\Http\Session $session
  */
 public function __construct($ajaxDir, $ajaxPath, Session $session)
 {
     parent::__construct();
     $this->ajaxDir = $ajaxDir;
     $this->ajaxPath = $ajaxPath;
     $this->sessionSection = $session->getSection('ajaxUploader-' . $this->getName());
 }
Example #2
0
 public function __construct(EntityDao $commentDao, User $user, IChatControlFactory $chatControlFactory)
 {
     parent::__construct();
     $this->commentDao = $commentDao;
     $this->user = $user;
     $this->chatControlFactory = $chatControlFactory;
 }
Example #3
0
 public function __construct(EntityRepository $repository, INavbarControlFactory $navbarFactory, FormFactoryFactory $formFactoryFactory, IGridoFactory $gridoFactory)
 {
     parent::__construct();
     $this->repository = $repository;
     $this->navbarFactory = $navbarFactory;
     $this->gridoFactory = $gridoFactory;
 }
Example #4
0
 /**
  * @param integer $id
  * @param \Doctrine\ORM\EntityManager $entityManager
  * @param \Nette\Security\User $user
  * @param \Venne\DataTransfer\DataTransferManager $dataTransferManager
  */
 public function __construct($id, EntityManager $entityManager, User $user, DataTransferManager $dataTransferManager)
 {
     parent::__construct();
     $this->id = $id;
     $this->jobRepository = $entityManager->getRepository(Job::class);
     $this->user = $user;
     $this->dataTransferManager = $dataTransferManager;
 }
Example #5
0
 public function __construct(EntityManager $entityManager, NotificationManager $notificationManager, INotificationControlFactory $notificationControlFactory, DataTransferManager $dataTransferManager)
 {
     parent::__construct();
     $this->notificationUserRepository = $entityManager->getRepository(NotificationUser::class);
     $this->notificationManager = $notificationManager;
     $this->notificationControlFactory = $notificationControlFactory;
     $this->dataTransferManager = $dataTransferManager;
 }
Example #6
0
 public function __construct(EntityManager $entityManager, Session $session, IBrowserControlFactory $browserFactory)
 {
     parent::__construct();
     $this->entityManager = $entityManager;
     $this->fileRepository = $entityManager->getRepository(File::class);
     $this->dirRepository = $entityManager->getRepository(Dir::class);
     $this->session = $session->getSection('Venne.Content.filesSide');
     $this->browserFactory = $browserFactory;
 }
Example #7
0
 public function __construct(EntityDao $commentDao, CommentFormFactory $commentFormFactory, FormFactoryFactory $formFactoryFactory, ICommentControlFactory $commentsControlFactory, Session $session)
 {
     parent::__construct();
     $this->commentDao = $commentDao;
     $this->commentFormFactory = $commentFormFactory;
     $this->formFactoryFactory = $formFactoryFactory;
     $this->commentControlFactory = $commentsControlFactory;
     $this->session = $session;
 }
Example #8
0
 /**
  * @param boolean $invitaions
  * @param string $userType
  * @param string $mode
  * @param string $loginProviderMode
  * @param string[] $roles
  */
 public function __construct($invitaions, $userType, $mode, $loginProviderMode, $roles)
 {
     parent::__construct();
     $this->invitaions = $invitaions;
     $this->loginProviderMode = $loginProviderMode;
     $this->mode = $mode;
     $this->roles = $roles;
     $this->userType = $userType;
 }
Example #9
0
 /**
  * @param integer $id
  * @param \Doctrine\ORM\EntityManager $entityManager
  * @param \Venne\Notifications\NotificationManager $notificationManager
  * @param \Nette\Security\User $user
  * @param \Venne\DataTransfer\DataTransferManager $dataTransferManager
  */
 public function __construct($id, EntityManager $entityManager, NotificationManager $notificationManager, User $user, DataTransferManager $dataTransferManager)
 {
     parent::__construct();
     $this->id = $id;
     $this->entityManager = $entityManager;
     $this->notificationUserRepository = $entityManager->getRepository(NotificationUser::class);
     $this->user = $user;
     $this->notificationManager = $notificationManager;
     $this->dataTransferManager = $dataTransferManager;
 }
Example #10
0
 public function __construct(EntityManager $entityManager, LoginFormFactory $loginFormFactory, ProviderFormFactory $providerFormFactory, ResetFormService $resetFormService, ConfirmFormService $confirmFormService, SecurityManager $securityManager, IMailer $mailer, FormFactoryFactory $formFactoryFactory)
 {
     parent::__construct();
     $this->userRepository = $entityManager->getRepository(User::class);
     $this->loginFormFactory = $loginFormFactory;
     $this->providerFormFactory = $providerFormFactory;
     $this->resetFormService = $resetFormService;
     $this->confirmFormService = $confirmFormService;
     $this->securityManager = $securityManager;
     $this->formFactoryFactory = $formFactoryFactory;
     $this->redrawControl('content');
 }
Example #11
0
 /**
  * @param \Kdyby\Doctrine\EntityDao $commentDao
  * @param \Nette\Security\User $user
  */
 public function __construct(EntityDao $commentDao, User $user)
 {
     parent::__construct();
     $this->commentDao = $commentDao;
     $this->user = $user;
 }