ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilForumAuthorInformationCache Class Reference

ilForumAuthorInformationCache More...

+ Collaboration diagram for ilForumAuthorInformationCache:

Static Public Member Functions

static getUserObjectById ($usr_id)

Static Protected Attributes

static $user_instances = array()
static $requested_usr_ids = array()
static $requested_usr_ids_key_map = array()

Detailed Description

Member Function Documentation

static ilForumAuthorInformationCache::getUserObjectById (   $usr_id)
static
Parameters
int$usr_id
Returns
ilObjUser|null

Definition at line 88 of file class.ilForumAuthorInformationCache.php.

References $usr_id.

Referenced by ilForumAuthorInformation\initUserInstance().

{
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;
}

+ Here is the caller graph for this function:

Field Documentation

ilForumAuthorInformationCache::$requested_usr_ids = array()
staticprotected

Definition at line 22 of file class.ilForumAuthorInformationCache.php.

ilForumAuthorInformationCache::$requested_usr_ids_key_map = array()
staticprotected

Definition at line 28 of file class.ilForumAuthorInformationCache.php.

ilForumAuthorInformationCache::$user_instances = array()
staticprotected

Definition at line 16 of file class.ilForumAuthorInformationCache.php.


The documentation for this class was generated from the following file: