Exemple #1
0
 /**
  * 强制更新缓存
  */
 public function updateCache()
 {
     //
     self::$__groups = null;
     if (isset($this->cache)) {
         self::$__models = $this->buildGroupsList();
         $this->cache->set('admin.groups', self::$__models);
     }
     return true;
 }