示例#1
0
 /**
  * Method for clearing static caches.
  *
  * @return void
  *
  * @since   11.3
  */
 public static function clearStatics()
 {
     self::$viewLevels = array();
     self::$assetRules = array();
     self::$userGroups = array();
     self::$userGroupPaths = array();
     self::$groupsByUser = array();
 }
示例#2
0
文件: access.php 项目: adjaika/J3Base
 /**
  * Method for clearing static caches.
  *
  * @return  void
  *
  * @since   11.3
  */
 public static function clearStatics()
 {
     self::$viewLevels = array();
     self::$assetPermissionsById = array();
     self::$assetPermissionsByName = array();
     self::$assetPermissionsParentIdMapping = array();
     self::$preloadedAssetTypes = array();
     self::$identities = array();
     self::$assetRules = array();
     self::$userGroups = array();
     self::$userGroupPaths = array();
     self::$groupsByUser = array();
 }