| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ilECSCommunityCache:Public Member Functions | |
| getServerId () | |
| getCommunityId () | |
| setOwnId (int $a_id) | |
| getOwnId () | |
| setCommunityName (string $a_name) | |
| getCommunityName () | |
| setMids (array $a_mids) | |
| getMids () | |
| update () | |
| Create or update ecs community.  More... | |
| deleteByServerId (int $a_server_id) | |
Static Public Member Functions | |
| static | getInstance (int $a_server_id, int $a_community_id) | 
| Get instance.  More... | |
Protected Member Functions | |
| __construct (int $server_id, int $community_id) | |
| Singleton constructor.  More... | |
| create () | |
| Create new dataset.  More... | |
Protected Attributes | |
| int | $server_id = 0 | 
| int | $community_id = 0 | 
| int | $own_id = 0 | 
| string | $cname = '' | 
| array | $mids = array() | 
| bool | $entryExists = false | 
Static Protected Attributes | |
| static array | $instance = [] | 
Private Member Functions | |
| read () | |
| Read dataset.  More... | |
Private Attributes | |
| ilDBInterface | $db | 
Definition at line 23 of file class.ilECSCommunityCache.php.
      
  | 
  protected | 
Singleton constructor.
| int | $server_id | |
| int | $community_id | 
Definition at line 43 of file class.ilECSCommunityCache.php.
References $community_id, $DIC, $server_id, and read().
 Here is the call graph for this function:
      
  | 
  protected | 
Create new dataset.
Definition at line 136 of file class.ilECSCommunityCache.php.
References getCommunityId(), getCommunityName(), getMids(), getOwnId(), and getServerId().
Referenced by update().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilECSCommunityCache::deleteByServerId | ( | int | $a_server_id | ) | 
| int | $a_server_id | 
Definition at line 175 of file class.ilECSCommunityCache.php.
| ilECSCommunityCache::getCommunityId | ( | ) | 
Definition at line 77 of file class.ilECSCommunityCache.php.
References $community_id.
Referenced by create(), read(), and update().
 Here is the caller graph for this function:| ilECSCommunityCache::getCommunityName | ( | ) | 
Definition at line 97 of file class.ilECSCommunityCache.php.
References $cname.
Referenced by create(), and update().
 Here is the caller graph for this function:
      
  | 
  static | 
Get instance.
| int | $a_server_id | |
| int | $a_community_id | 
Definition at line 61 of file class.ilECSCommunityCache.php.
Referenced by ilECSSetting\delete(), ilECSCommunitiesCache\read(), and ilECSSettingsGUI\updateCommunities().
 Here is the caller graph for this function:| ilECSCommunityCache::getMids | ( | ) | 
Definition at line 107 of file class.ilECSCommunityCache.php.
References $mids.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilECSCommunityCache::getOwnId | ( | ) | 
Definition at line 87 of file class.ilECSCommunityCache.php.
References $own_id.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilECSCommunityCache::getServerId | ( | ) | 
Definition at line 72 of file class.ilECSCommunityCache.php.
References $server_id.
Referenced by create(), read(), and update().
 Here is the caller graph for this function:
      
  | 
  private | 
Read dataset.
Definition at line 153 of file class.ilECSCommunityCache.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, getCommunityId(), getServerId(), setCommunityName(), setMids(), and setOwnId().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilECSCommunityCache::setCommunityName | ( | string | $a_name | ) | 
Definition at line 92 of file class.ilECSCommunityCache.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSCommunityCache::setMids | ( | array | $a_mids | ) | 
Definition at line 102 of file class.ilECSCommunityCache.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSCommunityCache::setOwnId | ( | int | $a_id | ) | 
Definition at line 82 of file class.ilECSCommunityCache.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSCommunityCache::update | ( | ) | 
Create or update ecs community.
Definition at line 115 of file class.ilECSCommunityCache.php.
References create(), getCommunityId(), getCommunityName(), getMids(), getOwnId(), and getServerId().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 31 of file class.ilECSCommunityCache.php.
Referenced by getCommunityName().
      
  | 
  protected | 
Definition at line 29 of file class.ilECSCommunityCache.php.
Referenced by __construct(), and getCommunityId().
      
  | 
  private | 
Definition at line 36 of file class.ilECSCommunityCache.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilECSCommunityCache.php.
      
  | 
  staticprotected | 
Definition at line 26 of file class.ilECSCommunityCache.php.
      
  | 
  protected | 
Definition at line 32 of file class.ilECSCommunityCache.php.
Referenced by getMids().
      
  | 
  protected | 
Definition at line 30 of file class.ilECSCommunityCache.php.
Referenced by getOwnId().
      
  | 
  protected | 
Definition at line 28 of file class.ilECSCommunityCache.php.
Referenced by __construct(), and getServerId().