ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_server_id, $mid) | |
Constructor. | |
getServerId () | |
Get server id. | |
setMid ($a_mid) | |
getMid () | |
enableExport ($a_status) | |
isExportEnabled () | |
enableImport ($a_status) | |
isImportEnabled () | |
setImportType ($a_type) | |
getImportType () | |
setTitle ($a_title) | |
getTitle () | |
getCommunityName () | |
setCommunityName ($a_name) | |
update () | |
Update Calls create automatically when no entry exists. | |
delete () | |
Delete one participant entry <type> $ilDB. | |
read () | |
Read stored entry. |
Static Public Member Functions | |
static | getInstance ($a_server_id, $mid) |
Get instance by server id and mid. | |
static | deleteByServerId ($a_server_id) |
Data Fields | |
const | IMPORT_UNCHANGED = 0 |
const | IMPORT_RCRS = 1 |
const | IMPORT_CRS = 2 |
const | IMPORT_CMS = 3 |
Static Protected Attributes | |
static | $instances = array() |
Private Member Functions | |
exists () | |
create () |
Private Attributes | |
$server_id = 0 | |
$mid = 0 | |
$export = false | |
$import = false | |
$import_type = 1 | |
$title = '' | |
$cname = '' | |
$exists = false |
Definition at line 32 of file class.ilECSParticipantSetting.php.
ilECSParticipantSetting::__construct | ( | $a_server_id, | |
$mid | |||
) |
|
private |
Definition at line 188 of file class.ilECSParticipantSetting.php.
References $query, getCommunityName(), getImportType(), getMid(), getServerId(), getTitle(), isExportEnabled(), and isImportEnabled().
Referenced by update().
ilECSParticipantSetting::delete | ( | ) |
Delete one participant entry <type> $ilDB.
Definition at line 213 of file class.ilECSParticipantSetting.php.
References $query, getMid(), and getServerId().
Referenced by ilECSSettingsGUI\refreshParticipants().
|
static |
Definition at line 251 of file class.ilECSParticipantSetting.php.
References $query.
Referenced by ilECSSetting\delete().
ilECSParticipantSetting::enableExport | ( | $a_status | ) |
Definition at line 103 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::enableImport | ( | $a_status | ) |
Definition at line 113 of file class.ilECSParticipantSetting.php.
Referenced by read().
|
private |
Definition at line 156 of file class.ilECSParticipantSetting.php.
References $exists.
Referenced by read(), and update().
ilECSParticipantSetting::getCommunityName | ( | ) |
Definition at line 146 of file class.ilECSParticipantSetting.php.
References $cname.
Referenced by create(), and update().
ilECSParticipantSetting::getImportType | ( | ) |
Definition at line 131 of file class.ilECSParticipantSetting.php.
References $import_type.
Referenced by create(), and update().
|
static |
Get instance by server id and mid.
type | $a_server_id | |
type | $mid |
Definition at line 74 of file class.ilECSParticipantSetting.php.
References $mid.
Referenced by ilECSCmsCourseCommandQueueHandler\checkAllocationActivation(), and ilECSCmsCourseMemberCommandQueueHandler\checkAllocationActivation().
ilECSParticipantSetting::getMid | ( | ) |
ilECSParticipantSetting::getServerId | ( | ) |
Get server id.
Definition at line 88 of file class.ilECSParticipantSetting.php.
References $server_id.
Referenced by create(), delete(), read(), and update().
ilECSParticipantSetting::getTitle | ( | ) |
Definition at line 141 of file class.ilECSParticipantSetting.php.
References $title.
Referenced by create(), and update().
ilECSParticipantSetting::isExportEnabled | ( | ) |
Definition at line 108 of file class.ilECSParticipantSetting.php.
References $export.
Referenced by create(), and update().
ilECSParticipantSetting::isImportEnabled | ( | ) |
Definition at line 118 of file class.ilECSParticipantSetting.php.
References $import.
Referenced by create(), and update().
ilECSParticipantSetting::read | ( | ) |
Read stored entry.
Definition at line 228 of file class.ilECSParticipantSetting.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, enableExport(), enableImport(), exists(), getMid(), getServerId(), setCommunityName(), setImportType(), and setTitle().
Referenced by __construct().
ilECSParticipantSetting::setCommunityName | ( | $a_name | ) |
Definition at line 151 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::setImportType | ( | $a_type | ) |
Definition at line 123 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::setMid | ( | $a_mid | ) |
Definition at line 93 of file class.ilECSParticipantSetting.php.
ilECSParticipantSetting::setTitle | ( | $a_title | ) |
Definition at line 136 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::update | ( | ) |
Update Calls create automatically when no entry exists.
Definition at line 165 of file class.ilECSParticipantSetting.php.
References $query, create(), exists(), getCommunityName(), getImportType(), getMid(), getServerId(), getTitle(), isExportEnabled(), and isImportEnabled().
|
private |
Definition at line 49 of file class.ilECSParticipantSetting.php.
Referenced by getCommunityName().
|
private |
Definition at line 52 of file class.ilECSParticipantSetting.php.
Referenced by exists().
|
private |
Definition at line 45 of file class.ilECSParticipantSetting.php.
Referenced by isExportEnabled().
|
private |
Definition at line 46 of file class.ilECSParticipantSetting.php.
Referenced by isImportEnabled().
|
private |
Definition at line 47 of file class.ilECSParticipantSetting.php.
Referenced by getImportType().
|
staticprotected |
Definition at line 34 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 44 of file class.ilECSParticipantSetting.php.
Referenced by __construct(), getInstance(), and getMid().
|
private |
Definition at line 43 of file class.ilECSParticipantSetting.php.
Referenced by getServerId().
|
private |
Definition at line 48 of file class.ilECSParticipantSetting.php.
Referenced by getTitle().
const ilECSParticipantSetting::IMPORT_CMS = 3 |
Definition at line 41 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow(), ilECSParticipantSettings\loookupCmsMid(), and ilECSSettingsGUI\validateImportTypes().
const ilECSParticipantSetting::IMPORT_CRS = 2 |
Definition at line 40 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow().
const ilECSParticipantSetting::IMPORT_RCRS = 1 |
Definition at line 39 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow().
const ilECSParticipantSetting::IMPORT_UNCHANGED = 0 |
Definition at line 38 of file class.ilECSParticipantSetting.php.
Referenced by ilECSSettingsGUI\validateImportTypes().