private static function checkAndLoadInputParams() { self::$file = InputData::getPost('file'); self::$convertType = InputData::getPost('convertType'); self::$options = array('hotelsNames' => InputData::getPost('hotelsNames')); return InputData::hasPost('file') & InputData::hasPost("convertType"); }
public function boxLogin() { if (InputData::hasPost('redirectUrl')) { $this->redirectUrl = InputData::getPost('redirectUrl'); } if (InputData::hasGet('url')) { $this->redirectUrl = InputData::getGet('url'); } if (!$this->isLogged && $_POST) { $this->login(); } elseif (!$this->isLogged) { $this->loginForm(); } }