/** * @see Action::readParameters() */ public function readParameters() { parent::readParameters(); if (!WCF::getUser()->userID) { throw new IllegalLinkException(); } }
/** * @see Action::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_POST['title'])) { $this->title = $_POST['title']; if (CHARSET != 'UTF-8') { $this->title = StringUtil::convertEncoding('UTF-8', CHARSET, $this->title); } } }
/** * @see Action::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['close'])) { $this->close = intval($_REQUEST['close']); } if (!$this->board->isCategory()) { throw new IllegalLinkException(); } }