public function __construct(SmartyPage $smarty) { parent::__construct($smarty); $this->presenter = new UpcomingReservationsPresenter($this, new ReservationViewRepository()); $this->DBconn = ServiceLocator::GetDatabase(); }
public function __construct(SmartyPage $smarty) { parent::__construct($smarty); $this->presenter = new ResourceAvailabilityControlPresenter($this, new ResourceService(new ResourceRepository(), PluginManager::Instance()->LoadPermission(), new AttributeService(new AttributeRepository()), new UserRepository()), new ReservationViewRepository()); }
public function __construct(SmartyPage $smarty) { parent::__construct($smarty); $this->_presenter = new AnnouncementPresenter($this); }
public function __construct(SmartyPage $smarty) { parent::__construct($smarty); $this->presenter = new UpcomingReservationsPresenter($this, new ReservationViewRepository()); }