| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 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 | 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 23 of file class.ilECSParticipantSetting.php.
| ilECSParticipantSetting::__construct | ( | int | $a_server_id, | 
| int | $mid | ||
| ) | 
Definition at line 83 of file class.ilECSParticipantSetting.php.
References $DIC, $mid, and read().
 Here is the call graph for this function:| ilECSParticipantSetting::areIncomingLocalAccountsSupported | ( | ) | 
Definition at line 214 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 326 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 353 of file class.ilECSParticipantSetting.php.
References getMid(), and getServerId().
Referenced by ilECSSettingsGUI\refreshParticipants().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilECSParticipantSetting::enableExport | ( | bool | $a_status | ) | 
Definition at line 127 of file class.ilECSParticipantSetting.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSParticipantSetting::enableImport | ( | bool | $a_status | ) | 
Definition at line 137 of file class.ilECSParticipantSetting.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSParticipantSetting::enableIncomingLocalAccounts | ( | bool | $a_status | ) | 
Definition at line 219 of file class.ilECSParticipantSetting.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSParticipantSetting::enableToken | ( | bool | $a_stat | ) | 
Definition at line 184 of file class.ilECSParticipantSetting.php.
Referenced by read().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 273 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 169 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 194 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 154 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 268 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 229 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 100 of file class.ilECSParticipantSetting.php.
References $mid.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\checkAllocationActivation(), ilECSCmsCourseCommandQueueHandler\checkAllocationActivation(), ilRemoteObjectBase\getFullRemoteLink(), and ilECSAppEventListener\handleNewAccountCreation().
 Here is the caller graph for this function:| ilECSParticipantSetting::getMid | ( | ) | 
| ilECSParticipantSetting::getOutgoingAuthModes | ( | ) | 
Definition at line 239 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 247 of file class.ilECSParticipantSetting.php.
References getOutgoingAuthModes().
Referenced by ilECSUser\toGET().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilECSParticipantSetting::getOutgoingUsernamePlaceholderByAuthMode | ( | string | $auth_mode | ) | 
Definition at line 209 of file class.ilECSParticipantSetting.php.
References getOutgoingUsernamePlaceholders().
Referenced by ilECSUser\toGET(), and validate().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilECSParticipantSetting::getOutgoingUsernamePlaceholders | ( | ) | 
Definition at line 199 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 112 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 164 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 132 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 142 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 257 of file class.ilECSParticipantSetting.php.
References getOutgoingAuthModes().
 Here is the call graph for this function:| ilECSParticipantSetting::isTokenEnabled | ( | ) | 
Definition at line 179 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 365 of file class.ilECSParticipantSetting.php.
References $res, enableExport(), enableImport(), enableIncomingLocalAccounts(), enableToken(), exists(), ilDBConstants\FETCHMODE_OBJECT, getMid(), getServerId(), setCommunityName(), setExportTypes(), setImportType(), setImportTypes(), setIncomingAuthType(), setOutgoingAuthModes(), setOutgoingUsernamePlaceholders(), and setTitle().
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 174 of file class.ilECSParticipantSetting.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSParticipantSetting::setExportTypes | ( | array | $a_types | ) | 
Definition at line 189 of file class.ilECSParticipantSetting.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSParticipantSetting::setImportType | ( | int | $a_type | ) | 
Definition at line 147 of file class.ilECSParticipantSetting.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSParticipantSetting::setImportTypes | ( | array | $a_types | ) | 
Definition at line 263 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 224 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 117 of file class.ilECSParticipantSetting.php.
| ilECSParticipantSetting::setOutgoingAuthModes | ( | array | $auth_modes | ) | 
Definition at line 234 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 204 of file class.ilECSParticipantSetting.php.
Referenced by read().
 Here is the caller graph for this function:| ilECSParticipantSetting::setTitle | ( | string | $a_title | ) | 
Definition at line 159 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 299 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 278 of file class.ilECSParticipantSetting.php.
References getOutgoingAuthModes(), and getOutgoingUsernamePlaceholderByAuthMode().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 65 of file class.ilECSParticipantSetting.php.
      
  | 
  private | 
Definition at line 61 of file class.ilECSParticipantSetting.php.
Referenced by getCommunityName().
      
  | 
  private | 
Definition at line 81 of file class.ilECSParticipantSetting.php.
      
  | 
  private | 
Definition at line 63 of file class.ilECSParticipantSetting.php.
      
  | 
  private | 
Definition at line 79 of file class.ilECSParticipantSetting.php.
Referenced by exists().
      
  | 
  private | 
Definition at line 57 of file class.ilECSParticipantSetting.php.
Referenced by isExportEnabled().
      
  | 
  private | 
Definition at line 69 of file class.ilECSParticipantSetting.php.
Referenced by getExportTypes().
      
  | 
  private | 
Definition at line 58 of file class.ilECSParticipantSetting.php.
Referenced by isImportEnabled().
      
  | 
  private | 
Definition at line 59 of file class.ilECSParticipantSetting.php.
Referenced by getImportType().
      
  | 
  private | 
Definition at line 70 of file class.ilECSParticipantSetting.php.
Referenced by getImportTypes().
      
  | 
  private | 
Definition at line 73 of file class.ilECSParticipantSetting.php.
Referenced by getIncomingAuthType(), and setIncomingAuthType().
      
  | 
  private | 
Definition at line 72 of file class.ilECSParticipantSetting.php.
Referenced by areIncomingLocalAccountsSupported().
      
  | 
  staticprotected | 
Definition at line 46 of file class.ilECSParticipantSetting.php.
      
  | 
  private | 
Definition at line 56 of file class.ilECSParticipantSetting.php.
Referenced by __construct(), getInstance(), and getMid().
      
  | 
  private | 
Definition at line 77 of file class.ilECSParticipantSetting.php.
Referenced by getOutgoingAuthModes().
      
  | 
  private | 
Definition at line 66 of file class.ilECSParticipantSetting.php.
      
  | 
  private | 
Definition at line 55 of file class.ilECSParticipantSetting.php.
Referenced by getServerId().
      
  | 
  private | 
Definition at line 60 of file class.ilECSParticipantSetting.php.
Referenced by getTitle().
      
  | 
  private | 
Definition at line 62 of file class.ilECSParticipantSetting.php.
Referenced by isTokenEnabled().
      
  | 
  private | 
Definition at line 71 of file class.ilECSParticipantSetting.php.
Referenced by getOutgoingUsernamePlaceholders().
| const ilECSParticipantSetting::AUTH_VERSION_4 = 1 | 
Definition at line 25 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::AUTH_VERSION_5 = 2 | 
Definition at line 26 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::ERR_MISSING_USERNAME_PLACEHOLDER = 1 | 
Definition at line 43 of file class.ilECSParticipantSetting.php.
Referenced by ilECSParticipantSettingsGUI\saveSettings().
| const ilECSParticipantSetting::EXTERNAL_ACCOUNT_PLACEHOLDER = '[EXTERNAL_ACCOUNT]' | 
Definition at line 34 of file class.ilECSParticipantSetting.php.
Referenced by ilECSUser\toGET().
| const ilECSParticipantSetting::IMPORT_CMS = 3 | 
Definition at line 53 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow(), ilECSParticipantSettings\lookupCmsMid(), and ilECSSettingsGUI\validateImportTypes().
| const ilECSParticipantSetting::IMPORT_CRS = 2 | 
Definition at line 52 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow().
| const ilECSParticipantSetting::IMPORT_RCRS = 1 | 
Definition at line 51 of file class.ilECSParticipantSetting.php.
Referenced by ilECSCommunityTableGUI\fillRow().
| const ilECSParticipantSetting::IMPORT_UNCHANGED = 0 | 
Definition at line 50 of file class.ilECSParticipantSetting.php.
Referenced by ilECSSettingsGUI\validateImportTypes().
| const ilECSParticipantSetting::INCOMING_AUTH_TYPE_INACTIVE = 0 | 
Definition at line 36 of file class.ilECSParticipantSetting.php.
Referenced by ilECSParticipantSettingsGUI\initFormSettings().
| const ilECSParticipantSetting::INCOMING_AUTH_TYPE_LOGIN_PAGE = 1 | 
Definition at line 37 of file class.ilECSParticipantSetting.php.
Referenced by ilAuthProviderECS\handleLoginByAuthMode(), ilECSAppEventListener\handleNewAccountCreation(), and ilECSParticipantSettingsGUI\initFormSettings().
| const ilECSParticipantSetting::INCOMING_AUTH_TYPE_SHIBBOLETH = 2 | 
Definition at line 38 of file class.ilECSParticipantSetting.php.
Referenced by ilAuthProviderECS\handleLoginByAuthMode(), ilECSAppEventListener\handleNewAccountCreation(), and ilECSParticipantSettingsGUI\initFormSettings().
| const ilECSParticipantSetting::LOGIN_PLACEHOLDER = '[LOGIN]' | 
Definition at line 33 of file class.ilECSParticipantSetting.php.
Referenced by ilECSUser\toGET().
| const ilECSParticipantSetting::OUTGOING_AUTH_MODE_DEFAULT = 'default' | 
Definition at line 40 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::PERSON_EPPN = 1 | 
Definition at line 28 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::PERSON_LOGIN = 3 | 
Definition at line 30 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::PERSON_LUID = 2 | 
Definition at line 29 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::PERSON_UID = 4 | 
Definition at line 31 of file class.ilECSParticipantSetting.php.
| const ilECSParticipantSetting::VALIDATION_OK = 0 | 
Definition at line 42 of file class.ilECSParticipantSetting.php.