ILIAS
release_4-3 Revision
|
+-----------------------------------------------------------------------——+ | 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. More...
Public Member Functions | |
getServerId () | |
getCommunityId () | |
setOwnId ($a_id) | |
getOwnId () | |
setCommunityName ($a_name) | |
getCommunityName () | |
setMids ($a_mids) | |
getMids () | |
update () | |
Create or update ecs community ilDB $ilDB. |
Static Public Member Functions | |
static | getInstance ($a_sid, $a_cid) |
Get instance. | |
static | deleteByServerId ($a_server_id) |
Protected Member Functions | |
__construct ($sid, $cid) | |
Singleton constructor. | |
create () | |
Create new dataset ilDB $ilDB. | |
read () | |
Read dataset ilDB $ilDB. |
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 |
|
protected |
Create new dataset ilDB $ilDB.
Definition at line 145 of file class.ilECSCommunityCache.php.
References $query, getCommunityId(), getCommunityName(), getMids(), getOwnId(), and getServerId().
Referenced by update().
|
static |
Definition at line 186 of file class.ilECSCommunityCache.php.
References $query.
Referenced by ilECSSetting\delete().
ilECSCommunityCache::getCommunityId | ( | ) |
ilECSCommunityCache::getCommunityName | ( | ) |
Definition at line 100 of file class.ilECSCommunityCache.php.
References $cname.
Referenced by create(), and update().
|
static |
Get instance.
int | $a_sid | |
int | $a_cid |
Definition at line 64 of file class.ilECSCommunityCache.php.
Referenced by ilECSSettingsGUI\updateCommunities().
ilECSCommunityCache::getMids | ( | ) |
Definition at line 110 of file class.ilECSCommunityCache.php.
References $mids.
Referenced by create(), and update().
ilECSCommunityCache::getOwnId | ( | ) |
Definition at line 90 of file class.ilECSCommunityCache.php.
References $own_id.
Referenced by create(), and update().
ilECSCommunityCache::getServerId | ( | ) |
|
protected |
Read dataset ilDB $ilDB.
Definition at line 166 of file class.ilECSCommunityCache.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, getCommunityId(), getServerId(), setCommunityName(), setMids(), and setOwnId().
Referenced by __construct().
ilECSCommunityCache::setCommunityName | ( | $a_name | ) |
Definition at line 95 of file class.ilECSCommunityCache.php.
Referenced by read().
ilECSCommunityCache::setMids | ( | $a_mids | ) |
Definition at line 105 of file class.ilECSCommunityCache.php.
Referenced by read().
ilECSCommunityCache::setOwnId | ( | $a_id | ) |
Definition at line 85 of file class.ilECSCommunityCache.php.
Referenced by read().
ilECSCommunityCache::update | ( | ) |
Create or update ecs community ilDB $ilDB.
Definition at line 120 of file class.ilECSCommunityCache.php.
References $query, create(), getCommunityId(), getCommunityName(), getMids(), getOwnId(), and getServerId().
|
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().