public function __construct() { parent::__construct('MyCalendar', 0); $userRepository = new UserRepository(); $subscriptionService = new CalendarSubscriptionService($userRepository, new ResourceRepository(), new ScheduleRepository()); $resourceRepository = new ResourceRepository(); $resourceService = new ResourceService($resourceRepository, PluginManager::Instance()->LoadPermission(), new AttributeService(new AttributeRepository()), $userRepository); $this->presenter = new PersonalCalendarPresenter($this, new ReservationViewRepository(), new CalendarFactory(), $subscriptionService, $userRepository, $resourceService, new ScheduleRepository()); }
public function __construct() { parent::__construct('ManageConfiguration', 1); $this->presenter = new ManageConfigurationPresenter($this, new Configurator()); $this->settingNames = new StringBuilder(); }
public function __construct() { parent::__construct('Schedule'); $permissionServiceFactory = new PermissionServiceFactory(); $scheduleRepository = new ScheduleRepository(); $userRepository = new UserRepository(); $resourceService = new ResourceService(new ResourceRepository(), $permissionServiceFactory->GetPermissionService(), new AttributeService(new AttributeRepository()), $userRepository); $pageBuilder = new SchedulePageBuilder(); $reservationService = new ReservationService(new ReservationViewRepository(), new ReservationListingFactory()); $dailyLayoutFactory = new DailyLayoutFactory(); $scheduleService = new ScheduleService($scheduleRepository, $resourceService); $this->_presenter = new SchedulePresenter($this, $scheduleService, $resourceService, $pageBuilder, $reservationService, $dailyLayoutFactory); }
public function __construct() { parent::__construct('AccountActivation'); $userRepo = new UserRepository(); $this->_presenter = new ActivationPresenter($this, new AccountActivation($userRepo, $userRepo), new WebAuthentication(PluginManager::Instance()->LoadAuthentication())); }
public function __construct() { parent::__construct('ManageReservations', 1); $this->presenter = new ManageReservationsPresenter($this, new ManageReservationsService(new ReservationViewRepository()), new ScheduleRepository(), new ResourceRepository(), new AttributeService(new AttributeRepository()), new UserPreferenceRepository()); $this->pageablePage = new PageablePage($this); $this->SetCanUpdateResourceStatus(true); $this->SetPageId('manage-reservations'); $this->Set("Page", $this); }
public function __construct() { parent::__construct('ManageResourceGroups', 1); $this->_presenter = new ManageResourceGroupsPresenter($this, ServiceLocator::GetServer()->GetUserSession(), new ResourceRepository()); }
public function __construct() { $serviceFactory = new ManageUsersServiceFactory(); parent::__construct('ManageUsers', 1); $groupRepository = new GroupRepository(); $this->_presenter = new ManageUsersPresenter($this, new UserRepository(), new ResourceRepository(), new PasswordEncryption(), $serviceFactory->CreateAdmin(), new AttributeService(new AttributeRepository()), $groupRepository, $groupRepository); $this->pageable = new PageablePage($this); }
public function __construct() { parent::__construct('ManageResources', 1); $this->presenter = new ManageResourcesPresenter($this, new ResourceRepository(), new ScheduleRepository(), new ImageFactory(), new GroupRepository(), new AttributeService(new AttributeRepository()), new UserPreferenceRepository()); $this->pageablePage = new PageablePage($this); $this->Set('YesNoOptions', array('' => '-', '1' => Resources::GetInstance()->GetString('Yes'), '0' => Resources::GetInstance()->GetString('No'))); $this->Set('YesNoUnchangedOptions', array('-1' => Resources::GetInstance()->GetString('Unchanged'), '1' => Resources::GetInstance()->GetString('Yes'), '0' => Resources::GetInstance()->GetString('No'))); }
public function __construct() { parent::__construct('Reports', 1); $this->presenter = new GenerateReportPresenter($this, ServiceLocator::GetServer()->GetUserSession(), new ReportingService(new ReportingRepository()), new ResourceRepository(), new ScheduleRepository(), new GroupRepository()); }
public function __construct() { parent::__construct('ManageQuotas', 1); $this->presenter = new ManageQuotasPresenter($this, new ResourceRepository(), new GroupRepository(), new ScheduleRepository(), new QuotaRepository()); }
public function __construct() { parent::__construct('LookAndFeel', 1); $this->presenter = new ManageThemePresenter($this); }
public function __construct() { parent::__construct('ManageBlackouts', 1); $userRepo = new UserRepository(); $userSession = ServiceLocator::GetServer()->GetUserSession(); $this->presenter = new ManageBlackoutsPresenter($this, new ManageBlackoutsService(new ReservationViewRepository(), new BlackoutRepository(), $userRepo), new ScheduleAdminScheduleRepository($userRepo, $userSession), new ResourceAdminResourceRepository($userRepo, $userSession)); $this->pageablePage = new PageablePage($this); }
public function __construct() { parent::__construct('ManageAnnouncements', 1); $this->presenter = new ManageAnnouncementsPresenter($this, new AnnouncementRepository()); }
public function __construct() { parent::__construct('ManageAccessories', 1); $this->presenter = new ManageAccessoriesPresenter($this, new ResourceRepository(), new AccessoryRepository()); }
public function __construct() { parent::__construct('ManageSchedules', 1); $this->pageablePage = new PageablePage($this); $this->_presenter = new ManageSchedulesPresenter($this, new ManageScheduleService(new ScheduleRepository(), new ResourceRepository()), new GroupRepository()); }
public function __construct() { parent::__construct('Registration'); $this->_presenter = new RegistrationPresenter($this); }
public function __construct() { parent::__construct('ManageResourceTypes', 1); $this->presenter = new ManageResourceTypesPresenter($this, ServiceLocator::GetServer()->GetUserSession(), new ResourceRepository(), new AttributeService(new AttributeRepository())); }
public function __construct() { parent::__construct('ManageGroups', 1); $this->presenter = new ManageGroupsPresenter($this, new GroupRepository(), new ResourceRepository()); $this->pageable = new PageablePage($this); }
public function __construct() { parent::__construct('CommonReports', 1); $this->presenter = new CommonReportsPresenter($this, ServiceLocator::GetServer()->GetUserSession(), new ReportingService(new ReportingRepository())); }
public function __construct() { parent::__construct('CustomAttributes', 1); $this->presenter = new ManageAttributesPresenter($this, new AttributeRepository()); }
public function __construct() { parent::__construct('EditProfile'); $this->presenter = new ProfilePresenter($this, new UserRepository(), new AttributeService(new AttributeRepository()), new ScheduleRepository()); }
public function __construct() { parent::__construct('Payment'); $this->presenter = new PaymentPresenter($this, new UserRepository()); }