ILIAS
Release_5_0_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) | |
isTokenEnabled () | |
enableToken ($a_stat) | |
setExportTypes ($a_types) | |
getExportTypes () | |
setImportTypes ($a_types) | |
isDeprecatedTokenEnabled () | |
enableDeprecatedToken ($a_stat) | |
getImportTypes () | |
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 | AUTH_VERSION_4 = 1 |
const | AUTH_VERSION_5 = 2 |
const | PERSON_EPPN = 1 |
const | PERSON_LUID = 2 |
const | PERSON_LOGIN = 3 |
const | PERSON_UID = 4 |
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 = '' | |
$token = true | |
$dtoken = true | |
$auth_version = self::AUTH_VERSION_4 | |
$person_type = self::PERSON_UID | |
$export_types = array() | |
$import_types = array() | |
$exists = false |
Definition at line 32 of file class.ilECSParticipantSetting.php.
ilECSParticipantSetting::__construct | ( | $a_server_id, | |
$mid | |||
) |
|
private |
Definition at line 248 of file class.ilECSParticipantSetting.php.
References $ilDB, $query, getCommunityName(), getExportTypes(), getImportType(), getImportTypes(), getMid(), getServerId(), getTitle(), isDeprecatedTokenEnabled(), isExportEnabled(), isImportEnabled(), and isTokenEnabled().
Referenced by update().
ilECSParticipantSetting::delete | ( | ) |
Delete one participant entry <type> $ilDB.
Definition at line 277 of file class.ilECSParticipantSetting.php.
References $ilDB, $query, getMid(), and getServerId().
Referenced by ilECSSettingsGUI\refreshParticipants().
|
static |
Definition at line 320 of file class.ilECSParticipantSetting.php.
Referenced by ilECSSetting\delete().
ilECSParticipantSetting::enableDeprecatedToken | ( | $a_stat | ) |
Definition at line 202 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::enableExport | ( | $a_status | ) |
Definition at line 119 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::enableImport | ( | $a_status | ) |
Definition at line 129 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::enableToken | ( | $a_stat | ) |
Definition at line 177 of file class.ilECSParticipantSetting.php.
Referenced by read().
|
private |
Definition at line 212 of file class.ilECSParticipantSetting.php.
References $exists.
Referenced by read(), and update().
ilECSParticipantSetting::getCommunityName | ( | ) |
Definition at line 162 of file class.ilECSParticipantSetting.php.
References $cname.
Referenced by create(), and update().
ilECSParticipantSetting::getExportTypes | ( | ) |
Definition at line 187 of file class.ilECSParticipantSetting.php.
References $export_types.
Referenced by create(), and update().
ilECSParticipantSetting::getImportType | ( | ) |
Definition at line 147 of file class.ilECSParticipantSetting.php.
References $import_type.
Referenced by create(), and update().
ilECSParticipantSetting::getImportTypes | ( | ) |
Definition at line 207 of file class.ilECSParticipantSetting.php.
References $import_types.
Referenced by create(), and update().
|
static |
Get instance by server id and mid.
type | $a_server_id | |
type | $mid |
Definition at line 90 of file class.ilECSParticipantSetting.php.
References $mid.
Referenced by ilECSCmsCourseCommandQueueHandler\checkAllocationActivation(), and ilECSCmsCourseMemberCommandQueueHandler\checkAllocationActivation().
ilECSParticipantSetting::getMid | ( | ) |
ilECSParticipantSetting::getServerId | ( | ) |
Get server id.
Definition at line 104 of file class.ilECSParticipantSetting.php.
References $server_id.
Referenced by create(), delete(), read(), and update().
ilECSParticipantSetting::getTitle | ( | ) |
Definition at line 157 of file class.ilECSParticipantSetting.php.
References $title.
Referenced by create(), and update().
ilECSParticipantSetting::isDeprecatedTokenEnabled | ( | ) |
Definition at line 197 of file class.ilECSParticipantSetting.php.
References $dtoken.
Referenced by create(), and update().
ilECSParticipantSetting::isExportEnabled | ( | ) |
Definition at line 124 of file class.ilECSParticipantSetting.php.
References $export.
Referenced by create(), and update().
ilECSParticipantSetting::isImportEnabled | ( | ) |
Definition at line 134 of file class.ilECSParticipantSetting.php.
References $import.
Referenced by create(), and update().
ilECSParticipantSetting::isTokenEnabled | ( | ) |
Definition at line 172 of file class.ilECSParticipantSetting.php.
References $token.
Referenced by create(), and update().
ilECSParticipantSetting::read | ( | ) |
Read stored entry.
Definition at line 292 of file class.ilECSParticipantSetting.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, enableDeprecatedToken(), enableExport(), enableImport(), enableToken(), exists(), getMid(), getServerId(), setCommunityName(), setExportTypes(), setImportType(), setImportTypes(), and setTitle().
Referenced by __construct().
ilECSParticipantSetting::setCommunityName | ( | $a_name | ) |
Definition at line 167 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::setExportTypes | ( | $a_types | ) |
Definition at line 182 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::setImportType | ( | $a_type | ) |
Definition at line 139 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::setImportTypes | ( | $a_types | ) |
Definition at line 192 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::setMid | ( | $a_mid | ) |
Definition at line 109 of file class.ilECSParticipantSetting.php.
ilECSParticipantSetting::setTitle | ( | $a_title | ) |
Definition at line 152 of file class.ilECSParticipantSetting.php.
Referenced by read().
ilECSParticipantSetting::update | ( | ) |
Update Calls create automatically when no entry exists.
Definition at line 221 of file class.ilECSParticipantSetting.php.
References $ilDB, $query, create(), exists(), getCommunityName(), getExportTypes(), getImportType(), getImportTypes(), getMid(), getServerId(), getTitle(), isDeprecatedTokenEnabled(), isExportEnabled(), isImportEnabled(), and isTokenEnabled().
|
private |
Definition at line 61 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 57 of file class.ilECSParticipantSetting.php.
Referenced by getCommunityName().
|
private |
Definition at line 59 of file class.ilECSParticipantSetting.php.
Referenced by isDeprecatedTokenEnabled().
|
private |
Definition at line 68 of file class.ilECSParticipantSetting.php.
Referenced by exists().
|
private |
Definition at line 53 of file class.ilECSParticipantSetting.php.
Referenced by isExportEnabled().
|
private |
Definition at line 65 of file class.ilECSParticipantSetting.php.
Referenced by getExportTypes().
|
private |
Definition at line 54 of file class.ilECSParticipantSetting.php.
Referenced by isImportEnabled().
|
private |
Definition at line 55 of file class.ilECSParticipantSetting.php.
Referenced by getImportType().
|
private |
Definition at line 66 of file class.ilECSParticipantSetting.php.
Referenced by getImportTypes().
|
staticprotected |
Definition at line 42 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 52 of file class.ilECSParticipantSetting.php.
Referenced by __construct(), getInstance(), and getMid().
|
private |
Definition at line 62 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 51 of file class.ilECSParticipantSetting.php.
Referenced by getServerId().
|
private |
Definition at line 56 of file class.ilECSParticipantSetting.php.
Referenced by getTitle().
|
private |
Definition at line 58 of file class.ilECSParticipantSetting.php.
Referenced by isTokenEnabled().
const ilECSParticipantSetting::AUTH_VERSION_4 = 1 |
Definition at line 34 of file class.ilECSParticipantSetting.php.
const ilECSParticipantSetting::AUTH_VERSION_5 = 2 |
Definition at line 35 of file class.ilECSParticipantSetting.php.
const ilECSParticipantSetting::IMPORT_CMS = 3 |
Definition at line 49 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow(), ilECSParticipantSettings\loookupCmsMid(), and ilECSSettingsGUI\validateImportTypes().
const ilECSParticipantSetting::IMPORT_CRS = 2 |
Definition at line 48 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow().
const ilECSParticipantSetting::IMPORT_RCRS = 1 |
Definition at line 47 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow().
const ilECSParticipantSetting::IMPORT_UNCHANGED = 0 |
Definition at line 46 of file class.ilECSParticipantSetting.php.
Referenced by ilECSSettingsGUI\validateImportTypes().
const ilECSParticipantSetting::PERSON_EPPN = 1 |
Definition at line 37 of file class.ilECSParticipantSetting.php.
const ilECSParticipantSetting::PERSON_LOGIN = 3 |
Definition at line 39 of file class.ilECSParticipantSetting.php.
const ilECSParticipantSetting::PERSON_LUID = 2 |
Definition at line 38 of file class.ilECSParticipantSetting.php.
const ilECSParticipantSetting::PERSON_UID = 4 |
Definition at line 40 of file class.ilECSParticipantSetting.php.