ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
getServerId () | |
Get server id. More... | |
read () | |
Read stored entry. More... | |
isImportAllowed (array $a_mids) | |
Check if import is allowed for scecific mid. More... | |
getEnabledParticipants () | |
get number of participants that are enabled More... | |
isEnabled ($a_mid) | |
is partivcipant enabled More... | |
setEnabledParticipants ($a_parts) | |
set enabled participants by community More... | |
Static Public Member Functions | |
static | _getInstance () |
get instance More... | |
static | getInstanceByServerId ($a_server_id) |
Get instance by server id. More... | |
static | getAvailabeMids ($a_server_id) |
Get all available mids $ilDB. More... | |
static | getExportableParticipants ($a_type) |
Get participants which are enabled and export is allowed. More... | |
static | getExportServers () |
Get server ids which allow an export <type> $ilDB. More... | |
static | deleteByServer ($a_server_id) |
Delete by server $ilDB. More... | |
static | loookupCmsMid ($a_server_id) |
Lookup mid of current cms participant $ilDB. More... | |
Private Member Functions | |
__construct ($a_server_id) | |
Constructor (Singleton) More... | |
Private Attributes | |
$export = array() | |
$import = array() | |
$export_type = array() | |
Static Private Attributes | |
static | $instances = null |
Definition at line 32 of file class.ilECSParticipantSettings.php.
|
private |
Constructor (Singleton)
private
Definition at line 46 of file class.ilECSParticipantSettings.php.
References read().
|
static |
get instance
public
Definition at line 59 of file class.ilECSParticipantSettings.php.
References $GLOBALS.
|
static |
Delete by server $ilDB.
int | $a_server_id |
Definition at line 153 of file class.ilECSParticipantSettings.php.
Referenced by ilECSSettingsGUI\doDelete().
|
static |
Get all available mids $ilDB.
type | $a_server_id |
Definition at line 85 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSSettingsGUI\refreshParticipants().
ilECSParticipantSettings::getEnabledParticipants | ( | ) |
get number of participants that are enabled
public
Definition at line 235 of file class.ilECSParticipantSettings.php.
References $ret, array, and export.
|
static |
Get participants which are enabled and export is allowed.
Definition at line 104 of file class.ilECSParticipantSettings.php.
References $a_type, $counter, $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\addSettingsToForm().
|
static |
Get server ids which allow an export <type> $ilDB.
Definition at line 132 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\handleSettingsUpdate().
|
static |
Get instance by server id.
int | $a_server_id |
Definition at line 71 of file class.ilECSParticipantSettings.php.
Referenced by ilECSCommunityReader\getEnabledParticipants(), and ilRemoteObjectBase\handleUpdate().
ilECSParticipantSettings::getServerId | ( | ) |
Get server id.
Definition at line 187 of file class.ilECSParticipantSettings.php.
Referenced by read().
ilECSParticipantSettings::isEnabled | ( | $a_mid | ) |
is partivcipant enabled
public
int | mid |
Definition at line 255 of file class.ilECSParticipantSettings.php.
References export.
ilECSParticipantSettings::isImportAllowed | ( | array | $a_mids | ) |
Check if import is allowed for scecific mid.
array | $a_mids |
Definition at line 219 of file class.ilECSParticipantSettings.php.
|
static |
Lookup mid of current cms participant $ilDB.
int | $a_server_id |
Definition at line 167 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and ilECSParticipantSetting\IMPORT_CMS.
Referenced by ilECSCmsTreeCommandQueueHandler\init(), and ilECSMappingSettingsGUI\setTabs().
ilECSParticipantSettings::read | ( | ) |
Read stored entry.
Definition at line 197 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, array, export, ilDBConstants\FETCHMODE_OBJECT, and getServerId().
Referenced by __construct().
ilECSParticipantSettings::setEnabledParticipants | ( | $a_parts | ) |
set enabled participants by community
public
int | community id |
array | participant ids |
Definition at line 267 of file class.ilECSParticipantSettings.php.
References array.
|
private |
Definition at line 36 of file class.ilECSParticipantSettings.php.
|
private |
Definition at line 38 of file class.ilECSParticipantSettings.php.
|
private |
Definition at line 37 of file class.ilECSParticipantSettings.php.
|
staticprivate |
Definition at line 34 of file class.ilECSParticipantSettings.php.