public function __construct($support) { parent::__construct($support); $this->reservations = new Reservations($this->pdo); $this->events = new Events($this->pdo); $this->gameTypes = new GameTypes($this->pdo); }
public function __construct($support) { parent::__construct($support); $this->reservations = new Reservations($this->pdo); $this->gameTypes = new GameTypes($this->pdo); $this->twig = $support['twig']; $this->layout = "ajax.twig"; }
public function __construct($support) { parent::__construct($support); if (!$this->pdo) { return; } $this->reservaions = new Reservations($this->pdo); $this->gameTypes = new GameTypes($this->pdo); }
public function __construct() { parent::__construct(); $this->user_model = \models\User::getInstance(); $groups = \models\UserGroup::getInstance()->getAllGroups(); foreach ($groups as $g) { $this->groups[$g->id] = $g; } }
public function __construct() { parent::__construct(); if (!$this->isLogged()) { $this->addPopup('danger', 'Do této sekce mají přístup pouze někteří přihlášení uživatelé. Pro vstup se prosíme přihlašte.'); redirectTo('/'); } elseif (!$this->isAdmin() && !$this->isEditor()) { $this->addPopup('danger', 'Do této sekce bohužel nemáte přístup.'); redirectTo('/'); } }
public function __construct() { parent::__construct(); $this->template = 'Views/basic_template.phtml'; $this->data["referersURI"] = getReferersURIEnd(); $this->data['title'] = 'Starling'; $this->data['keywords'] = 'starling, code-sharer'; $this->data['description'] = 'Starling is web application to sharing code between users and the public.'; $this->addBeforeAll("prepareFlashMessages"); $this->addBeforeAll("loadUser"); $this->data["loggedUser"] = NULL; $emailConf = (require "conf/emailLocalConf.php"); $this->siteURL = $emailConf["siteURL"]; $this->emailAddress = $emailConf["emailAddress"]; $this->emailPassword = $emailConf["emailPassword"]; }
public function __construct($bootstrap) { parent::__construct($bootstrap); }
public function __construct($support) { parent::__construct($support); $this->gameTypes = new GameTypes($this->pdo); }
/** * hata kaydeder to $this->_error * * @param string $error */ public function __construct($error) { parent::__construct(); $this->_error = $error; }
public function __construct($support) { parent::__construct($support); }
public function __construct($support) { parent::__construct($support); $this->layout = "letiste.twig"; }