|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilUserImportParser:
Collaboration diagram for ilUserImportParser:Public Member Functions | |
| setFolderId (int $a_folder_id) | |
| assign users to this folder (normally the usr_folder) But if called from local admin => the ref_id of the category More... | |
| getFolderId () | |
| setHandlers ($a_xml_parser) | |
| set event handler should be overwritten by inherited class private More... | |
| setRoleAssignment (array $a_assign) | |
| set import to local role assignemt More... | |
| buildTag (string $type, string $name, array $attr=null) | |
| generate a tag with given name and attributes More... | |
| handlerBeginTag ( $a_xml_parser, string $a_name, array $a_attribs) | |
| extractRolesBeginTag ( $a_xml_parser, string $a_name, array $a_attribs) | |
| importBeginTag ( $a_xml_parser, string $a_name, array $a_attribs) | |
| verifyBeginTag ( $a_xml_parser, string $a_name, array $a_attribs) | |
| handlerEndTag ( $a_xml_parser, string $a_name) | |
| extractRolesEndTag ( $a_xml_parser, string $a_name) | |
| getRoleObject (int $a_role_id) | |
| Returns the parent object of the role folder object which contains the specified role. More... | |
| getCourseMembersObjectForRole (int $a_role_id) | |
| Returns the parent object of the role folder object which contains the specified role. More... | |
| assignToRole (ilObjUser $a_user_obj, int $a_role_id) | |
| Assigns a user to a role. More... | |
| getParentRoleIds (int $a_role_id) | |
| Get array of parent role ids from cache. More... | |
| assignToRoleWithParents (ilObjUser $a_user_obj, int $a_role_id) | |
| Assigns a user to a role and to all parent roles. More... | |
| detachFromRole (ilObjUser $a_user_obj, int $a_role_id) | |
| Detaches a user from a role. More... | |
| importEndTag ( $a_xml_parser, string $a_name) | |
| saveTempImage (string $image_data, string $filename) | |
| Saves binary image data to a temporary image file and returns the name of the image file on success. More... | |
| verifyEndTag ( $a_xml_parser, string $a_name) | |
| handler for end of element when in verify mode. More... | |
| handlerCharacterData ( $a_xml_parser, string $a_data) | |
| handler for character data More... | |
| getCollectedRoles () | |
| getUserCount () | |
| logWarning (string $aLogin, string $aMessage) | |
| Writes a warning log message to the protocol. More... | |
| logFailure (string $aLogin, string $aMessage) | |
| Writes a failure log message to the protocol. More... | |
| logSuccess (string $aLogin, int $userid, string $action) | |
| Writes a success log message to the protocol. More... | |
| getProtocol () | |
| The protocol is an associative array. More... | |
| getProtocolAsHTML (string $a_log_title) | |
| Returns the protocol as a HTML table. More... | |
| isSuccess () | |
| Returns true, if the import was successful. More... | |
| getErrorLevel () | |
| Returns the error level. More... | |
| getUserMapping () | |
| returns a map user_id <=> login More... | |
| sendAccountMail () | |
| send account mail More... | |
| setSendMail (bool $value) | |
| isSendMail () | |
| setUserMappingMode (int $value) | |
| write access to user mapping mode More... | |
| getUserMappingMode () | |
| read access to user mapping mode More... | |
Public Member Functions inherited from ilSaxParser | |
| __construct (?string $path_to_file='', ?bool $throw_exception=false) | |
| setXMLContent (string $a_xml_content) | |
| getXMLContent () | |
| getInputType () | |
| startParsing () | |
| stores xml data in array More... | |
| createParser () | |
| setHandlers ($a_xml_parser) | |
| parse ($a_xml_parser, $a_fp=null) | |
Data Fields | |
| const | IL_EXTRACT_ROLES = 1 |
| const | IL_USER_IMPORT = 2 |
| const | IL_VERIFY = 3 |
| const | IL_FAIL_ON_CONFLICT = 1 |
| const | IL_UPDATE_ON_CONFLICT = 2 |
| const | IL_IGNORE_ON_CONFLICT = 3 |
| const | IL_IMPORT_SUCCESS = 1 |
| const | IL_IMPORT_WARNING = 2 |
| const | IL_IMPORT_FAILURE = 3 |
| const | IL_USER_MAPPING_ID = 2 |
| bool | $approve_date_set = false |
| bool | $time_limit_set = false |
| bool | $time_limit_owner_set = false |
| bool | $updateLookAndSkin = false |
| int | $folder_id |
| array | $roles |
| string | $action |
| array | $protocol |
| The variable holds the protocol of the import. More... | |
| array | $logins |
| This variable is used to collect each login that we encounter in the import data. More... | |
| int | $conflict_rule |
| bool | $send_mail |
| int | $error_level |
| This variable is used to report the error level of the validation process or the importing process. More... | |
| string | $currPasswordType |
| string | $currPassword |
| string | $currActive = null |
| int | $userCount |
| array | $user_mapping = [] |
| int | $mapping_mode |
| array | $localRoleCache |
| Cached local roles. More... | |
| array | $personalPicture = null |
| Cached personal picture of the actual user This is used because the ilObjUser object has no field for the personal picture. More... | |
| array | $parentRolesCache |
| Cached parent roles. More... | |
| string | $skin = '' |
| string | $style = '' |
| array | $userStyles |
| User assigned styles. More... | |
| int | $user_id |
Data Fields inherited from ilSaxParser | |
| string | $xml_file |
| bool | $throw_exception = false |
Protected Member Functions | |
| tagContained (string $tagname) | |
| isFieldRequired (string $fieldname) | |
| determine if a field $fieldname is to a required field (global setting) More... | |
Protected Member Functions inherited from ilSaxParser | |
| openXMLFile () | |
| handleError (string $message) | |
| setThrowException (bool $throw_exception) | |
Protected Attributes | |
| string | $tmp_udf_name = null |
| string | $tmp_udf_id = null |
| array | $multi_values |
| array | $udf_data |
| bool | $auth_mode_set |
| string | $currentPrefKey = null |
| array | $prefs |
| string | $current_role_action |
| string | $current_role_type |
| string | $current_role_id = '0' |
| string | $cdata |
| array | $role_assign |
| string | $req_send_mail |
| ilAccountMail | $acc_mail |
| int | $mode |
| array | $required_fields = [] |
| array | $containedTags = [] |
| ilRecommendedContentManager | $recommended_content_manager |
| ilUserSettingsConfig | $user_settings_config |
Protected Attributes inherited from ilSaxParser | |
| ilLanguage | $lng = null |
Private Member Functions | |
| readRequiredFields () | |
| checkProfileIncomplete (ilObjUser $user_obj) | |
| Check if profile is incomplete Will set the usr_data field profile_incomplete if any required field is missing. More... | |
| verifyPref (string $key, string $value) | |
| updateMailPreferences (int $usr_id) | |
| getCDataWithoutTags () | |
| stripTags (string $string) | |
Private Attributes | |
| const | IL_USER_MAPPING_LOGIN = 1 |
| ILIAS | $ilias |
| ilSetting | $settings |
| ilObjectDataCache | $object_data_cache |
| ilRbacReview | $rbac_review |
| ilRbacAdmin | $rbac_admin |
| ilAccess | $access |
| ilObjUser | $user |
| ilUserProfile | $user_profile |
| ilObjUser | $userObj |
| string | $current_messenger_type |
| Refinery | $refinery |
Definition at line 24 of file class.ilUserImportParser.php.
| ilUserImportParser::assignToRole | ( | ilObjUser | $a_user_obj, |
| int | $a_role_id | ||
| ) |
Assigns a user to a role.
Definition at line 719 of file class.ilUserImportParser.php.
References $ref_id, ilObject\_getAllReferences(), ilObject\_lookupType(), and ilObject\getId().
Referenced by assignToRoleWithParents(), and importEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::assignToRoleWithParents | ( | ilObjUser | $a_user_obj, |
| int | $a_role_id | ||
| ) |
Assigns a user to a role and to all parent roles.
Definition at line 800 of file class.ilUserImportParser.php.
References assignToRole(), and getParentRoleIds().
Referenced by importEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::buildTag | ( | string | $type, |
| string | $name, | ||
| array | $attr = null |
||
| ) |
generate a tag with given name and attributes
Definition at line 324 of file class.ilUserImportParser.php.
|
private |
Check if profile is incomplete Will set the usr_data field profile_incomplete if any required field is missing.
Definition at line 2153 of file class.ilUserImportParser.php.
Referenced by importEndTag().
Here is the caller graph for this function:| ilUserImportParser::detachFromRole | ( | ilObjUser | $a_user_obj, |
| int | $a_role_id | ||
| ) |
Detaches a user from a role.
Definition at line 815 of file class.ilUserImportParser.php.
References $ref_id, ilObject\_getAllReferences(), ilObject\_lookupTitle(), and ilObject\getId().
Referenced by importEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::extractRolesBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| \XMLParser | resource | $a_xml_parser |
Definition at line 368 of file class.ilUserImportParser.php.
References ilUtil\__extractId(), IL_INST_ID, and ILIAS\Repository\refinery().
Referenced by handlerBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::extractRolesEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
| \XMLParser | resource | $a_xml_parser |
Definition at line 671 of file class.ilUserImportParser.php.
References $cdata, $current_role_id, and $current_role_type.
Referenced by handlerEndTag().
Here is the caller graph for this function:
|
private |
Definition at line 2275 of file class.ilUserImportParser.php.
References stripTags().
Referenced by importEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::getCollectedRoles | ( | ) |
| ilUserImportParser::getCourseMembersObjectForRole | ( | int | $a_role_id | ) |
Returns the parent object of the role folder object which contains the specified role.
Definition at line 702 of file class.ilUserImportParser.php.
References ilCourseParticipants\_getInstanceByObjId().
Here is the call graph for this function:| ilUserImportParser::getErrorLevel | ( | ) |
Returns the error level.
Definition at line 2073 of file class.ilUserImportParser.php.
References $error_level.
Referenced by ilObjUserFolderGUI\verifyXmlData().
Here is the caller graph for this function:| ilUserImportParser::getFolderId | ( | ) |
Definition at line 292 of file class.ilUserImportParser.php.
References $folder_id.
Referenced by importEndTag().
Here is the caller graph for this function:| ilUserImportParser::getParentRoleIds | ( | int | $a_role_id | ) |
Get array of parent role ids from cache.
If necessary, create a new cache entry.
Definition at line 755 of file class.ilUserImportParser.php.
References getRoleObject().
Referenced by assignToRoleWithParents().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::getProtocol | ( | ) |
The protocol is an associative array.
Keys are login names. Values are non-associative arrays. Each array element contains an error message.
Definition at line 2030 of file class.ilUserImportParser.php.
References $protocol.
Referenced by getProtocolAsHTML().
Here is the caller graph for this function:| ilUserImportParser::getProtocolAsHTML | ( | string | $a_log_title | ) |
Returns the protocol as a HTML table.
Definition at line 2038 of file class.ilUserImportParser.php.
References $message, $messages, ILIAS\LTI\ToolProvider\$reason, getProtocol(), and ILIAS\Repository\lng().
Referenced by ilObjUserFolderGUI\verifyXmlData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::getRoleObject | ( | int | $a_role_id | ) |
Returns the parent object of the role folder object which contains the specified role.
Definition at line 687 of file class.ilUserImportParser.php.
Referenced by getParentRoleIds().
Here is the caller graph for this function:| ilUserImportParser::getUserCount | ( | ) |
| ilUserImportParser::getUserMapping | ( | ) |
returns a map user_id <=> login
Definition at line 2082 of file class.ilUserImportParser.php.
References $user_mapping.
| ilUserImportParser::getUserMappingMode | ( | ) |
read access to user mapping mode
Definition at line 2127 of file class.ilUserImportParser.php.
References $mapping_mode.
Referenced by importBeginTag(), and verifyBeginTag().
Here is the caller graph for this function:| ilUserImportParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
Definition at line 345 of file class.ilUserImportParser.php.
References extractRolesBeginTag(), importBeginTag(), and verifyBeginTag().
Here is the call graph for this function:| ilUserImportParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
handler for character data
| \XMLParser | resource | $a_xml_parser |
Definition at line 1951 of file class.ilUserImportParser.php.
| ilUserImportParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
Definition at line 651 of file class.ilUserImportParser.php.
References extractRolesEndTag(), importEndTag(), and verifyEndTag().
Here is the call graph for this function:| ilUserImportParser::importBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| \XMLParser | resource | $a_xml_parser |
Definition at line 389 of file class.ilUserImportParser.php.
References $id, ilUtil\__extractId(), ilLDAPServer\_getActiveServerList(), ilSamlIdp\getActiveIdpList(), getUserMappingMode(), IL_INST_ID, ILIAS\Repository\int(), ILIAS\Repository\lng(), logFailure(), and stripTags().
Referenced by handlerBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::importEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
| \XMLParser | resource | $a_xml_parser |
Definition at line 844 of file class.ilUserImportParser.php.
References $cdata, $current_role_action, $current_role_id, $current_role_type, $currentPrefKey, Vendor\Package\$e, ILIAS\LTI\ToolProvider\$key, $timestamp, $user_id, ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_getAuthModeName(), ilUserDefinedFields\_getInstance(), ilObjAdvancedEditing\_getUsedHTMLTags(), ilObjUser\_lookupExternalAccount(), ilObjUser\_uploadPersonalPicture(), ANONYMOUS_USER_ID, assignToRole(), assignToRoleWithParents(), checkProfileIncomplete(), detachFromRole(), getCDataWithoutTags(), getFolderId(), ilObjUser\getUserIdByLogin(), IL_CAL_DATETIME, IL_CAL_UNIX, ILIAS\Repository\int(), ilUserXMLWriter\isPrefExportable(), ILIAS\Repository\lng(), logFailure(), logSuccess(), logWarning(), ilObjUser\PASSWD_CRYPTED, ilObjUser\PASSWD_PLAIN, saveTempImage(), sendAccountMail(), ilUserDefinedData\set(), ILIAS\Repository\settings(), stripTags(), SYSTEM_USER_ID, tagContained(), updateMailPreferences(), and ILIAS\Repository\user().
Referenced by handlerEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
determine if a field $fieldname is to a required field (global setting)
| $fieldname | string value of fieldname, e.g. gender |
Definition at line 2164 of file class.ilUserImportParser.php.
References readRequiredFields().
Referenced by verifyEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::isSendMail | ( | ) |
Definition at line 2104 of file class.ilUserImportParser.php.
References $send_mail.
Referenced by sendAccountMail().
Here is the caller graph for this function:| ilUserImportParser::isSuccess | ( | ) |
Returns true, if the import was successful.
Definition at line 2064 of file class.ilUserImportParser.php.
| ilUserImportParser::logFailure | ( | string | $aLogin, |
| string | $aMessage | ||
| ) |
Writes a failure log message to the protocol.
Definition at line 1998 of file class.ilUserImportParser.php.
Referenced by importBeginTag(), importEndTag(), verifyBeginTag(), verifyEndTag(), and verifyPref().
Here is the caller graph for this function:| ilUserImportParser::logSuccess | ( | string | $aLogin, |
| int | $userid, | ||
| string | $action | ||
| ) |
Writes a success log message to the protocol.
Definition at line 2014 of file class.ilUserImportParser.php.
References $action.
Referenced by importEndTag().
Here is the caller graph for this function:| ilUserImportParser::logWarning | ( | string | $aLogin, |
| string | $aMessage | ||
| ) |
Writes a warning log message to the protocol.
Definition at line 1980 of file class.ilUserImportParser.php.
Referenced by importEndTag(), and verifyEndTag().
Here is the caller graph for this function:
|
private |
Definition at line 2135 of file class.ilUserImportParser.php.
References $required_fields, and ILIAS\Repository\settings().
Referenced by isFieldRequired().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::saveTempImage | ( | string | $image_data, |
| string | $filename | ||
| ) |
Saves binary image data to a temporary image file and returns the name of the image file on success.
Definition at line 1602 of file class.ilUserImportParser.php.
References $filename, and ilFileUtils\ilTempnam().
Referenced by importEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::sendAccountMail | ( | ) |
send account mail
Definition at line 2090 of file class.ilUserImportParser.php.
References isSendMail().
Referenced by importEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::setFolderId | ( | int | $a_folder_id | ) |
assign users to this folder (normally the usr_folder) But if called from local admin => the ref_id of the category
Definition at line 287 of file class.ilUserImportParser.php.
| ilUserImportParser::setHandlers | ( | $a_xml_parser | ) |
set event handler should be overwritten by inherited class private
| resource | \XMLParser | $a_xml_parser |
Definition at line 304 of file class.ilUserImportParser.php.
| ilUserImportParser::setRoleAssignment | ( | array | $a_assign | ) |
set import to local role assignemt
| array | role assignment (key: import id; value: local role id) |
Definition at line 316 of file class.ilUserImportParser.php.
| ilUserImportParser::setSendMail | ( | bool | $value | ) |
Definition at line 2099 of file class.ilUserImportParser.php.
| ilUserImportParser::setUserMappingMode | ( | int | $value | ) |
write access to user mapping mode
| int | $value | must be one of IL_USER_MAPPING_ID or IL_USER_MAPPING_LOGIN, die otherwise |
Definition at line 2114 of file class.ilUserImportParser.php.
|
private |
Definition at line 2280 of file class.ilUserImportParser.php.
References ILIAS\Repository\refinery().
Referenced by getCDataWithoutTags(), importBeginTag(), importEndTag(), verifyBeginTag(), and verifyEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 836 of file class.ilUserImportParser.php.
Referenced by importEndTag(), and verifyEndTag().
Here is the caller graph for this function:
|
private |
Definition at line 2261 of file class.ilUserImportParser.php.
Referenced by importEndTag().
Here is the caller graph for this function:| ilUserImportParser::verifyBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| \XMLParser | resource | $a_xml_parser |
Definition at line 540 of file class.ilUserImportParser.php.
References $id, ilUtil\__extractId(), ilLDAPServer\_getActiveServerList(), ilSamlIdp\getActiveIdpList(), getUserMappingMode(), IL_INST_ID, ILIAS\Repository\int(), ILIAS\Repository\lng(), logFailure(), and stripTags().
Referenced by handlerBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserImportParser::verifyEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
handler for end of element when in verify mode.
Definition at line 1619 of file class.ilUserImportParser.php.
References $cdata, $current_role_action, $current_role_id, $current_role_type, $user_id, ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_getAuthModeName(), ilObjUser\_lookupExternalAccount(), ilObjUser\_lookupId(), ilObjUser\_lookupLogin(), ILIAS\Repository\access(), ANONYMOUS_USER_ID, ilObjUser\getUserIdByLogin(), isFieldRequired(), ILIAS\Repository\lng(), logFailure(), logWarning(), ilObjUser\PASSWD_CRYPTED, ilObjUser\PASSWD_PLAIN, ILIAS\Repository\settings(), stripTags(), SYSTEM_USER_ID, tagContained(), USER_FOLDER_ID, and verifyPref().
Referenced by handlerEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2171 of file class.ilUserImportParser.php.
References ilTimeZone\_getInstance(), ilUserXMLWriter\isPrefExportable(), and logFailure().
Referenced by verifyEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 64 of file class.ilUserImportParser.php.
|
private |
Definition at line 46 of file class.ilUserImportParser.php.
| string ilUserImportParser::$action |
Definition at line 73 of file class.ilUserImportParser.php.
Referenced by logSuccess().
| bool ilUserImportParser::$approve_date_set = false |
Definition at line 66 of file class.ilUserImportParser.php.
|
protected |
Definition at line 55 of file class.ilUserImportParser.php.
|
protected |
Definition at line 61 of file class.ilUserImportParser.php.
Referenced by extractRolesEndTag(), importEndTag(), and verifyEndTag().
| int ilUserImportParser::$conflict_rule |
Definition at line 98 of file class.ilUserImportParser.php.
|
protected |
Definition at line 75 of file class.ilUserImportParser.php.
| string ilUserImportParser::$currActive = null |
Definition at line 167 of file class.ilUserImportParser.php.
|
private |
Definition at line 207 of file class.ilUserImportParser.php.
|
protected |
Definition at line 58 of file class.ilUserImportParser.php.
Referenced by importEndTag(), and verifyEndTag().
|
protected |
Definition at line 60 of file class.ilUserImportParser.php.
Referenced by extractRolesEndTag(), importEndTag(), and verifyEndTag().
|
protected |
Definition at line 59 of file class.ilUserImportParser.php.
Referenced by extractRolesEndTag(), importEndTag(), and verifyEndTag().
|
protected |
Definition at line 56 of file class.ilUserImportParser.php.
Referenced by importEndTag().
| string ilUserImportParser::$currPassword |
Definition at line 166 of file class.ilUserImportParser.php.
| string ilUserImportParser::$currPasswordType |
Definition at line 165 of file class.ilUserImportParser.php.
| int ilUserImportParser::$error_level |
This variable is used to report the error level of the validation process or the importing process.
Values: IL_IMPORT_SUCCESS IL_IMPORT_WARNING IL_IMPORT_FAILURE
Meaning of the values when in validation mode: IL_IMPORT_WARNING Some of the entity actions can not be processed as specified in the XML file. One or more of the following conflicts have occurred:
Meaning of the values when in import mode: IL_IMPORT_WARNING Some of the entity actions have not beeen processed as specified in the XML file.
In IL_UPDATE_ON_CONFLICT mode, the following may have occured:
In IL_IGNORE_ON_CONFLICT mode, the following may have occured:
IL_IMPORT_FAILURE The import could not be completed.
In IL_FAIL_ON_CONFLICT mode, the following may have occured:
Definition at line 163 of file class.ilUserImportParser.php.
Referenced by getErrorLevel().
| int ilUserImportParser::$folder_id |
Definition at line 71 of file class.ilUserImportParser.php.
Referenced by getFolderId().
|
private |
Definition at line 41 of file class.ilUserImportParser.php.
| array ilUserImportParser::$localRoleCache |
Cached local roles.
This is used to speed up access to local roles. This is an associative array. The key is either a role_id or a role_id with the string "_courseMembersObject" appended. The value is a role object or the course members object for which the role is defined
Definition at line 179 of file class.ilUserImportParser.php.
| array ilUserImportParser::$logins |
This variable is used to collect each login that we encounter in the import data.
This variable is needed to detect duplicate logins in the import data. The variable is an associative array. (I would prefer using a set, but PHP does not appear to support sets.) Keys are logins. Values are logins.
Definition at line 96 of file class.ilUserImportParser.php.
| int ilUserImportParser::$mapping_mode |
Definition at line 170 of file class.ilUserImportParser.php.
Referenced by getUserMappingMode().
|
protected |
Definition at line 65 of file class.ilUserImportParser.php.
|
protected |
Definition at line 53 of file class.ilUserImportParser.php.
|
private |
Definition at line 43 of file class.ilUserImportParser.php.
| array ilUserImportParser::$parentRolesCache |
Cached parent roles.
This is used to speed up assignment to local roles with parents. This is an associative array. The key is a role_id . The value is an array of role_ids containing all parent roles.
Definition at line 194 of file class.ilUserImportParser.php.
| array ilUserImportParser::$personalPicture = null |
Cached personal picture of the actual user This is used because the ilObjUser object has no field for the personal picture.
Definition at line 185 of file class.ilUserImportParser.php.
|
protected |
Definition at line 57 of file class.ilUserImportParser.php.
| array ilUserImportParser::$protocol |
The variable holds the protocol of the import.
This variable is an associative array.
Definition at line 85 of file class.ilUserImportParser.php.
Referenced by getProtocol().
|
private |
Definition at line 45 of file class.ilUserImportParser.php.
|
private |
Definition at line 44 of file class.ilUserImportParser.php.
|
protected |
Definition at line 208 of file class.ilUserImportParser.php.
|
private |
Definition at line 210 of file class.ilUserImportParser.php.
|
protected |
Definition at line 63 of file class.ilUserImportParser.php.
|
protected |
Definition at line 74 of file class.ilUserImportParser.php.
Referenced by readRequiredFields().
|
protected |
Definition at line 62 of file class.ilUserImportParser.php.
| array ilUserImportParser::$roles |
Definition at line 72 of file class.ilUserImportParser.php.
Referenced by getCollectedRoles().
| bool ilUserImportParser::$send_mail |
Definition at line 100 of file class.ilUserImportParser.php.
Referenced by isSendMail().
|
private |
Definition at line 42 of file class.ilUserImportParser.php.
| string ilUserImportParser::$skin = '' |
Definition at line 196 of file class.ilUserImportParser.php.
| string ilUserImportParser::$style = '' |
Definition at line 197 of file class.ilUserImportParser.php.
| bool ilUserImportParser::$time_limit_owner_set = false |
Definition at line 68 of file class.ilUserImportParser.php.
| bool ilUserImportParser::$time_limit_set = false |
Definition at line 67 of file class.ilUserImportParser.php.
|
protected |
Definition at line 52 of file class.ilUserImportParser.php.
|
protected |
Definition at line 51 of file class.ilUserImportParser.php.
|
protected |
Definition at line 54 of file class.ilUserImportParser.php.
| bool ilUserImportParser::$updateLookAndSkin = false |
Definition at line 70 of file class.ilUserImportParser.php.
|
private |
Definition at line 47 of file class.ilUserImportParser.php.
| int ilUserImportParser::$user_id |
Definition at line 204 of file class.ilUserImportParser.php.
Referenced by importEndTag(), and verifyEndTag().
| array ilUserImportParser::$user_mapping = [] |
Definition at line 169 of file class.ilUserImportParser.php.
Referenced by getUserMapping().
|
private |
Definition at line 49 of file class.ilUserImportParser.php.
|
protected |
Definition at line 209 of file class.ilUserImportParser.php.
| int ilUserImportParser::$userCount |
Definition at line 168 of file class.ilUserImportParser.php.
Referenced by getUserCount().
|
private |
Definition at line 206 of file class.ilUserImportParser.php.
| array ilUserImportParser::$userStyles |
User assigned styles.
Definition at line 202 of file class.ilUserImportParser.php.
| const ilUserImportParser::IL_EXTRACT_ROLES = 1 |
Definition at line 26 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers(), and ilObjUserFolderGUI\initUserRoleAssignmentForm().
| const ilUserImportParser::IL_FAIL_ON_CONFLICT = 1 |
Definition at line 30 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers().
| const ilUserImportParser::IL_IGNORE_ON_CONFLICT = 3 |
Definition at line 32 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers(), and ilObjUserFolderGUI\initUserRoleAssignmentForm().
| const ilUserImportParser::IL_IMPORT_FAILURE = 3 |
Definition at line 36 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers(), ilObjUserFolderGUI\importUsersObject(), and ilObjUserFolderGUI\verifyXmlData().
| const ilUserImportParser::IL_IMPORT_SUCCESS = 1 |
Definition at line 34 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers(), ilObjUserFolderGUI\importUsersObject(), and ilObjUserFolderGUI\verifyXmlData().
| const ilUserImportParser::IL_IMPORT_WARNING = 2 |
Definition at line 35 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers(), ilObjUserFolderGUI\importUsersObject(), and ilObjUserFolderGUI\verifyXmlData().
| const ilUserImportParser::IL_UPDATE_ON_CONFLICT = 2 |
Definition at line 31 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers(), and ilObjUserFolderGUI\initUserRoleAssignmentForm().
| const ilUserImportParser::IL_USER_IMPORT = 2 |
Definition at line 27 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers(), and ilObjUserFolderGUI\importUsersObject().
| const ilUserImportParser::IL_USER_MAPPING_ID = 2 |
Definition at line 39 of file class.ilUserImportParser.php.
Referenced by ilAuthProviderSaml\importUser(), and ilSoapUserAdministration\importUsers().
|
private |
Definition at line 38 of file class.ilUserImportParser.php.
| const ilUserImportParser::IL_VERIFY = 3 |
Definition at line 28 of file class.ilUserImportParser.php.
Referenced by ilSoapUserAdministration\importUsers(), and ilObjUserFolderGUI\initUserRoleAssignmentForm().