|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
+--------------------------------------------------------------------------—+ | ILIAS open source | +--------------------------------------------------------------------------—+ More...
Collaboration diagram for ilECSCommunityCache:Public Member Functions | |
| getServerId () | |
| getCommunityId () | |
| setOwnId ($a_id) | |
| getOwnId () | |
| setCommunityName ($a_name) | |
| getCommunityName () | |
| setMids ($a_mids) | |
| getMids () | |
| update () | |
| Create or update ecs community @global ilDB $ilDB. More... | |
Static Public Member Functions | |
| static | getInstance ($a_sid, $a_cid) |
| Get instance. More... | |
| static | deleteByServerId ($a_server_id) |
Protected Member Functions | |
| __construct ($sid, $cid) | |
| Singleton constructor. More... | |
| create () | |
| Create new dataset @global ilDB $ilDB. More... | |
| read () | |
| Read dataset @global ilDB $ilDB. More... | |
Protected Attributes | |
| $sid = 0 | |
| $cid = 0 | |
| $own_id = 0 | |
| $cname = '' | |
| $mids = array() | |
| $entryExists = false | |
Static Protected Attributes | |
| static | $instance = null |
+--------------------------------------------------------------------------—+ | ILIAS open source | +--------------------------------------------------------------------------—+
| Copyright (c) 1998-2006 ILIAS open source, University of Cologne |
|---|
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
| You should have received a copy of the GNU General Public License |
| along with this program; if not, write to the Free Software |
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
+--------------------------------------------------------------------------—+
Definition at line 32 of file class.ilECSCommunityCache.php.
|
protected |
Singleton constructor.
| int | $sid | |
| int | $cid |
Definition at line 50 of file class.ilECSCommunityCache.php.
References $cid, $sid, and read().
Here is the call graph for this function:
|
protected |
Create new dataset @global ilDB $ilDB.
Definition at line 145 of file class.ilECSCommunityCache.php.
References $ilDB, $query, 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:
|
static |
Definition at line 186 of file class.ilECSCommunityCache.php.
Referenced by ilECSSetting\delete().
Here is the caller graph for this function:| ilECSCommunityCache::getCommunityId | ( | ) |
| ilECSCommunityCache::getCommunityName | ( | ) |
Definition at line 100 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_sid | |
| int | $a_cid |
Definition at line 64 of file class.ilECSCommunityCache.php.
Referenced by ilECSCommunitiesCache\read(), and ilECSSettingsGUI\updateCommunities().
Here is the caller graph for this function:| ilECSCommunityCache::getMids | ( | ) |
Definition at line 110 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 90 of file class.ilECSCommunityCache.php.
References $own_id.
Referenced by create(), and update().
Here is the caller graph for this function:| ilECSCommunityCache::getServerId | ( | ) |
|
protected |
Read dataset @global ilDB $ilDB.
Definition at line 166 of file class.ilECSCommunityCache.php.
References $ilDB, $query, $res, $row, DB_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 | ( | $a_name | ) |
Definition at line 95 of file class.ilECSCommunityCache.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCommunityCache::setMids | ( | $a_mids | ) |
Definition at line 105 of file class.ilECSCommunityCache.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCommunityCache::setOwnId | ( | $a_id | ) |
Definition at line 85 of file class.ilECSCommunityCache.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCommunityCache::update | ( | ) |
Create or update ecs community @global ilDB $ilDB.
Definition at line 120 of file class.ilECSCommunityCache.php.
References $ilDB, $query, create(), getCommunityId(), getCommunityName(), getMids(), getOwnId(), and getServerId().
Here is the call graph for this function:
|
protected |
Definition at line 37 of file class.ilECSCommunityCache.php.
Referenced by __construct(), and getCommunityId().
|
protected |
Definition at line 39 of file class.ilECSCommunityCache.php.
Referenced by getCommunityName().
|
protected |
Definition at line 42 of file class.ilECSCommunityCache.php.
|
staticprotected |
Definition at line 34 of file class.ilECSCommunityCache.php.
|
protected |
Definition at line 40 of file class.ilECSCommunityCache.php.
Referenced by getMids().
|
protected |
Definition at line 38 of file class.ilECSCommunityCache.php.
Referenced by getOwnId().
|
protected |
Definition at line 36 of file class.ilECSCommunityCache.php.
Referenced by __construct(), and getServerId().