|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ilECSParticipantSetting:Static Public Member Functions | |
| static | getInstance (int $a_server_id, int $mid) |
| Get instance by server id and mid. More... | |
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 | LOGIN_PLACEHOLDER = '[LOGIN]' |
| const | EXTERNAL_ACCOUNT_PLACEHOLDER = '[EXTERNAL_ACCOUNT]' |
| const | INCOMING_AUTH_TYPE_INACTIVE = 0 |
| const | INCOMING_AUTH_TYPE_LOGIN_PAGE = 1 |
| const | INCOMING_AUTH_TYPE_SHIBBOLETH = 2 |
| const | INCOMING_AUTH_TYPE_OIDC = 3 |
| const | OUTGOING_AUTH_MODE_DEFAULT = 'default' |
| const | VALIDATION_OK = 0 |
| const | ERR_MISSING_USERNAME_PLACEHOLDER = 1 |
| const | IMPORT_UNCHANGED = 0 |
| const | IMPORT_RCRS = 1 |
| const | IMPORT_CRS = 2 |
| const | IMPORT_CMS = 3 |
Static Protected Attributes | |
| static array | $instances = [] |
Private Member Functions | |
| exists () | |
| create () | |
| read () | |
| Read stored entry. More... | |
Private Attributes | |
| int | $server_id |
| int | $mid |
| bool | $export = false |
| bool | $import = false |
| int | $import_type = 1 |
| string | $title = '' |
| string | $cname = '' |
| bool | $token = true |
| bool | $dtoken = true |
| int | $auth_version = self::AUTH_VERSION_4 |
| int | $person_type = self::PERSON_UID |
| array | $export_types = array() |
| array | $import_types = array() |
| array | $username_placeholders = [] |
| bool | $incoming_local_accounts = true |
| int | $incoming_auth_type = self::INCOMING_AUTH_TYPE_INACTIVE |
| array | $outgoing_auth_modes = [] |
| bool | $exists = false |
| ilDBInterface | $db |
Definition at line 24 of file class.ilECSParticipantSetting.php.
| ilECSParticipantSetting::__construct | ( | int | $a_server_id, |
| int | $mid | ||
| ) |
Definition at line 85 of file class.ilECSParticipantSetting.php.
References $DIC, $mid, and read().
Here is the call graph for this function:| ilECSParticipantSetting::areIncomingLocalAccountsSupported | ( | ) |
Definition at line 216 of file class.ilECSParticipantSetting.php.
References $incoming_local_accounts.
Referenced by create(), and update().
Here is the caller graph for this function:
|
private |
Definition at line 328 of file class.ilECSParticipantSetting.php.
References areIncomingLocalAccountsSupported(), getCommunityName(), getExportTypes(), getImportType(), getImportTypes(), getIncomingAuthType(), getMid(), getOutgoingAuthModes(), getOutgoingUsernamePlaceholders(), getServerId(), getTitle(), isExportEnabled(), isImportEnabled(), isTokenEnabled(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSParticipantSetting::delete | ( | ) |
Delete one participant entry.
Definition at line 355 of file class.ilECSParticipantSetting.php.
References getServerId().
Here is the call graph for this function:| ilECSParticipantSetting::enableExport | ( | bool | $a_status | ) |
Definition at line 129 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::enableImport | ( | bool | $a_status | ) |
Definition at line 139 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::enableIncomingLocalAccounts | ( | bool | $a_status | ) |
Definition at line 221 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::enableToken | ( | bool | $a_stat | ) |
Definition at line 186 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:
|
private |
Definition at line 275 of file class.ilECSParticipantSetting.php.
References $exists.
Referenced by read(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::getCommunityName | ( | ) |
Definition at line 171 of file class.ilECSParticipantSetting.php.
References $cname.
Referenced by create(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::getExportTypes | ( | ) |
Definition at line 196 of file class.ilECSParticipantSetting.php.
References $export_types.
Referenced by create(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::getImportType | ( | ) |
Definition at line 156 of file class.ilECSParticipantSetting.php.
References $import_type.
Referenced by create(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::getImportTypes | ( | ) |
Definition at line 270 of file class.ilECSParticipantSetting.php.
References $import_types.
Referenced by create(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::getIncomingAuthType | ( | ) |
Definition at line 231 of file class.ilECSParticipantSetting.php.
References $incoming_auth_type.
Referenced by create(), and update().
Here is the caller graph for this function:
|
static |
Get instance by server id and mid.
| int | $a_server_id | |
| int | $mid |
Definition at line 102 of file class.ilECSParticipantSetting.php.
References $mid.
Referenced by ilECSCmsCourseCommandQueueHandler\checkAllocationActivation(), ilECSCmsCourseMemberCommandQueueHandler\checkAllocationActivation(), ilECSCommunityReader\createNewParticipants(), ilRemoteObjectBase\getFullRemoteLink(), and ilECSAppEventListener\handleNewAccountCreation().
Here is the caller graph for this function:| ilECSParticipantSetting::getMid | ( | ) |
| ilECSParticipantSetting::getOutgoingAuthModes | ( | ) |
Definition at line 241 of file class.ilECSParticipantSetting.php.
References $outgoing_auth_modes.
Referenced by create(), getOutgoingExternalAuthModes(), isOutgoingAuthModeEnabled(), update(), and validate().
Here is the caller graph for this function:| ilECSParticipantSetting::getOutgoingExternalAuthModes | ( | ) |
Definition at line 249 of file class.ilECSParticipantSetting.php.
References getOutgoingAuthModes(), and OUTGOING_AUTH_MODE_DEFAULT.
Here is the call graph for this function:| ilECSParticipantSetting::getOutgoingUsernamePlaceholderByAuthMode | ( | string | $auth_mode | ) |
Definition at line 211 of file class.ilECSParticipantSetting.php.
References getOutgoingUsernamePlaceholders().
Referenced by validate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSParticipantSetting::getOutgoingUsernamePlaceholders | ( | ) |
Definition at line 201 of file class.ilECSParticipantSetting.php.
References $username_placeholders.
Referenced by create(), getOutgoingUsernamePlaceholderByAuthMode(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::getServerId | ( | ) |
Get server id.
Definition at line 114 of file class.ilECSParticipantSetting.php.
References $server_id.
Referenced by create(), delete(), read(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::getTitle | ( | ) |
Definition at line 166 of file class.ilECSParticipantSetting.php.
References $title.
Referenced by create(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::isExportEnabled | ( | ) |
Definition at line 134 of file class.ilECSParticipantSetting.php.
References $export.
Referenced by create(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::isImportEnabled | ( | ) |
Definition at line 144 of file class.ilECSParticipantSetting.php.
References $import.
Referenced by create(), and update().
Here is the caller graph for this function:| ilECSParticipantSetting::isOutgoingAuthModeEnabled | ( | string | $auth_mode | ) |
Definition at line 259 of file class.ilECSParticipantSetting.php.
References getOutgoingAuthModes().
Here is the call graph for this function:| ilECSParticipantSetting::isTokenEnabled | ( | ) |
Definition at line 181 of file class.ilECSParticipantSetting.php.
References $token.
Referenced by create(), and update().
Here is the caller graph for this function:
|
private |
Read stored entry.
Definition at line 367 of file class.ilECSParticipantSetting.php.
References $res, enableExport(), enableImport(), enableIncomingLocalAccounts(), enableToken(), exists(), ilDBConstants\FETCHMODE_OBJECT, getMid(), getServerId(), setCommunityName(), setExportTypes(), setImportType(), setImportTypes(), setIncomingAuthType(), setOutgoingAuthModes(), setOutgoingUsernamePlaceholders(), setTitle(), and true.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSParticipantSetting::setCommunityName | ( | string | $a_name | ) |
Definition at line 176 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::setExportTypes | ( | array | $a_types | ) |
Definition at line 191 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::setImportType | ( | int | $a_type | ) |
Definition at line 149 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::setImportTypes | ( | array | $a_types | ) |
Definition at line 265 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::setIncomingAuthType | ( | int | $incoming_auth_type | ) |
Definition at line 226 of file class.ilECSParticipantSetting.php.
References $incoming_auth_type.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::setMid | ( | int | $a_mid | ) |
Definition at line 119 of file class.ilECSParticipantSetting.php.
| ilECSParticipantSetting::setOutgoingAuthModes | ( | array | $auth_modes | ) |
Definition at line 236 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::setOutgoingUsernamePlaceholders | ( | array | $a_username_placeholders | ) |
Definition at line 206 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::setTitle | ( | string | $a_title | ) |
Definition at line 161 of file class.ilECSParticipantSetting.php.
Referenced by read().
Here is the caller graph for this function:| ilECSParticipantSetting::update | ( | ) |
Update Calls create automatically when no entry exists.
Definition at line 301 of file class.ilECSParticipantSetting.php.
References areIncomingLocalAccountsSupported(), create(), exists(), getCommunityName(), getExportTypes(), getImportType(), getImportTypes(), getIncomingAuthType(), getMid(), getOutgoingAuthModes(), getOutgoingUsernamePlaceholders(), getServerId(), getTitle(), isExportEnabled(), isImportEnabled(), isTokenEnabled(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ilECSParticipantSetting::validate | ( | ) |
Definition at line 280 of file class.ilECSParticipantSetting.php.
References ERR_MISSING_USERNAME_PLACEHOLDER, getOutgoingAuthModes(), getOutgoingUsernamePlaceholderByAuthMode(), and VALIDATION_OK.
Here is the call graph for this function:
|
private |
Definition at line 67 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 63 of file class.ilECSParticipantSetting.php.
Referenced by getCommunityName().
|
private |
Definition at line 83 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 65 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 81 of file class.ilECSParticipantSetting.php.
Referenced by exists().
|
private |
Definition at line 59 of file class.ilECSParticipantSetting.php.
Referenced by isExportEnabled().
|
private |
Definition at line 71 of file class.ilECSParticipantSetting.php.
Referenced by getExportTypes().
|
private |
Definition at line 60 of file class.ilECSParticipantSetting.php.
Referenced by isImportEnabled().
|
private |
Definition at line 61 of file class.ilECSParticipantSetting.php.
Referenced by getImportType().
|
private |
Definition at line 72 of file class.ilECSParticipantSetting.php.
Referenced by getImportTypes().
|
private |
Definition at line 75 of file class.ilECSParticipantSetting.php.
Referenced by getIncomingAuthType(), and setIncomingAuthType().
|
private |
Definition at line 74 of file class.ilECSParticipantSetting.php.
Referenced by areIncomingLocalAccountsSupported().
|
staticprotected |
Definition at line 48 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 58 of file class.ilECSParticipantSetting.php.
Referenced by __construct(), getInstance(), and getMid().
|
private |
Definition at line 79 of file class.ilECSParticipantSetting.php.
Referenced by getOutgoingAuthModes().
|
private |
Definition at line 68 of file class.ilECSParticipantSetting.php.
|
private |
Definition at line 57 of file class.ilECSParticipantSetting.php.
Referenced by getServerId().
|
private |
Definition at line 62 of file class.ilECSParticipantSetting.php.
Referenced by getTitle().
|
private |
Definition at line 64 of file class.ilECSParticipantSetting.php.
Referenced by isTokenEnabled().
|
private |
Definition at line 73 of file class.ilECSParticipantSetting.php.
Referenced by getOutgoingUsernamePlaceholders().
| const ilECSParticipantSetting::AUTH_VERSION_4 = 1 |
Definition at line 26 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::AUTH_VERSION_5 = 2 |
Definition at line 27 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::ERR_MISSING_USERNAME_PLACEHOLDER = 1 |
Definition at line 45 of file class.ilECSParticipantSetting.php.
Referenced by ilECSParticipantSettingsGUI\saveSettings(), and validate().
| const ilECSParticipantSetting::EXTERNAL_ACCOUNT_PLACEHOLDER = '[EXTERNAL_ACCOUNT]' |
Definition at line 35 of file class.ilECSParticipantSetting.php.
Referenced by ilECSUser\toGET().
| const ilECSParticipantSetting::IMPORT_CMS = 3 |
Definition at line 55 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow(), ilECSParticipantSettings\lookupCmsMid(), and ilECSSettingsGUI\validateImportTypes().
| const ilECSParticipantSetting::IMPORT_CRS = 2 |
Definition at line 54 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow().
| const ilECSParticipantSetting::IMPORT_RCRS = 1 |
Definition at line 53 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow().
| const ilECSParticipantSetting::IMPORT_UNCHANGED = 0 |
Definition at line 52 of file class.ilECSParticipantSetting.php.
Referenced by ilECSSettingsGUI\validateImportTypes().
| const ilECSParticipantSetting::INCOMING_AUTH_TYPE_INACTIVE = 0 |
Definition at line 37 of file class.ilECSParticipantSetting.php.
Referenced by ilECSParticipantSettingsGUI\initFormSettings().
| const ilECSParticipantSetting::INCOMING_AUTH_TYPE_LOGIN_PAGE = 1 |
Definition at line 38 of file class.ilECSParticipantSetting.php.
Referenced by ilECSAuthFactory\build(), and ilECSAuthFactory\getAuthTypes().
| const ilECSParticipantSetting::INCOMING_AUTH_TYPE_OIDC = 3 |
Definition at line 40 of file class.ilECSParticipantSetting.php.
Referenced by ilECSAuthFactory\build(), and ilECSAuthFactory\getAuthTypes().
| const ilECSParticipantSetting::INCOMING_AUTH_TYPE_SHIBBOLETH = 2 |
Definition at line 39 of file class.ilECSParticipantSetting.php.
Referenced by ilECSAuthFactory\build(), and ilECSAuthFactory\getAuthTypes().
| const ilECSParticipantSetting::LOGIN_PLACEHOLDER = '[LOGIN]' |
Definition at line 34 of file class.ilECSParticipantSetting.php.
Referenced by ilECSUser\toGET().
| const ilECSParticipantSetting::OUTGOING_AUTH_MODE_DEFAULT = 'default' |
Definition at line 42 of file class.ilECSParticipantSetting.php.
Referenced by getOutgoingExternalAuthModes().
| const ilECSParticipantSetting::PERSON_EPPN = 1 |
Definition at line 29 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::PERSON_LOGIN = 3 |
Definition at line 31 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::PERSON_LUID = 2 |
Definition at line 30 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::PERSON_UID = 4 |
Definition at line 32 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::VALIDATION_OK = 0 |
Definition at line 44 of file class.ilECSParticipantSetting.php.
Referenced by validate().