protected _getListCache ( string $user = null ) : array | ||
$user | string | A user name. |
Résultat | array | The group list or null if not cached. |
protected function _getListCache($user = null)
{
$sig = $this->_sig('list');
if (!is_null($user)) {
$sig .= '_' . $user;
}
try {
if ($list = $this->_cache->get($sig, 0)) {
return @unserialize($list);
}
} catch (Horde_Cache_Exception $e) {
}
}