/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['boardID'])) { $this->boardIDArray = ArrayUtil::toIntegerArray(explode(',', $_REQUEST['boardID'])); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (!WCF::getUser()->userID) { throw new IllegalLinkException(); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // get entries $this->entryList = new ContestFeedEntryList(); // fetch data $this->entryList->sqlConditions .= ' AND contest.time > ' . ($this->hours ? TIME_NOW - $this->hours * 3600 : TIME_NOW - 30 * 86400); }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['threadID'])) { $this->threadIDArray = ArrayUtil::toIntegerArray(explode(',', $_REQUEST['threadID'])); } if (!count($this->threadIDArray)) { throw new IllegalLinkException(); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // get entry if (isset($_REQUEST['contestID'])) { $this->contestID = intval($_REQUEST['contestID']); } $this->entry = new ViewableContest($this->contestID); if (!$this->entry->contestID) { throw new IllegalLinkException(); } // get entries $this->eventmixList = new ContestEventMixList(); // fetch data $this->eventmixList->sqlConditions .= 'contestID = ' . intval($this->contestID); $this->eventmixList->sqlOrderBy = 'contest_eventmix.time DESC'; }