/** * LBoxCacheFront alias * @return int */ public function getLastCacheModificationTime() { try { return LBoxCacheFront::getInstance("", "", $this->isPageCachedByXTUserByURL())->getLastCacheModificationTime(); } catch (Exception $e) { throw $e; } }
/** * vraci cache group podle momentalni URL * @return int */ public static function setXTUserIDForce($id = 0) { try { if ($id instanceof XTUsersRecord) { $id = $id->id; } if (!is_numeric($id) || $id < 1) { throw new LBoxExceptionCache(LBoxExceptionCache::MSG_PARAM_INT_NOTNULL, LBoxExceptionCache::CODE_BAD_PARAM); } self::$xTUserIDForce = $id; } catch (Exception $e) { throw $e; } }