ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
getServerId () | |
Get server id. | |
read () | |
Read stored entry. | |
isImportAllowed (array $a_mids) | |
Check if import is allowed for scecific mid. | |
getEnabledParticipants () | |
get number of participants that are enabled | |
isEnabled ($a_mid) | |
is partivcipant enabled | |
setEnabledParticipants ($a_parts) | |
set enabled participants by community |
Static Public Member Functions | |
static | _getInstance () |
get instance | |
static | getInstanceByServerId ($a_server_id) |
Get instance by server id. | |
static | getAvailabeMids ($a_server_id) |
Get all available mids $ilDB. | |
static | getExportableParticipants ($a_type) |
Get participants which are enabled and export is allowed. | |
static | getExportServers () |
Get server ids which allow an export <type> $ilDB. | |
static | deleteByServer ($a_server_id) |
Delete by server $ilDB. | |
static | loookupCmsMid ($a_server_id) |
Lookup mid of current cms participant $ilDB. |
Private Member Functions | |
__construct ($a_server_id) | |
Constructor (Singleton) |
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, and getInstanceByServerId().
|
static |
Delete by server $ilDB.
int | $a_server_id |
Definition at line 158 of file class.ilECSParticipantSettings.php.
Referenced by ilECSSettingsGUI\doDelete().
|
static |
Get all available mids $ilDB.
type | $a_server_id |
Definition at line 86 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSSettingsGUI\refreshParticipants().
ilECSParticipantSettings::getEnabledParticipants | ( | ) |
get number of participants that are enabled
public
Definition at line 244 of file class.ilECSParticipantSettings.php.
References $ret.
|
static |
Get participants which are enabled and export is allowed.
Definition at line 106 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\addSettingsToForm().
|
static |
Get server ids which allow an export <type> $ilDB.
Definition at line 136 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, and DB_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 _getInstance(), and ilRemoteObjectBase\handleUpdate().
ilECSParticipantSettings::getServerId | ( | ) |
Get server id.
Definition at line 193 of file class.ilECSParticipantSettings.php.
Referenced by read().
ilECSParticipantSettings::isEnabled | ( | $a_mid | ) |
is partivcipant enabled
public
int | mid |
Definition at line 266 of file class.ilECSParticipantSettings.php.
ilECSParticipantSettings::isImportAllowed | ( | array | $a_mids | ) |
Check if import is allowed for scecific mid.
array | $a_mids |
Definition at line 226 of file class.ilECSParticipantSettings.php.
|
static |
Lookup mid of current cms participant $ilDB.
int | $a_server_id |
Definition at line 172 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and ilECSParticipantSetting\IMPORT_CMS.
Referenced by ilECSCmsTreeCommandQueueHandler\init(), and ilECSMappingSettingsGUI\setTabs().
ilECSParticipantSettings::read | ( | ) |
Read stored entry.
Definition at line 203 of file class.ilECSParticipantSettings.php.
References $ilDB, $query, $res, $row, DB_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 278 of file class.ilECSParticipantSettings.php.
|
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.