Ejemplo n.º 1
0
 public function __construct(SmartyPage $smarty)
 {
     parent::__construct($smarty);
     $this->presenter = new UpcomingReservationsPresenter($this, new ReservationViewRepository());
     $this->DBconn = ServiceLocator::GetDatabase();
 }
Ejemplo n.º 2
0
 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());
 }
Ejemplo n.º 3
0
 public function __construct(SmartyPage $smarty)
 {
     parent::__construct($smarty);
     $this->_presenter = new AnnouncementPresenter($this);
 }
Ejemplo n.º 4
0
 public function __construct(SmartyPage $smarty)
 {
     parent::__construct($smarty);
     $this->presenter = new UpcomingReservationsPresenter($this, new ReservationViewRepository());
 }