/** * Vrati kompletni logout URL * @return string * @throws Exception */ public function getURLLogout() { try { return LBoxUtil::getURLWithParams(array("logout-dbfree"), LBoxUtil::getURLWithoutParams(array("logout-dbfree"))); } catch (Exception $e) { throw $e; } }
/** * Vrati kompletni logout URL * @return string * @throws Exception */ public function getURLLogout() { try { return LBoxUtil::getURLWithParams(array(LBoxFront::getURLParamNameLogout()), LBoxUtil::getURLWithoutParams(array(LBoxFront::getURLParamNameLogout()))); } catch (Exception $e) { throw $e; } }
protected function executeStart() { try { if (strlen($this->getRecordURLParam()) > 0 && !$this->getRecord()) { LBoxFront::reload(LBoxUtil::getURLWithoutParams(array($this->getRecordURLParam()))); } parent::executeStart(); } catch (Exception $e) { throw $e; } }
/** * logout client user from DB-free login * @param int $loginGroup login group to logout */ public static function logoutDBFree($loginGroup = 1) { try { LBoxXTDBFree::logout($loginGroup); self::reload(LBoxUtil::getURLWithoutParams(array(self::getURLParamNameLogoutDBFree()))); } catch (Exception $e) { throw $e; } }