Detailed Description
Member Function Documentation
static ilMailUserCache::getUserObjectById |
( |
|
$usr_id | ) |
|
|
static |
- Parameters
-
- Returns
- ilObjUser|null
Definition at line 85 of file class.ilMailUserCache.php.
Referenced by ilPDMailBlockGUI\fillRow().
{
if(!$usr_id)
{
return NULL;
}
if(!array_key_exists($usr_id, self::$requested_usr_ids_key_map))
{
self::preloadUserObjects(array($usr_id));
}
return isset(self::$user_instances[$usr_id]) ? self::$user_instances[$usr_id] : NULL;
}
Field Documentation
ilMailUserCache::$requested_usr_ids = array() |
|
staticprotected |
ilMailUserCache::$requested_usr_ids_key_map = array() |
|
staticprotected |
ilMailUserCache::$user_instances = array() |
|
staticprotected |
The documentation for this class was generated from the following file: