private static function checkAndLoadInputParams() { self::$file = InputData::getPost('file'); if (!self::$file) { self::$file = InputData::getGet('file'); } return self::$file; }
private static function checkAndLoadInputParams() { self::$file = InputData::getPost('file'); if (!self::$file) { self::$file = InputData::getGet('file'); } if (InputData::getPost('convertType')) { self::$convertType = InputData::getPost('convertType'); } return self::$file && self::$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(); } }