ILIAS
release_8 Revision v8.23
|
Public Member Functions | |
delete (int $a_server_id) | |
Delete comunities by server id. More... | |
getCommunities () | |
Get communities. More... | |
lookupOwnId (int $a_server_id, int $a_mid) | |
Lookup own mid of the community of a mid. More... | |
lookupTitle (int $a_server_id, int $a_mid) | |
Lookup community title. More... | |
Static Public Member Functions | |
static | getInstance () |
Singleton instance. More... | |
Protected Member Functions | |
__construct () | |
Singleton constructor. More... | |
Private Member Functions | |
read () | |
Read comunities. More... | |
Private Attributes | |
ilDBInterface | $db |
array | $communities = array() |
Static Private Attributes | |
static ilECSCommunitiesCache | $instance = null |
Definition at line 23 of file class.ilECSCommunitiesCache.php.
|
protected |
Singleton constructor.
Definition at line 34 of file class.ilECSCommunitiesCache.php.
ilECSCommunitiesCache::delete | ( | int | $a_server_id | ) |
Delete comunities by server id.
Definition at line 55 of file class.ilECSCommunitiesCache.php.
References $query, and read().
ilECSCommunitiesCache::getCommunities | ( | ) |
Get communities.
Definition at line 67 of file class.ilECSCommunitiesCache.php.
References $communities.
Referenced by lookupOwnId(), and lookupTitle().
|
static |
Singleton instance.
Definition at line 47 of file class.ilECSCommunitiesCache.php.
Referenced by ilECSUtils\getMatchableContent().
ilECSCommunitiesCache::lookupOwnId | ( | int | $a_server_id, |
int | $a_mid | ||
) |
Lookup own mid of the community of a mid.
Definition at line 75 of file class.ilECSCommunitiesCache.php.
References getCommunities().
ilECSCommunitiesCache::lookupTitle | ( | int | $a_server_id, |
int | $a_mid | ||
) |
Lookup community title.
int | server_id |
int | mid |
Definition at line 90 of file class.ilECSCommunitiesCache.php.
References getCommunities().
|
private |
Read comunities.
Definition at line 103 of file class.ilECSCommunitiesCache.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ilECSCommunityCache\getInstance().
Referenced by __construct(), and delete().
|
private |
Definition at line 29 of file class.ilECSCommunitiesCache.php.
Referenced by getCommunities().
|
private |
Definition at line 27 of file class.ilECSCommunitiesCache.php.
|
staticprivate |
Definition at line 25 of file class.ilECSCommunitiesCache.php.