示例#1
0
 /**
  * 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;
     }
 }
示例#2
0
 /**
  * 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;
     }
 }
示例#3
0
 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;
     }
 }
示例#4
0
 /**
  * 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;
     }
 }