public function __construct($isBlock = false) { parent::__construct(); $this->events = new events(); $this->tags = new tags(); $this->isBlock = $isBlock; }
public function __construct() { parent::__construct(); # require_once('models/akteure.php'); $this->akteure = new akteure(); $this->tags = new tags(); }
public function __construct($filteredEIDs = NULL) { parent::__construct(); $this->events = new events(); if (empty($filteredEIDs) && isset($_GET['EID'])) { foreach ($_GET['EID'] as $eid) { $filteredEIDs[$eid]['EID'] = $this->clearContent($eid); $filteredEIDs[$eid] = (object) $filteredEIDs[$eid]; } } if ($filteredEIDs) { if ($filteredEIDs == 'empty') { $this->alreadyFilteredEIDs[] = 999999; // = 0 results } else { foreach ($filteredEIDs as $EID) { $this->alreadyFilteredEIDs[] = $EID->EID; } } } }
function __construct($action = false) { parent::__construct(); $explodedpath = explode('/', current_path()); $this->event_id = $this->clearContent($explodedpath[1]); $this->event = new events(); $this->tagsHelper = new tags(); $this->adressHelper = new adressen(); // Sollen die Werte im Anschluss gespeichert oder geupdatet werden? if ($action == 'update') { $this->target = 'update'; if (!user_is_logged_in() || !$this->event->isAuthorized($this->event_id, $this->user_id)) { drupal_access_denied(); drupal_exit(); } } else { if (!user_is_logged_in()) { drupal_access_denied(); drupal_exit(); } } }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->tagsHelper = new tags(); $this->adressHelper = new adressen(); }
public function __construct() { parent::__construct(); $this->akteure = new akteure(); }
public function __construct() { parent::__construct(); require_once 'models/events.php'; $this->event = new events(); }