ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_user_id=0, $a_call_by_reference=false) | |
Constructor public. | |
read () | |
loads a record "user" from database private | |
getPasswordEncodingType () | |
setPasswordEncodingType ($password_encryption_type) | |
getPasswordSalt () | |
setPasswordSalt ($password_salt) | |
assignData ($a_data) | |
loads a record "user" from array public | |
writeAccepted () | |
write accept date of user agreement to db | |
_lookupFullname ($a_user_id) | |
Lookup Full Name. | |
_lookupIm ($a_user_id, $a_type) | |
Lookup IM. | |
_lookupEmail ($a_user_id) | |
Lookup email. | |
_lookupClientIP ($a_user_id) | |
Lookup client ip. | |
_lookupFields ($a_user_id) | |
lookup fields (deprecated; use more specific methods instead) | |
_lookupLogin ($a_user_id) | |
lookup login | |
_lookupExternalAccount ($a_user_id) | |
lookup external account for login and authmethod | |
_lookupLastLogin ($a_user_id) | |
lookup last login | |
refreshLogin () | |
updates the login data of a "user" // TODO set date with now() should be enough public | |
updateLogin ($a_login) | |
update login name | |
writePref ($a_keyword, $a_value) | |
write userpref to user table private | |
deletePref ($a_keyword) | |
Deletes a userpref value of the user from the database public. | |
_deleteAllPref ($a_user_id) | |
Deletes a userpref value of the user from the database public. | |
writePrefs () | |
write all userprefs private | |
getTimeZone () | |
get timezone of user | |
getTimeFormat () | |
get time format | |
getDateFormat () | |
get date format | |
setPref ($a_keyword, $a_value) | |
set a user preference | |
getPref ($a_keyword) | |
get a user preference | |
_lookupPref ($a_usr_id, $a_keyword) | |
readPrefs () | |
get all user preferences private | |
delete () | |
deletes a user public | |
setFullname ($a_title="", $a_firstname="", $a_lastname="") | |
builds a string with title + firstname + lastname method is used to build fullname in member variable $this->fullname. | |
getFullname ($a_max_strlen=0) | |
get fullname public | |
setLogin ($a_str) | |
set login / username public | |
getLogin () | |
get login / username public | |
setPasswd ($a_str, $a_type=IL_PASSWD_PLAIN) | |
set password public | |
getPasswd () | |
get password | |
getPasswdType () | |
get password type | |
setGender ($a_str) | |
set gender public | |
getGender () | |
get gender public | |
setUTitle ($a_str) | |
set user title (note: don't mix up this method with setTitle() that is derived from ilObject and sets the user object's title) public | |
getUTitle () | |
get user title (note: don't mix up this method with getTitle() that is derived from ilObject and gets the user object's title) public | |
setFirstname ($a_str) | |
set firstname public | |
getFirstname () | |
get firstname public | |
setLastname ($a_str) | |
set lastame public | |
getLastname () | |
get lastname public | |
setInstitution ($a_str) | |
set institution public | |
getInstitution () | |
get institution public | |
setDepartment ($a_str) | |
set department public | |
getDepartment () | |
get department public | |
setStreet ($a_str) | |
set street public | |
getStreet () | |
get street public | |
setCity ($a_str) | |
set city public | |
getCity () | |
get city public | |
setZipcode ($a_str) | |
set zipcode public | |
getZipcode () | |
get zipcode public | |
setCountry ($a_str) | |
Set country (free text) | |
getCountry () | |
Get country (free text) | |
setSelectedCountry ($a_val) | |
Set selected country (selection drop down) | |
getSelectedCountry () | |
Get selected country (selection drop down) | |
setPhoneOffice ($a_str) | |
set office phone public | |
getPhoneOffice () | |
get office phone public | |
setPhoneHome ($a_str) | |
set home phone public | |
getPhoneHome () | |
get home phone public | |
setPhoneMobile ($a_str) | |
set mobile phone public | |
getPhoneMobile () | |
get mobile phone public | |
setFax ($a_str) | |
set fax public | |
getFax () | |
get fax public | |
setClientIP ($a_str) | |
set client ip number public | |
getClientIP () | |
get client ip number public | |
setMatriculation ($a_str) | |
set matriculation number public | |
getMatriculation () | |
get matriculation number public | |
setEmail ($a_str) | |
set email public | |
getEmail () | |
get email address public | |
setHobby ($a_str) | |
set hobby public | |
getHobby () | |
get hobby public | |
setLanguage ($a_str) | |
set user language public | |
getLanguage () | |
returns a 2char-language-string public | |
setDiskQuota ($a_disk_quota) | |
Sets the minimal disk quota imposed by this user account. | |
getDiskQuota () | |
Returns the minimal disk quota imposed by this user account. | |
getPersonalWorkspaceDiskQuota () | |
setLastPasswordChangeTS ($a_last_password_change_ts) | |
getLastPasswordChangeTS () | |
_writeExternalAccount ($a_usr_id, $a_ext_id) | |
_writeAuthMode ($a_usr_id, $a_auth_mode) | |
getCurrentLanguage () | |
returns the current language (may differ from user's pref setting!) | |
setCurrentLanguage ($a_val) | |
Set current language. | |
setLastLogin ($a_str) | |
set user's last login public | |
getLastLogin () | |
returns last login date public | |
setLastUpdate ($a_str) | |
set last update of user data set public | |
getLastUpdate () | |
setComment ($a_str) | |
set referral comment public | |
getComment () | |
get referral comment public | |
setApproveDate ($a_str) | |
set date the user account was activated null indicates that the user has not yet been activated public | |
getApproveDate () | |
get the date when the user account was approved public | |
getAgreeDate () | |
get the date when the user accepted the user agreement public | |
setAgreeDate ($a_str) | |
set date the user account was accepted by the user nullindicates that the user has not accepted his account public | |
setActive ($a_active, $a_owner=0) | |
set user active state and updates system fields appropriately public | |
getActive () | |
get user active state public | |
_lookupActive ($a_usr_id) | |
Check user account active. | |
syncActive () | |
synchronizes current and stored user active values for the owner value to be set correctly, this function should only be called when an admin is approving a user account public | |
getStoredActive ($a_id) | |
get user active state | |
setSkin ($a_str) | |
set user skin (template set) public | |
setTimeLimitOwner ($a_owner) | |
getTimeLimitOwner () | |
setTimeLimitFrom ($a_from) | |
getTimeLimitFrom () | |
setTimeLimitUntil ($a_until) | |
getTimeLimitUntil () | |
setTimeLimitUnlimited ($a_unlimited) | |
getTimeLimitUnlimited () | |
setTimeLimitMessage ($a_time_limit_message) | |
getTimeLimitMessage () | |
setLoginAttempts ($a_login_attempts) | |
getLoginAttempts () | |
checkTimeLimit () | |
setProfileIncomplete ($a_prof_inc) | |
getProfileIncomplete () | |
isPasswordChangeDemanded () | |
isPasswordExpired () | |
getPasswordAge () | |
setLastPasswordChangeToNow () | |
resetLastPasswordChange () | |
setLatitude ($a_latitude) | |
Set Latitude. | |
getLatitude () | |
Get Latitude. | |
setLongitude ($a_longitude) | |
Set Longitude. | |
getLongitude () | |
Get Longitude. | |
setLocationZoom ($a_locationzoom) | |
Set Location Zoom. | |
getLocationZoom () | |
Get Location Zoom. | |
& | getAppliedUsers () |
isChild ($a_usr_id) | |
__readAppliedUsers ($a_parent_id) | |
checkUserId () | |
isCurrentUserActive () | |
getUserIdByLogin ($a_login) | |
getLoginByUserId ($a_userid) | |
_getNumberOfUsersForStyle ($a_skin, $a_style) | |
skins and styles | |
_getAllUserAssignedStyles () | |
skins and styles | |
_moveUsersToStyle ($a_from_skin, $a_from_style, $a_to_skin, $a_to_style) | |
skins and styles | |
addDesktopItem ($a_item_id, $a_type, $a_par="") | |
add an item to user's personal desktop | |
setDesktopItemParameters ($a_item_id, $a_type, $a_par) | |
set parameters of a desktop item entry | |
dropDesktopItem ($a_item_id, $a_type) | |
drop an item from user's personal desktop | |
isDesktopItem ($a_item_id, $a_type) | |
check wether an item is on the users desktop or not | |
getDesktopItems ($a_types="") | |
addObjectToClipboard ($a_item_id, $a_type, $a_title, $a_parent=0, $a_time=0, $a_order_nr=0) | |
add an item to user's personal clipboard | |
addToPCClipboard ($a_content, $a_time, $a_nr) | |
Add a page content item to PC clipboard (should go to another class) | |
getPCClipboardContent () | |
Add a page content item to PC clipboard (should go to another class) | |
clipboardHasObjectsOfType ($a_type) | |
Check whether clipboard has objects of a certain type. | |
clipboardDeleteObjectsOfType ($a_type) | |
Delete objects of type for user. | |
clipboardDeleteAll () | |
Delete objects of type for user. | |
getClipboardObjects ($a_type="", $a_top_nodes_only=false) | |
get all clipboard objects of user and specified type | |
getClipboardChilds ($a_parent, $a_insert_time) | |
Get childs of an item. | |
_getUsersForClipboadObject ($a_type, $a_id) | |
get all users, that have a certain object within their clipboard | |
removeObjectFromClipboard ($a_item_id, $a_type) | |
remove object from user's personal clipboard | |
_getImportedUserId ($i2_id) | |
setAuthMode ($a_str) | |
set auth mode public | |
getAuthMode ($a_auth_key=false) | |
get auth mode public | |
setExternalAccount ($a_str) | |
set external account | |
getExternalAccount () | |
get external account | |
_getNumberOfUsersPerAuthMode () | |
get number of users per auth mode | |
_getLocalAccountsForEmail ($a_email) | |
check whether external account and authentication method matches with a user | |
_uploadPersonalPicture ($tmp_file, $obj_id) | |
Create a personal picture image file from a temporary image file. | |
getPersonalPicturePath ($a_size="small", $a_force_pic=false) | |
Get path to personal picture. | |
removeUserPicture ($a_do_update=true) | |
Remove user picture. | |
setUserDefinedData ($a_data) | |
getUserDefinedData () | |
updateUserDefinedFields () | |
readUserDefinedFields () | |
addUserDefinedFieldEntry () | |
deleteUserDefinedFieldEntries () | |
setInstantMessengerId ($a_im_type, $a_im_id) | |
getInstantMessengerId ($a_im_type) | |
setDelicious ($a_delicious) | |
getDelicious () | |
_lookupFeedHash ($a_user_id, $a_create=false) | |
Lookup news feed hash for user. | |
_getFeedPass ($a_user_id) | |
Lookup news feed password for user. | |
_setFeedPass ($a_user_id, $a_password) | |
Set news feed password for user. | |
hasPublicProfile () | |
returns true if public is profile, false otherwise | |
getPublicName () | |
returns firstname lastname and login if profile is public, login otherwise | |
setBirthday ($a_birthday) | |
getBirthday () | |
resetOwner () | |
isCaptchaVerified () | |
Is user captcha verified? | |
setCaptchaVerified ($a_val) | |
Set captcha verified. | |
exportPersonalData () | |
Export personal data. | |
getPersonalDataExportFile () | |
Get personal data export file. | |
sendPersonalDataFile () | |
Send personal data file. | |
importPersonalData ($a_file, $a_profile_data, $a_settings, $a_bookmarks, $a_notes, $a_calendar) | |
Import personal data. | |
setInactivationDate ($inactivation_date) | |
setter for inactivation date | |
getInactivationDate () | |
getter for inactivation date | |
hasToAcceptTermsOfServiceInSession ($status=null) | |
isAnonymous () | |
activateDeletionFlag () | |
removeDeletionFlag () | |
hasDeletionFlag () | |
setIsSelfRegistered ($status) | |
isSelfRegistered () | |
setGeneralInterests (array $value=null) | |
Set general interests. | |
getGeneralInterests () | |
Get general interests. | |
getGeneralInterestsAsText () | |
Get general interests as plain text. | |
setOfferingHelp (array $value=null) | |
Set help offering. | |
getOfferingHelp () | |
Get help offering. | |
getOfferingHelpAsText () | |
Get help offering as plain text. | |
setLookingForHelp (array $value=null) | |
Set help looking for. | |
getLookingForHelp () | |
Get help looking for. | |
getLookingForHelpAsText () | |
Get help looking for as plain text. | |
updateMultiTextFields ($a_create=false) | |
Write multi-text values to DB. | |
Public Member Functions inherited from ilObject | |
ilObject ($a_id=0, $a_reference=true) | |
Constructor public. | |
withReferences () | |
determines wehter objects are referenced or not (got ref ids or not) | |
read ($a_force_db=false) | |
read object data from db into object | |
getId () | |
get object id public | |
setId ($a_id) | |
set object id public | |
setRefId ($a_id) | |
set reference id public | |
getRefId () | |
get reference id public | |
getType () | |
get object type public | |
setType ($a_type) | |
set object type public | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions | |
getTitle () | |
get object title public | |
getUntranslatedTitle () | |
get untranslated object title public | |
setTitle ($a_title) | |
set object title | |
getDescription () | |
get object description | |
setDescription ($a_desc) | |
set object description | |
getLongDescription () | |
get object long description (stored in object_description) | |
getImportId () | |
get import id | |
setImportId ($a_import_id) | |
set import id | |
getOwner () | |
get object owner | |
getOwnerName () | |
_lookupOwnerName ($a_owner_id) | |
lookup owner name for owner id | |
setOwner ($a_owner) | |
set object owner | |
getCreateDate () | |
get create date public | |
getLastUpdateDate () | |
get last update date public | |
getDiskUsage () | |
Gets the disk usage of the object in bytes. | |
setObjDataRecord ($a_record) | |
set object_data record (note: this method should only be called from the ilObjectFactory class) | |
create () | |
create | |
update () | |
update object in db | |
MDUpdateListener ($a_element) | |
Meta data update listener. | |
createMetaData () | |
create meta data entry | |
updateMetaData () | |
update meta data entry | |
deleteMetaData () | |
delete meta data entry | |
updateOwner () | |
update owner of object in db | |
_getIdForImportId ($a_import_id) | |
get current object id for import id (static) | |
_lookupOwner ($a_id) | |
lookup object owner | |
_lookupLastUpdate ($a_id, $a_as_string=false) | |
lookup last update | |
_getLastUpdateOfObjects ($a_objs) | |
Get last update for a set of media objects. | |
_setDeletedDate ($a_ref_id) | |
only called in ilTree::saveSubTree | |
_resetDeletedDate ($a_ref_id) | |
only called in ilObjectGUI::insertSavedNodes | |
_lookupDeletedDate ($a_ref_id) | |
only called in ilObjectGUI::insertSavedNodes | |
_writeTitle ($a_obj_id, $a_title) | |
write title to db (static) | |
_writeDescription ($a_obj_id, $a_desc) | |
write description to db (static) | |
_writeImportId ($a_obj_id, $a_import_id) | |
write import id to db (static) | |
_isInTrash ($a_ref_id) | |
checks wether object is in trash | |
_hasUntrashedReference ($a_obj_id) | |
checks wether an object has at least one reference that is not in trash | |
_getObjectsDataForType ($a_type, $a_omit_trash=false) | |
get all objects of a certain type | |
putInTree ($a_parent_ref) | |
maybe this method should be in tree object!? | |
setPermissions ($a_parent_ref) | |
set permissions of object | |
setParentRolePermissions ($a_parent_ref) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. | |
createReference () | |
creates reference for object | |
countReferences () | |
count references of object | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public | |
applyDidacticTemplate ($a_tpl_id) | |
Apply template. | |
notify ($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0) | |
notifys an object about an event occured Based on the event passed, each object may decide how it reacts. | |
setRegisterMode ($a_bool) | |
isUserRegistered ($a_user_id=0) | |
requireRegistration () | |
getXMLZip () | |
getHTMLDirectory () | |
cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | |
Clone object permissions, put in tree ... | |
appendCopyInfo ($a_target_id, $a_copy_id) | |
Prepend Copy info if object with same name exists in that container. | |
cloneDependencies ($a_target_id, $a_copy_id) | |
Clone object dependencies. | |
cloneMetaData ($target_obj) | |
Copy meta data. | |
_lookupCreationDate ($a_id) | |
Lookup creation date. |
Static Public Member Functions | |
static | _lookupGender ($a_user_id) |
Lookup gender. | |
static | _lookupName ($a_user_id) |
lookup user name | |
static | _lookupId ($a_user_str) |
lookup id by login | |
static | _doesLoginnameExistInHistory ($a_login) |
Checks wether the passed loginname already exists in history. | |
static | _getLastHistoryDataByUserId ($a_usr_id) |
Returns the last used loginname and the changedate of the passed user_id. | |
static | _writePref ($a_usr_id, $a_keyword, $a_value) |
static | lookupMatriculation ($a_usr_id) |
Lookup matriculation. | |
static | _lookupLanguage ($a_usr_id) |
static | hasActiveSession ($a_user_id) |
Check for simultaneous login. | |
_getUserIdsByEmail ($a_email) | |
STATIC METHOD get all user_ids of an email address. | |
getUserIdByEmail ($a_email) | |
STATIC METHOD get the user_id of an email address. | |
static | searchUsers ($a_search_str, $active=1, $a_return_ids_only=false, $filter_settings=FALSE) |
STATIC METHOD get the user_ids which correspond a search string. | |
_getAllUserLogins (&$ilias) | |
STATIC METHOD get all user logins. | |
static | _readUsersProfileData ($a_user_ids) |
STATIC METHOD get user data of selected users. | |
_getAllUserData ($a_fields=NULL, $active=-1) | |
STATIC METHOD get all user data. | |
static | _addDesktopItem ($a_usr_id, $a_item_id, $a_type, $a_par="") |
add an item to user's personal desktop | |
static | _dropDesktopItem ($a_usr_id, $a_item_id, $a_type) |
drop an item from user's personal desktop | |
static | _removeItemFromDesktops ($a_id) |
removes object from all user's desktops public | |
static | _isDesktopItem ($a_usr_id, $a_item_id, $a_type) |
check wether an item is on the users desktop or not | |
static | preloadIsDesktopItem ($a_usr_id, $a_item_ids) |
Preload desktop item information. | |
static | _lookupDesktopItems ($user_id, $a_types="") |
get all desktop items of user and specified type | |
static | _getExternalAccountsByAuthMode ($a_auth_mode, $a_read_auth_default=false) |
Get list of external account by authentication method Note: If login == ext_account for two user with auth_mode 'default' and auth_mode 'ldap' The ldap auth mode chosen. | |
static | _toggleActiveStatusOfUsers ($a_usr_ids, $a_status) |
Toggle active status of users. | |
static | _lookupAuthMode ($a_usr_id) |
lookup auth mode | |
static | _checkExternalAuthAccount ($a_auth, $a_account) |
check whether external account and authentication method matches with a user | |
static | _getPersonalPicturePath ($a_usr_id, $a_size="small", $a_force_pic=false, $a_prevent_no_photo_image=false) |
Get path to personal picture. | |
static | copyProfilePicturesToDirectory ($a_user_id, $a_dir) |
Get profile picture direcotory. | |
static | _loginExists ($a_login, $a_user_id=0) |
check if a login name already exists You may exclude a user from the check by giving his user id as 2nd paramter public static | |
static | _externalAccountExists ($a_external_account, $a_auth_mode) |
Check if an external account name already exists. | |
static | _getUsersForRole ($role_id, $active=-1) |
return array of complete users which belong to a specific role | |
static | _getUsersForFolder ($ref_id, $active) |
get users for a category or from system folder | |
static | _getUsersForGroup ($a_mem_ids, $active=-1) |
return user data for group members | |
static | _getUsersForIds ($a_mem_ids, $active=-1, $timelimitowner=-1) |
return user data for given user id | |
static | _getUserData ($a_internalids) |
return user data for given user ids | |
static | _getPreferences ($user_id) |
get preferences for user | |
static | _resetLoginAttempts ($a_usr_id) |
static | _getLoginAttempts ($a_usr_id) |
static | _incrementLoginAttempts ($a_usr_id) |
static | _setUserInactive ($a_usr_id) |
static | _writeHistory ($a_usr_id, $a_login) |
static | _getAssociatedUsersOnline ($a_user_id, $a_no_anonymous=false) |
reads all active sessions from db and returns users that are online and who have a local role in a group or a course for which the | |
static | _generateRegistrationHash ($a_usr_id) |
Generates a unique hashcode for activating a user profile after registration. | |
static | _verifyRegistrationHash ($a_hash) |
Verifies a registration hash. | |
static | _getUserIdsByInactivityPeriod ($period) |
get ids of all users that have been inactive for at least the given period | |
static | _getUserIdsByInactivationPeriod ($period) |
get ids of all users that have been inactivated since at least the given period | |
static | _updateLastLogin ($a_usr_id, $a_last_login=null) |
STATIC METHOD updates the last_login field of user with given id to given or current date. | |
static | getFirstLettersOfLastnames () |
Get first letters of all lastnames. | |
static | userExists ($a_usr_ids=array()) |
static | findInterests ($a_term, $a_user_id=null, $a_field_id=null) |
Static Public Member Functions inherited from ilObject | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _getAllReferences ($a_id) |
get all reference ids of object | |
static | _lookupTitle ($a_id) |
lookup object title | |
static | _getIdsForTitle ($title, $type= '', $partialmatch=false) |
static | _lookupDescription ($a_id) |
lookup object description | |
static | _lookupObjId ($a_id) |
static | setDeletedDates ($a_ref_ids) |
Set deleted date type $ilDB. | |
static | _lookupType ($a_id, $a_reference=false) |
lookup object type | |
static | _lookupObjectId ($a_ref_id) |
lookup object id | |
static | _exists ($a_id, $a_reference=false, $a_type=null) |
checks if an object exists in object_data | |
static | _getObjectsByType ($a_obj_type="", $a_owner="") |
Get objects by type. | |
static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
Prepare copy wizard object selection. | |
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
Get icon for repository item. | |
static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
Collect deletion dependencies. | |
static | getDeletionDependencies ($a_obj_id) |
Get deletion dependencies. | |
static | getLongDescriptions (array $a_obj_ids) |
Get long description data. | |
static | getAllOwnedRepositoryObjects ($a_user_id) |
Get all ids of objects user owns. | |
static | hasAutoRating ($a_type, $a_ref_id) |
Check if auto rating is active for parent group/course. |
Data Fields | |
$login | |
all user related data in single vars public | |
$gender | |
$utitle | |
$firstname | |
$lastname | |
$fullname | |
$institution | |
$department | |
$street | |
$city | |
$zipcode | |
$country | |
$sel_country | |
$phone_office | |
$phone_home | |
$phone_mobile | |
$fax | |
$hobby | |
$matriculation | |
$referral_comment | |
$approve_date = null | |
$agree_date = null | |
$active | |
$client_ip | |
$auth_mode | |
$im_icq | |
$im_yahoo | |
$im_msn | |
$im_aim | |
$im_skype | |
$im_jabber | |
$im_voip | |
$delicious | |
$latitude | |
$longitude | |
$loc_zoom | |
$last_password_change_ts | |
$login_attempts | |
$user_defined_data = array() | |
$prefs | |
$skin | |
$default_role | |
$ilias | |
Data Fields inherited from ilObject | |
const | TITLE_LENGTH = 255 |
max length of object title | |
const | DESC_LENGTH = 128 |
$ilias | |
$lng | |
$id | |
$ref_id | |
$type | |
$title | |
$untranslatedTitle | |
$desc | |
$long_desc | |
$owner | |
$create_date | |
$last_update | |
$import_id | |
$register = false | |
$referenced | |
$objectList | |
$max_title | |
$max_desc | |
$add_dots | |
$obj_data_record | |
object_data record |
Static Public Attributes | |
static | $is_desktop_item_loaded |
static | $is_desktop_item_cache |
Protected Member Functions | |
buildTextFromArray ($a_attr) | |
Convert multi-text values to plain text. | |
readMultiTextFields () | |
Fetch multi-text values from DB. | |
deleteMultiTextFields () | |
Remove multi-text values from DB. |
Protected Attributes | |
$passwd | |
$passwd_type | |
$password_encoding_type | |
$password_salt = null | |
$birthday | |
$inactivation_date = null | |
$interests_general | |
$interests_help_offered | |
$interests_help_looking |
Static Protected Attributes | |
static | $personal_image_cache = array() |
Private Member Functions | |
_lookup ($a_user_id, $a_field) | |
Private function for lookup methods. |
Static Private Member Functions | |
static | getLoginFromAuth () |
Gets the username from $ilAuth, and converts it into an ILIAS login name. | |
static | initInactivationDate ($usrIds) |
type $ilDB | |
static | resetInactivationDate ($usrIds) |
type $ilDB |
Private Attributes | |
$is_self_registered = false |
Definition at line 23 of file class.ilObjUser.php.
ilObjUser::__construct | ( | $a_user_id = 0 , |
|
$a_call_by_reference = false |
|||
) |
Constructor public.
integer | user_id |
Definition at line 175 of file class.ilObjUser.php.
References $ilDB, $ilias, $skin, IL_PASSWD_PLAIN, read(), and ilObject\setId().
ilObjUser::__readAppliedUsers | ( | $a_parent_id | ) |
Definition at line 2517 of file class.ilObjUser.php.
References $ilDB, $res, and $row.
Referenced by getAppliedUsers(), and isChild().
|
static |
add an item to user's personal desktop
int | $a_usr_id | id of user object |
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 3057 of file class.ilObjUser.php.
References $ilDB, and ilCalendarCategories\deletePDItemsCache().
Referenced by ilRbacAdmin\addDesktopItem(), ilParticipant\addDesktopItem(), ilParticipants\addDesktopItem(), addDesktopItem(), ilDesktopItemGUI\addToDesktop(), ilAccountCode\applyRoleAssignments(), ilUserImportParser\assignToRole(), ilECSEnrolmentStatusCommandQueueHandler\doUpdate(), ilObjSurvey\inviteGroup(), ilObjSurvey\inviteRole(), and ilObjSurvey\inviteUser().
|
static |
check whether external account and authentication method matches with a user
Definition at line 3767 of file class.ilObjUser.php.
References $ilDB, $ilSetting, $res, and ilAuthUtils\_getAuthModeName().
Referenced by ilSoapAuthentication\__checkAgreement(), ilSoapAuthenticationCAS\authenticate(), ilAuthContainerLDAP\extractUserName(), ilAuthContainerSOAP\fetchData(), ilUserImportParser\importEndTag(), ilCASAuth\login(), ilAuthContainerCAS\loginObserver(), ilAuthContainerRadius\loginObserver(), ilAuthContainerOpenId\loginObserver(), ilLDAPUserSynchronisation\readInternalAccount(), ilLDAPQuery\readUserData(), ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), ilObjUserTest\testAuthAndEmailMethods(), ilObjUserGUI\updateObjectOld(), ilAuthContainerApache\updateRequired(), ilAuthContainerLDAP\updateRequired(), and ilUserImportParser\verifyEndTag().
ilObjUser::_deleteAllPref | ( | $a_user_id | ) |
Deletes a userpref value of the user from the database public.
string | keyword |
Definition at line 1108 of file class.ilObjUser.php.
References $ilDB.
Referenced by delete(), and writePrefs().
|
static |
Checks wether the passed loginname already exists in history.
public
string | $a_login | Loginname |
Definition at line 937 of file class.ilObjUser.php.
Referenced by ilAccountRegistrationGUI\saveForm(), and updateLogin().
|
static |
drop an item from user's personal desktop
int | $a_usr_id | id of user object |
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 3118 of file class.ilObjUser.php.
References $ilDB, and ilCalendarCategories\deletePDItemsCache().
Referenced by ilPDSelectedItemsBlockGUI\confirmedRemove(), ilUserImportParser\detachFromRole(), ilObjSurvey\disinviteUser(), ilECSEnrolmentStatusCommandQueueHandler\doUpdate(), ilParticipant\dropDesktopItem(), ilParticipants\dropDesktopItem(), dropDesktopItem(), and ilDesktopItemGUI\removeFromDesktop().
|
static |
Check if an external account name already exists.
public
string | external account |
string | auth mode |
Definition at line 4493 of file class.ilObjUser.php.
Referenced by ilObjUserTest\testAuthAndEmailMethods().
|
static |
Generates a unique hashcode for activating a user profile after registration.
integer | $a_usr_id | user id of the current user |
Definition at line 5000 of file class.ilObjUser.php.
References $ilDB, $res, $row, and DB_FETCHMODE_OBJECT.
ilObjUser::_getAllUserAssignedStyles | ( | ) |
skins and styles
Definition at line 3004 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilSystemStylesTableGUI\getStyles(), ilObjStyleSettingsGUI\moveUserStylesObject(), and ilObjUserTest\testMiscellaneous().
|
static |
STATIC METHOD get all user data.
array | desired columns |
Definition at line 2871 of file class.ilObjUser.php.
References $_SESSION, $active, $ilDB, ilObject\$ref_id, and $row.
Referenced by ilLocalUser\_getUserData(), and ilObjUserTest\testSearch().
|
static |
STATIC METHOD get all user logins.
ilias | object |
Definition at line 2831 of file class.ilObjUser.php.
References $ilDB, $res, and $row.
Referenced by ilMail\__checkSystemRecipients().
|
static |
reads all active sessions from db and returns users that are online and who have a local role in a group or a course for which the
the current user has also a local role.
integer | user_id User ID of the current user. |
Definition at line 4905 of file class.ilObjUser.php.
References $ilDB, $ilias, and $row.
Referenced by ilUtil\getAssociatedUsersOnline().
|
static |
Get list of external account by authentication method Note: If login == ext_account for two user with auth_mode 'default' and auth_mode 'ldap' The ldap auth mode chosen.
public
string | auth_mode |
bool | also get users with authentication method 'default' |
Definition at line 3674 of file class.ilObjUser.php.
References $ilDB, $ilSetting, $res, $row, ilAuthUtils\_getAuthModeName(), and AUTH_LOCAL.
Referenced by ilLDAPCronSynchronization\deactivateUsers(), ilLDAPRoleGroupMapping\initServers(), and ilObjUserTest\testAuthAndEmailMethods().
ilObjUser::_getFeedPass | ( | $a_user_id | ) |
Lookup news feed password for user.
integer | user_id |
Definition at line 4425 of file class.ilObjUser.php.
References $ilDB, and _lookupPref().
ilObjUser::_getImportedUserId | ( | $i2_id | ) |
Definition at line 3600 of file class.ilObjUser.php.
References ilObject\$id, $ilDB, $query, $res, and $row.
Referenced by ilGroupXMLParser\__parseId(), ilCourseXMLParser\__parseId(), and ilMailImportParser\handlerBeginTag().
|
static |
Returns the last used loginname and the changedate of the passed user_id.
Throws an ilUserException in case no entry could be found.
public
string | $a_usr_id | A user id |
ilUserException |
Definition at line 961 of file class.ilObjUser.php.
References $ilDB, $res, and $row.
Referenced by ilObjUserGUI\initForm(), and updateLogin().
ilObjUser::_getLocalAccountsForEmail | ( | $a_email | ) |
check whether external account and authentication method matches with a user
Definition at line 3838 of file class.ilObjUser.php.
References $ilDB, and $ilSetting.
Referenced by ilAuthContainerSOAP\loginObserver(), ilStartUpGUI\showUserMappingSelection(), and ilObjUserTest\testAuthAndEmailMethods().
|
static |
Definition at line 4738 of file class.ilObjUser.php.
References $ilDB, $login_attempts, $query, and $result.
Referenced by ilAuthBase\failedLoginObserver(), and ilObjUserTest\testAuthAndEmailMethods().
ilObjUser::_getNumberOfUsersForStyle | ( | $a_skin, | |
$a_style | |||
) |
skins and styles
Definition at line 2983 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilStyleDefinition\getAllSkinStyles(), ilSystemStylesTableGUI\getStyles(), ilObjStyleSettingsGUI\saveStyleSettingsObject(), and ilObjUserTest\testMiscellaneous().
ilObjUser::_getNumberOfUsersPerAuthMode | ( | ) |
get number of users per auth mode
Definition at line 3818 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), and ilObjUserTest\testAuthAndEmailMethods().
|
static |
Get path to personal picture.
$a_usr_id | ||
string | $a_size | "small", "xsmall" or "xxsmall" |
bool | $a_force_pic | |
bool | $a_prevent_no_photo_image |
Definition at line 3933 of file class.ilObjUser.php.
References $file, $ilDB, $res, $row, and ilUtil\getImagePath().
Referenced by ilUserProfile\addStandardFieldsToForm(), ilPortfolioHTMLExport\buildExportFile(), ilObjBlogGUI\buildExportFile(), ilWikiContributorsTableGUI\fillRow(), ilRepositoryUserResultTableGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilPublicUserProfileGUI\getEmbeddable(), ilUserUtil\getNamePresentation(), ilNoteGUI\getNoteListHTML(), getPersonalPicturePath(), ilObjUserGUI\initForm(), ilObjPortfolioBaseGUI\renderFullscreenHeader(), ilObjBlogGUI\renderFullscreenHeader(), ilPublicUserProfileGUI\renderTitle(), and ilPersonalProfileGUI\showPublicProfileFields().
|
static |
get preferences for user
int | $user_id |
Definition at line 4709 of file class.ilObjUser.php.
References $ilDB, $prefs, and $row.
Referenced by ilUserXMLWriter\__handleUser(), and readPrefs().
|
static |
return user data for given user ids
array | of internal ids or numerics $a_internalids |
Definition at line 4661 of file class.ilObjUser.php.
References $ilDB, $query, $result, $row, and ilUtil\__extractId().
Referenced by ilSoapUserAdministration\getUserXML(), and ilObjSurvey\sendNotificationMail().
|
static |
STATIC METHOD get all user_ids of an email address.
string | email of user |
Definition at line 2638 of file class.ilObjUser.php.
References $ilDB, $ilias, $res, and $row.
Referenced by ilPasswordAssistanceGUI\submitUsernameAssistanceForm(), and ilObjUserTest\testAuthAndEmailMethods().
|
static |
get ids of all users that have been inactivated since at least the given period
integer | $period | (in days) |
Definition at line 5137 of file class.ilObjUser.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCronDeleteInactivatedUserAccounts\run().
|
static |
get ids of all users that have been inactive for at least the given period
integer | $period | (in days) |
Definition at line 5108 of file class.ilObjUser.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
ilObjUser::_getUsersForClipboadObject | ( | $a_type, | |
$a_id | |||
) |
get all users, that have a certain object within their clipboard
string | $a_type | object type |
string | $a_type | object type |
Definition at line 3565 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilObjMediaObject\lookupUsages(), and ilObjUserTest\testClipboard().
|
static |
get users for a category or from system folder
$ref_id | ref id of object |
$active | can be -1 (ignore), 1 = active, 0 = not active user |
Definition at line 4554 of file class.ilObjUser.php.
References $active, $ilDB, $query, ilObject\$ref_id, $result, $row, and USER_FOLDER_ID.
Referenced by ilSoapUserAdministration\getUsersForContainer().
|
static |
return user data for group members
int | array of member ids |
int | active can be -1 (ignore), 1 = active, 0 = not active user |
Definition at line 4597 of file class.ilObjUser.php.
References $active, and _getUsersForIds().
Referenced by ilSoapUserAdministration\getUsersForContainer().
|
static |
return user data for given user id
int | array of member ids |
int | active can be -1 (ignore), 1 = active, 0 = not active user |
Definition at line 4608 of file class.ilObjUser.php.
References $active, $ilDB, $query, $result, $row, and USER_FOLDER_ID.
Referenced by _getUsersForGroup(), and ilSoapUserAdministration\getUsersForContainer().
|
static |
return array of complete users which belong to a specific role
int | role id | |
int | $active | if -1, all users will be delivered, 0 only non active, 1 only active users |
Definition at line 4511 of file class.ilObjUser.php.
References $active, $ilDB, $query, and $row.
Referenced by ilSoapUserAdministration\getUserForRole().
|
static |
Definition at line 4750 of file class.ilObjUser.php.
Referenced by ilAuthBase\failedLoginObserver(), and ilObjUserTest\testAuthAndEmailMethods().
|
static |
check wether an item is on the users desktop or not
int | $a_usr_id | id of user object |
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 3181 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilParticipant\addDesktopItem(), ilParticipants\addDesktopItem(), ilParticipant\dropDesktopItem(), ilParticipants\dropDesktopItem(), and isDesktopItem().
|
static |
check if a login name already exists You may exclude a user from the check by giving his user id as 2nd paramter public static
string | login name |
integer | user id of user to exclude (optional) |
Definition at line 4458 of file class.ilObjUser.php.
Referenced by ilMail\__substituteRecipients(), ilSoapUserAdministration\__validateUserData(), ilUserLoginInputGUI\checkInput(), ilCalendarAppointmentGUI\loadNotificationRecipients(), ilAuthBase\loginObserver(), ilLuceneQueryParser\replaceOwnerCallback(), ilAccountRegistrationGUI\saveForm(), ilPersonalProfileGUI\savePersonalData(), ilConsultationHourAppointments\setManager(), ilMailSearchGUI\showResults(), ilObjUserTest\testCreateSetLookupDelete(), and ilObjUserGUI\updateObjectOld().
|
private |
Private function for lookup methods.
Definition at line 694 of file class.ilObjUser.php.
Referenced by _lookupAuthMode(), _lookupClientIP(), _lookupEmail(), _lookupExternalAccount(), _lookupGender(), _lookupIm(), _lookupLastLogin(), _lookupLogin(), and getStoredActive().
ilObjUser::_lookupActive | ( | $a_usr_id | ) |
Check user account active.
Definition at line 2216 of file class.ilObjUser.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilGroupParticipantsTableGUI\fillRow(), and ilCourseParticipantsTableGUI\fillRow().
|
static |
lookup auth mode
public
int | usr_id |
Definition at line 3756 of file class.ilObjUser.php.
References _lookup().
Referenced by ilECSAppEventListener\handleEvent(), ilAuthContainerMDB2\loginObserver(), and ilObjUserTest\testAuthAndEmailMethods().
ilObjUser::_lookupClientIP | ( | $a_user_id | ) |
Lookup client ip.
int | user id |
Definition at line 767 of file class.ilObjUser.php.
References _lookup().
Referenced by ilObjTest\inviteGroup(), ilObjTest\inviteRole(), and ilObjUserTest\testCreateSetLookupDelete().
|
static |
get all desktop items of user and specified type
note: the implementation of this method is not good style (directly reading tables object_data and object_reference), must be revised someday...
Definition at line 3265 of file class.ilObjUser.php.
References ilObject\$desc, $ilDB, $ilUser, ilObject\$title, ilObject\_lookupDescription(), and ilObject\_lookupTitle().
Referenced by ilNewsItem\_getNewsItemsOfUser(), ilNote\_getRelatedObjectsOfUser(), getDesktopItems(), and ilCalendarCategories\readSelectedItemCalendars().
ilObjUser::_lookupEmail | ( | $a_user_id | ) |
Lookup email.
Definition at line 748 of file class.ilObjUser.php.
References _lookup().
Referenced by ilObjPaymentSettingsGUI\addStatisticWorksheet(), ilMailSearchGroupsGUI\adoptMembers(), ilMailSearchCoursesGUI\adoptMembers(), ilObjSurvey\getAppraiseesData(), ilAttendanceList\getHTML(), ilMailOptions\getOptions(), ilObjSurvey\getRatersData(), ilPersonalSettingsGUI\initMailOptionsForm(), ilMailOptionsGUI\initMailOptionsForm(), ilPaymentNotification\send(), ilMailSummaryNotification\send(), ilMailSearchGUI\showResults(), ilObjPaymentSettingsGUI\statisticObject(), and ilObjUserTest\testCreateSetLookupDelete().
ilObjUser::_lookupExternalAccount | ( | $a_user_id | ) |
lookup external account for login and authmethod
Definition at line 816 of file class.ilObjUser.php.
References _lookup().
Referenced by ilUserImportParser\importEndTag(), ilObjUserTest\testCreateSetLookupDelete(), and ilUserImportParser\verifyEndTag().
ilObjUser::_lookupFeedHash | ( | $a_user_id, | |
$a_create = false |
|||
) |
Lookup news feed hash for user.
If hash does not exist, create one.
Definition at line 4391 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilUserFeedWriter\ilUserFeedWriter().
ilObjUser::_lookupFields | ( | $a_user_id | ) |
lookup fields (deprecated; use more specific methods instead)
Definition at line 795 of file class.ilObjUser.php.
Referenced by ilObjSCORMVerification\createFromSCORMLM(), ilSCORMPresentationGUI\downloadCertificate(), ilTestExport\exportToCSV(), ilTestExport\exportToExcel(), ilSpecialUsersTableGUI\fillRow(), ilTestCertificateAdapter\getCertificateVariablesForPresentation(), ilCourseCertificateAdapter\getCertificateVariablesForPresentation(), ilExerciseCertificateAdapter\getCertificateVariablesForPresentation(), and ilObjUserTest\testCreateSetLookupDelete().
ilObjUser::_lookupFullname | ( | $a_user_id | ) |
Lookup Full Name.
Definition at line 711 of file class.ilObjUser.php.
References $fullname, and $ilDB.
Referenced by ilExAssignment\addTeamMember(), ilCalendarAppointmentGUI\book(), ilCalendarAppointmentGUI\cancelBooking(), ilRbacLogTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), ilLPTableBaseGUI\getExportMeta(), ilCalendarAppointmentPanelGUI\getHTML(), ilCalendarBlockGUI\getHTML(), ilExAssignmentTeamLogTableGUI\getItems(), ilExAssignmentGUI\getOverviewBody(), ilExAssignment\getTeamId(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilBookingEntry\lookupManagedBookingsForObject(), ilSCORMTrackingItemsScoTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilExAssignment\removeTeamMember(), ilCalendarMailNotification\send(), ilConsultationHoursGUI\sendInfoAboutUnassignedUsers(), ilObjDataCollection\sendNotification(), ilWikiUtil\sendNotification(), ilObjSurvey\sendTutorNotification(), and ilObjSurvey\sentReminder().
|
static |
Lookup gender.
Definition at line 756 of file class.ilObjUser.php.
References _lookup().
Referenced by ilMail\getSalutation(), and ilObjUserTest\testCreateSetLookupDelete().
|
static |
lookup id by login
Definition at line 824 of file class.ilObjUser.php.
Referenced by ilDiskQuotaSummaryNotification\__construct(), ilMail\__getCountRecipient(), ilMail\__getEmailRecipients(), ilObjUserGUI\_goto(), ilShopUtils\_sendNotificationToVATAdministration(), ilSoapObjectAdministration\addObject(), ilOrgUnitStaffGUI\addOtherRoles(), ilOrgUnitStaffGUI\addStaff(), ilRepositorySearchGUI\addUserFromAutoComplete(), ilObjBlogGUI\addUserFromAutoComplete(), ilObjExerciseGUI\addUserFromAutoCompleteObject(), ilSkillProfileGUI\assignUser(), ilOrgUnitSimpleUserImport\buildUserId(), ilChatroomInviteUsersToPrivateRoomTask\byLogin(), ilPermission2GUI\changeOwner(), ilMailAddressbookGUI\checkInput(), checkUserId(), ilOpenIdAttributeToUser\create(), ilAuthBase\failedLoginObserver(), ilMail\formatNamesForOutput(), ilObjectPermissionStatusGUI\getUser(), getUserIdByLogin(), ilMail\getUserIds(), ilSessionControl\handleLoginEvent(), ilChatroom\inviteUserToPrivateRoomByLogin(), ilAuthContainerMDB2\loginObserver(), ilAuthContainerECS\loginObserver(), ilStartUpGUI\migrateAccount(), ilSoapRBACAdministration\parseUserID(), ilStartUpGUI\processCode(), ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), ilDataCollectionRecordEditGUI\save(), ilObjSurveyGUI\savePropertiesObject(), ilDiskQuotaSummaryNotification\send(), ilRegistrationSettings\setApproveRecipientLogins(), ilObjDiskQuotaSettings\setSummaryRecipients(), ilMailSearchGUI\showResults(), ilObjUserTest\testCreateSetLookupDelete(), ilLDAPAttributeToUser\usersToXML(), ilRegistrationSettings\validate(), and ilUserImportParser\verifyEndTag().
ilObjUser::_lookupIm | ( | $a_user_id, | |
$a_type | |||
) |
Lookup IM.
Definition at line 739 of file class.ilObjUser.php.
References _lookup().
Referenced by ilUsersOnlineBlockGUI\fillRow().
|
static |
Definition at line 2030 of file class.ilObjUser.php.
Referenced by ilForum\_getLanguageInstanceByUsrId(), ilLanguageFactory\_getLanguageOfUser(), and ilObjUserTest\testCreateSetLookupDelete().
ilObjUser::_lookupLastLogin | ( | $a_user_id | ) |
lookup last login
Definition at line 837 of file class.ilObjUser.php.
References _lookup().
Referenced by ilCronDeleteInactiveUserReminderMail\removeEntriesFromTableIfLastLoginIsNewer(), and ilObjUserTest\testCreateSetLookupDelete().
ilObjUser::_lookupLogin | ( | $a_user_id | ) |
lookup login
Definition at line 808 of file class.ilObjUser.php.
References _lookup().
Referenced by ilCourseXMLParser\__parseId(), ilRegistrationSettings\__read(), ilPaymentStatisticGUI\addStatisticWorksheet(), ilObjPaymentSettingsGUI\addStatisticWorksheet(), ilMailSearchGroupsGUI\adoptMembers(), ilMailSearchCoursesGUI\adoptMembers(), ilObjSessionGUI\eventsListObject(), ilSessionOverviewGUI\exportCSV(), ilPageHistoryTableGUI\fillRow(), ilMilestoneResponsiblesTableGUI\fillRow(), ilAttendanceList\getHTML(), ilDAVServer\getLogin(), getLoginByUserId(), ilConsultationHourAppointments\getManagedUsers(), ilConsultationHourAppointments\getManager(), ilNoteGUI\getNoteListHTML(), ilTestServiceGUI\getResultsHeadUserAndPass(), ilTestServiceGUI\getResultsUserdata(), ilObjSurvey\getUserDataFromActiveId(), ilObjForumGUI\getUserNotificationTableData(), ilObjUserGUI\getValues(), ilCalendarAppointmentGUI\initForm(), ilSessionOverviewGUI\listSessions(), ilAuthContainerSOAP\loginObserver(), ilMailSearchGroupsGUI\mailMembers(), ilMailSearchCoursesGUI\mailMembers(), ilPermission2GUI\owner(), ilCalendarSharedUserListTableGUI\parse(), ilSessionParticipantsTableGUI\parse(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilCalendarEntry\readResponsibleUsers(), ilObjExerciseGUI\redirectFeedbackMailObject(), ilMailSummaryNotification\send(), ilForum\sendForumNotifications(), ilMembershipCronNotifications\sendMail(), ilMailNotification\sendMail(), ilForumCronNotification\sendMails(), ilObjContentObjectGUI\sendMailToBlockedUsers(), ilMembershipGUI\sendMailToSelectedUsers(), ilObjCourseGUI\sendMailToSelectedUsersObject(), ilObjGroupGUI\sendMailToSelectedUsersObject(), ilObjDataCollection\sendNotification(), ilWikiUtil\sendNotification(), ilForum\sendPostActivationNotification(), ilForum\sendThreadNotifications(), ilObjSurvey\sendTutorNotification(), ilObjSurvey\sentReminder(), ilPaymentCouponGUI\showCoupons(), ilMailSearchCoursesGUI\showMembers(), ilMailSearchGUI\showResults(), ilPaymentStatisticGUI\showStatistics(), ilMailFolderGUI\showUser(), ilObjPaymentSettingsGUI\statisticObject(), ilObjUserTest\testCreateSetLookupDelete(), updateLogin(), and ilUserImportParser\verifyEndTag().
|
static |
lookup user name
Definition at line 778 of file class.ilObjUser.php.
Referenced by ilExGradesTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilGroupXMLParser\__parseId(), ilObjTestAccess\_getParticipantData(), ilObjPaymentSettingsGUI\addStatisticWorksheet(), ilMailSearchGroupsGUI\adoptMembers(), ilMailSearchCoursesGUI\adoptMembers(), ilObjSessionGUI\confirmAssignFromWaitingListObject(), ilObjGroupGUI\confirmAssignFromWaitingListObject(), ilObjCourseGUI\confirmAssignFromWaitingListObject(), ilObjSessionGUI\confirmAssignSubscribersObject(), ilObjGroupGUI\confirmAssignSubscribersObject(), ilObjCourseGUI\confirmAssignSubscribersObject(), ilObjSessionGUI\confirmRefuseFromListObject(), ilObjGroupGUI\confirmRefuseFromListObject(), ilObjCourseGUI\confirmRefuseFromListObject(), ilObjSessionGUI\confirmRefuseSubscribersObject(), ilObjGroupGUI\confirmRefuseSubscribersObject(), ilObjCourseGUI\confirmRefuseSubscribersObject(), ilOrgUnitStaffGUI\confirmRemoveUser(), ilSkillProfileGUI\confirmUserRemoval(), ilObjCourseGUI\deleteMembersObject(), ilObjTestGUI\deleteSingleUserResultsObject(), ilLocalUserGUI\deleteUsers(), ilObjCategoryGUI\deleteUsersObject(), ilExAssignment\deliverReturnedFiles(), ilExAssignment\downloadAllDeliveredFiles(), ilObjPortfolioGUI\downloadExcSubFile(), ilObjBlogGUI\downloadExcSubFile(), ilExAssignment\downloadMultipleFiles(), ilExAssignment\downloadSelectedFiles(), ilObjSessionGUI\eventsListObject(), ilSessionOverviewGUI\exportCSV(), ilObjExercise\exportGradesExcel(), ilObjAssessmentFolderGUI\exportLogObject(), ilPageHistoryTableGUI\fillRow(), ilAssessmentFolderLogTableGUI\fillRow(), ilCalendarInboxSharedTableGUI\fillRow(), ilFileVersionTableGUI\fillRow(), ilRbacLogTableGUI\fillRow(), ilObjSurvey\getAppraiseesData(), ilSkillProfile\getAssignedUsers(), ilLMTracker\getBlockedUsersInformation(), ilAttendanceList\getHTML(), ilCourseParticipantsGroupsTableGUI\getItems(), ilBookingReservation\getListByDate(), ilExAssignment\getMultiFeedbackFiles(), ilPageObject\getPageContributors(), ilPageObject\getParentObjectContributors(), ilMilestoneResponsiblesTableGUI\getParticipantsAndResponsibles(), ilObjSurvey\getRatersData(), ilMail\getSalutation(), ilDataCollectionRecord\getStandardField(), ilObjForumGUI\getUserNotificationTableData(), ilWorkspaceShareTableGUI\importData(), ilWorkspaceShareTableGUI\initFilter(), ilObjectCustomUserFieldsGUI\initMemberForm(), ilObjSurveyGUI\initPropertiesForm(), ilSessionOverviewGUI\listSessions(), ilAuthContainerCalendarToken\loginObserver(), ilTestEvaluationGUI\outParticipantsResultsOverview(), ilCalendarSharedUserListTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilSessionParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilObjGroupGUI\readMemberData(), ilObjCourseGUI\readMemberData(), ilCalendarEntry\readResponsibleUsers(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilObjPortfolioBaseGUI\renderFullscreenHeader(), ilObjBlogGUI\renderFullscreenHeader(), ilTestScoringGUI\saveManScoringParticipantScreen(), ilObjExerciseGUI\saveStatusObject(), ilExAssignment\sendMultiFeedbackStructureFile(), ilMailSearchCoursesGUI\showMembers(), ilObjExerciseGUI\showParticipantObject(), ilMailSearchGUI\showResults(), ilCourseContentGUI\showUserTimings(), ilObjPaymentSettingsGUI\statisticObject(), ilObjUserTest\testCreateSetLookupDelete(), ilObjTest\userLookupFullName(), and ilMailNotification\userToString().
ilObjUser::_lookupPref | ( | $a_usr_id, | |
$a_keyword | |||
) |
Definition at line 1253 of file class.ilObjUser.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _getFeedPass(), ilNewsItem\_getNewsItemsOfUser(), ilMailSearchGroupsGUI\adoptMembers(), ilMailSearchCoursesGUI\adoptMembers(), ilWebAccessChecker\checkAccessUserImage(), ilUsersOnlineBlockGUI\fillRow(), ilMail\formatNamesForOutput(), ilUserUtil\getProfileLink(), ilUsersOnlineBlockGUI\getUsers(), ilMailSearchGroupsGUI\showMembers(), ilMailSearchCoursesGUI\showMembers(), ilMailSearchGUI\showResults(), and ilObjUserTest\testCreateSetLookupDelete().
ilObjUser::_moveUsersToStyle | ( | $a_from_skin, | |
$a_from_style, | |||
$a_to_skin, | |||
$a_to_style | |||
) |
skins and styles
Definition at line 3027 of file class.ilObjUser.php.
References $ilDB, and _writePref().
Referenced by ilObjStyleSettingsGUI\moveUserStylesObject(), and ilObjUserTest\testMiscellaneous().
|
static |
STATIC METHOD get user data of selected users.
array | desired user ids |
Definition at line 2851 of file class.ilObjUser.php.
References $ilDB, $res, and $row.
Referenced by ilMemberExport\fetchUsers(), ilObjPaymentSettingsGUI\saveCustomerObject(), and ilObjUserTest\testCreateSetLookupDelete().
|
static |
removes object from all user's desktops public
integer | ref_id |
Definition at line 3149 of file class.ilObjUser.php.
Referenced by ilUtil\removeItemFromDesktops().
|
static |
Definition at line 4727 of file class.ilObjUser.php.
Referenced by ilAuthBase\loginObserver(), ilObjUserTest\testAuthAndEmailMethods(), and ilObjUserGUI\updateObject().
ilObjUser::_setFeedPass | ( | $a_user_id, | |
$a_password | |||
) |
Set news feed password for user.
integer | user_id |
string | new password |
Definition at line 4441 of file class.ilObjUser.php.
References $ilDB, and _writePref().
|
static |
Definition at line 4761 of file class.ilObjUser.php.
References $ilDB, $query, and ilUtil\now().
Referenced by ilAuthBase\failedLoginObserver(), and ilObjUserTest\testAuthAndEmailMethods().
|
static |
Toggle active status of users.
public
Definition at line 3712 of file class.ilObjUser.php.
References $ilDB, and ilUtil\now().
Referenced by ilLDAPCronSynchronization\deactivateUsers(), and ilObjUserTest\testCreateSetLookupDelete().
|
static |
STATIC METHOD updates the last_login field of user with given id to given or current date.
integer | $a_usr_id | |
string | $last_login | (optional) |
Definition at line 5171 of file class.ilObjUser.php.
Referenced by ShibAuth\login().
ilObjUser::_uploadPersonalPicture | ( | $tmp_file, | |
$obj_id | |||
) |
Create a personal picture image file from a temporary image file.
string | $tmp_file | Complete path to the temporary image file |
int | $obj_id | The object id of the related user account |
Definition at line 3876 of file class.ilObjUser.php.
References _writePref(), ilUtil\execConvert(), and ilUtil\getWebspaceDir().
Referenced by ilUserImportParser\importEndTag(), and ilUserDataSet\importRecord().
|
static |
Verifies a registration hash.
ilRegistrationHashExpiredException | |
ilRegistrationHashNotFoundException |
string | $a_hash | hashcode |
Definition at line 5046 of file class.ilObjUser.php.
References $ilDB, $res, and $row.
Referenced by ilStartUpGUI\confirmRegistration().
ilObjUser::_writeAuthMode | ( | $a_usr_id, | |
$a_auth_mode | |||
) |
Definition at line 2056 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilAuthContainerSOAP\loginObserver(), and ilObjUserTest\testAuthAndEmailMethods().
ilObjUser::_writeExternalAccount | ( | $a_usr_id, | |
$a_ext_id | |||
) |
Definition at line 2046 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilAuthContainerSOAP\loginObserver(), and ilObjUserTest\testAuthAndEmailMethods().
|
static |
Definition at line 4795 of file class.ilObjUser.php.
References $ilDB, $res, and $timestamp.
Referenced by updateLogin().
|
static |
int | $a_usr_id | |
string | $a_keyword | |
string | $a_value |
Definition at line 1122 of file class.ilObjUser.php.
References $ilDB.
Referenced by _moveUsersToStyle(), _setFeedPass(), _uploadPersonalPicture(), ilOpenIdAttributeToUser\create(), writePref(), and writePrefs().
ilObjUser::activateDeletionFlag | ( | ) |
Definition at line 5489 of file class.ilObjUser.php.
References writePref().
ilObjUser::addDesktopItem | ( | $a_item_id, | |
$a_type, | |||
$a_par = "" |
|||
) |
add an item to user's personal desktop
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 3085 of file class.ilObjUser.php.
References _addDesktopItem(), and ilObject\getId().
ilObjUser::addObjectToClipboard | ( | $a_item_id, | |
$a_type, | |||
$a_title, | |||
$a_parent = 0 , |
|||
$a_time = 0 , |
|||
$a_order_nr = 0 |
|||
) |
add an item to user's personal clipboard
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 3374 of file class.ilObjUser.php.
References $d, $ilDB, and ilObject\getId().
ilObjUser::addToPCClipboard | ( | $a_content, | |
$a_time, | |||
$a_nr | |||
) |
Add a page content item to PC clipboard (should go to another class)
Definition at line 3410 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
ilObjUser::addUserDefinedFieldEntry | ( | ) |
Definition at line 4162 of file class.ilObjUser.php.
References $ilDB.
ilObjUser::assignData | ( | $a_data | ) |
loads a record "user" from array public
array | userdata |
Definition at line 332 of file class.ilObjUser.php.
References $ilDB, $ilErr, ilObject\$lng, setAuthMode(), setBirthday(), setCity(), setClientIP(), setComment(), setCountry(), setDelicious(), setDepartment(), setEmail(), setExternalAccount(), setFax(), setFirstname(), setFullname(), setGender(), setHobby(), setInactivationDate(), setInstantMessengerId(), setInstitution(), setIsSelfRegistered(), setLastLogin(), setLastname(), setLastUpdate(), setLatitude(), setLocationZoom(), setLogin(), setLongitude(), setMatriculation(), setPasswd(), setPasswordEncodingType(), setPasswordSalt(), setPhoneHome(), setPhoneMobile(), setPhoneOffice(), setProfileIncomplete(), setSelectedCountry(), setStreet(), setTimeLimitFrom(), setTimeLimitMessage(), setTimeLimitOwner(), setTimeLimitUnlimited(), setTimeLimitUntil(), setUTitle(), and setZipcode().
Referenced by read().
|
protected |
Convert multi-text values to plain text.
string | $a_attr |
Definition at line 5618 of file class.ilObjUser.php.
Referenced by getGeneralInterestsAsText(), getLookingForHelpAsText(), and getOfferingHelpAsText().
ilObjUser::checkTimeLimit | ( | ) |
Definition at line 2334 of file class.ilObjUser.php.
References getTimeLimitFrom(), getTimeLimitUnlimited(), and getTimeLimitUntil().
ilObjUser::checkUserId | ( | ) |
Definition at line 2557 of file class.ilObjUser.php.
References ilObject\$id, $ilSetting, $login, _lookupId(), and getLoginFromAuth().
ilObjUser::clipboardDeleteAll | ( | ) |
Delete objects of type for user.
Definition at line 3484 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
Referenced by delete().
ilObjUser::clipboardDeleteObjectsOfType | ( | $a_type | ) |
Delete objects of type for user.
Definition at line 3471 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
ilObjUser::clipboardHasObjectsOfType | ( | $a_type | ) |
Check whether clipboard has objects of a certain type.
Definition at line 3452 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
|
static |
Get profile picture direcotory.
@return |
Definition at line 4005 of file class.ilObjUser.php.
References ilUtil\getWebspaceDir().
Referenced by ilUserDataSet\getXmlRecord().
ilObjUser::delete | ( | ) |
deletes a user public
integer | user_id |
Reimplemented from ilObject.
Definition at line 1289 of file class.ilObjUser.php.
References $ilDB, _deleteAllPref(), ilEventParticipants\_deleteByUser(), ilBlockSetting\_deleteSettingsOfUser(), ilLinkCheckNotify\_deleteUser(), ilObjUserTracking\_deleteUser(), ilObjCourse\_deleteUser(), ilSession\_destroyByUserId(), ilLDAPRoleGroupMapping\_getInstance(), ilObjSCORMLearningModule\_removeTrackingDataForUser(), ilSCORM13Package\_removeTrackingDataForUser(), clipboardDeleteAll(), ilDiskQuotaHandler\deleteByOwner(), deleteMultiTextFields(), deleteUserDefinedFieldEntries(), ilObjPortfolio\deleteUserPortfolios(), ilObject\getId(), getLogin(), ilNotification\removeForUser(), ilCronDeleteInactiveUserReminderMail\removeSingleUserFromTable(), removeUserPicture(), and resetOwner().
|
protected |
Remove multi-text values from DB.
Definition at line 5723 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
Referenced by delete(), and updateMultiTextFields().
ilObjUser::deletePref | ( | $a_keyword | ) |
Deletes a userpref value of the user from the database public.
string | keyword |
Definition at line 1079 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::deleteUserDefinedFieldEntries | ( | ) |
Definition at line 4177 of file class.ilObjUser.php.
References $ilDB, ilUserDefinedData\deleteEntriesOfUser(), and ilObject\getId().
Referenced by delete().
ilObjUser::dropDesktopItem | ( | $a_item_id, | |
$a_type | |||
) |
drop an item from user's personal desktop
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 3138 of file class.ilObjUser.php.
References _dropDesktopItem(), and ilObject\getId().
Referenced by ilObjGroup\leaveGroup().
ilObjUser::exportPersonalData | ( | ) |
Export personal data.
@return |
Definition at line 5259 of file class.ilObjUser.php.
References ilObject\$title, ilExport\_getExportDirectory(), ilUtil\delDir(), ilObject\getId(), getLastname(), and getLogin().
|
static |
Definition at line 5736 of file class.ilObjUser.php.
References $ilDB, $res, and $row.
Referenced by ilPublicUserProfileGUI\getAutocompleteResult().
ilObjUser::getActive | ( | ) |
get user active state public
Definition at line 2208 of file class.ilObjUser.php.
References $active.
ilObjUser::getAgreeDate | ( | ) |
get the date when the user accepted the user agreement public
Definition at line 2165 of file class.ilObjUser.php.
References $agree_date.
& ilObjUser::getAppliedUsers | ( | ) |
Definition at line 2496 of file class.ilObjUser.php.
References __readAppliedUsers(), and ilObject\getId().
ilObjUser::getApproveDate | ( | ) |
get the date when the user account was approved public
Definition at line 2154 of file class.ilObjUser.php.
References $approve_date.
ilObjUser::getAuthMode | ( | $a_auth_key = false | ) |
get auth mode public
Definition at line 3628 of file class.ilObjUser.php.
References $auth_mode, and ilAuthUtils\_getAuthMode().
Referenced by ilECSAppEventListener\handleMembership(), and isPasswordChangeDemanded().
ilObjUser::getBirthday | ( | ) |
Definition at line 5095 of file class.ilObjUser.php.
References $birthday.
ilObjUser::getCity | ( | ) |
get city public
Definition at line 1732 of file class.ilObjUser.php.
References $city.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getClientIP | ( | ) |
get client ip number public
Definition at line 1887 of file class.ilObjUser.php.
References $client_ip.
ilObjUser::getClipboardChilds | ( | $a_parent, | |
$a_insert_time | |||
) |
Get childs of an item.
Definition at line 3535 of file class.ilObjUser.php.
References $ilDB, $ilUser, and ilObject\_lookupTitle().
ilObjUser::getClipboardObjects | ( | $a_type = "" , |
|
$a_top_nodes_only = false |
|||
) |
get all clipboard objects of user and specified type
Definition at line 3495 of file class.ilObjUser.php.
References $ilDB, ilObject\_lookupTitle(), ilObject\getId(), and ilMediaPoolPage\lookupTitle().
ilObjUser::getComment | ( | ) |
get referral comment public
Definition at line 2133 of file class.ilObjUser.php.
References $referral_comment.
ilObjUser::getCountry | ( | ) |
Get country (free text)
public
Definition at line 1772 of file class.ilObjUser.php.
References $country.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getCurrentLanguage | ( | ) |
returns the current language (may differ from user's pref setting!)
Definition at line 2070 of file class.ilObjUser.php.
References $_SESSION.
ilObjUser::getDateFormat | ( | ) |
get date format
public
Definition at line 1208 of file class.ilObjUser.php.
References ilCalendarSettings\_getInstance(), and getPref().
ilObjUser::getDelicious | ( | ) |
Definition at line 4383 of file class.ilObjUser.php.
References $delicious.
ilObjUser::getDepartment | ( | ) |
ilObjUser::getDesktopItems | ( | $a_types = "" | ) |
Definition at line 3254 of file class.ilObjUser.php.
References _lookupDesktopItems(), and ilObject\getId().
ilObjUser::getDiskQuota | ( | ) |
Returns the minimal disk quota imposed by this user account.
The minimal disk quota is specified in bytes. The default value is 0.
public
Definition at line 2009 of file class.ilObjUser.php.
ilObjUser::getEmail | ( | ) |
get email address public
Definition at line 1942 of file class.ilObjUser.php.
References $email.
Referenced by shibUser\createFields(), ilPasswordAssistanceGUI\sendPasswordAssistanceMail(), and shibUser\updateFields().
ilObjUser::getExternalAccount | ( | ) |
get external account
note: 3.7.0 uses this field only for cas and soap authentication.
public
Definition at line 3658 of file class.ilObjUser.php.
Referenced by ilECSAppEventListener\handleMembership().
ilObjUser::getFax | ( | ) |
|
static |
Get first letters of all lastnames.
@return |
Definition at line 5203 of file class.ilObjUser.php.
References $ilDB.
Referenced by ilObjUserFolderGUI\viewObject().
ilObjUser::getFirstname | ( | ) |
get firstname public
Definition at line 1637 of file class.ilObjUser.php.
References $firstname.
Referenced by getPublicName(), and shibUser\returnNewLoginName().
ilObjUser::getFullname | ( | $a_max_strlen = 0 | ) |
get fullname public
integer | max. string length to return (optional) if string length of fullname is greater than given a_max_strlen the name is shortened in the following way:
|
Definition at line 1477 of file class.ilObjUser.php.
References ilUtil\stripSlashes().
Referenced by shibUser\createFields().
ilObjUser::getGender | ( | ) |
ilObjUser::getGeneralInterests | ( | ) |
Get general interests.
Definition at line 5537 of file class.ilObjUser.php.
References $interests_general.
Referenced by updateMultiTextFields().
ilObjUser::getGeneralInterestsAsText | ( | ) |
Get general interests as plain text.
Definition at line 5547 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getHobby | ( | ) |
ilObjUser::getInactivationDate | ( | ) |
getter for inactivation date
Definition at line 5405 of file class.ilObjUser.php.
References $inactivation_date.
ilObjUser::getInstantMessengerId | ( | $a_im_type | ) |
Definition at line 4372 of file class.ilObjUser.php.
ilObjUser::getInstitution | ( | ) |
get institution public
Definition at line 1675 of file class.ilObjUser.php.
References $institution.
ilObjUser::getLanguage | ( | ) |
returns a 2char-language-string public
Definition at line 1982 of file class.ilObjUser.php.
Referenced by ilNotificationConfig\getUserInstance().
ilObjUser::getLastLogin | ( | ) |
returns last login date public
Definition at line 2100 of file class.ilObjUser.php.
ilObjUser::getLastname | ( | ) |
get lastname public
Definition at line 1656 of file class.ilObjUser.php.
References $lastname.
Referenced by exportPersonalData(), getPublicName(), and shibUser\returnNewLoginName().
ilObjUser::getLastPasswordChangeTS | ( | ) |
Definition at line 2024 of file class.ilObjUser.php.
References $last_password_change_ts.
Referenced by getPasswordAge(), isPasswordChangeDemanded(), isPasswordExpired(), and setLastPasswordChangeToNow().
ilObjUser::getLastUpdate | ( | ) |
Definition at line 2114 of file class.ilObjUser.php.
References ilObject\$last_update.
ilObjUser::getLatitude | ( | ) |
Get Latitude.
Definition at line 2451 of file class.ilObjUser.php.
References $latitude.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLocationZoom | ( | ) |
Get Location Zoom.
Definition at line 2491 of file class.ilObjUser.php.
References $loc_zoom.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLogin | ( | ) |
get login / username public
Definition at line 1543 of file class.ilObjUser.php.
References $login.
Referenced by shibUser\create(), delete(), exportPersonalData(), getPublicName(), ilPasswordAssistanceGUI\sendPasswordAssistanceMail(), and updateLogin().
ilObjUser::getLoginAttempts | ( | ) |
Definition at line 2328 of file class.ilObjUser.php.
References $login_attempts.
ilObjUser::getLoginByUserId | ( | $a_userid | ) |
Definition at line 2684 of file class.ilObjUser.php.
References $login, and _lookupLogin().
Referenced by ilObjPaymentSettingsGUI\editVendorObject().
|
staticprivate |
Gets the username from $ilAuth, and converts it into an ILIAS login name.
Definition at line 2573 of file class.ilObjUser.php.
References $login, ilDAVActivationChecker\_isActive(), and ilAuthContainerMDB2\toUsernameWithoutDomain().
Referenced by checkUserId(), isCurrentUserActive(), and syncActive().
ilObjUser::getLongitude | ( | ) |
Get Longitude.
Definition at line 2471 of file class.ilObjUser.php.
References $longitude.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getLookingForHelp | ( | ) |
Get help looking for.
Definition at line 5597 of file class.ilObjUser.php.
References $interests_help_looking.
Referenced by updateMultiTextFields().
ilObjUser::getLookingForHelpAsText | ( | ) |
Get help looking for as plain text.
Definition at line 5607 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getMatriculation | ( | ) |
get matriculation number public
Definition at line 1906 of file class.ilObjUser.php.
References $matriculation.
ilObjUser::getOfferingHelp | ( | ) |
Get help offering.
Definition at line 5567 of file class.ilObjUser.php.
References $interests_help_offered.
Referenced by updateMultiTextFields().
ilObjUser::getOfferingHelpAsText | ( | ) |
Get help offering as plain text.
Definition at line 5577 of file class.ilObjUser.php.
References buildTextFromArray().
ilObjUser::getPasswd | ( | ) |
get password
Definition at line 1566 of file class.ilObjUser.php.
References $passwd.
Referenced by ilUserPasswordManager\verifyPassword().
ilObjUser::getPasswdType | ( | ) |
get password type
Definition at line 1576 of file class.ilObjUser.php.
References $passwd_type.
ilObjUser::getPasswordAge | ( | ) |
Definition at line 2401 of file class.ilObjUser.php.
References getLastPasswordChangeTS().
ilObjUser::getPasswordEncodingType | ( | ) |
Definition at line 298 of file class.ilObjUser.php.
References $password_encoding_type.
Referenced by ilUserPasswordManager\verifyPassword().
ilObjUser::getPasswordSalt | ( | ) |
Definition at line 314 of file class.ilObjUser.php.
References $password_salt.
Referenced by ilUserPasswordManager\encodePassword(), and ilUserPasswordManager\verifyPassword().
ilObjUser::getPCClipboardContent | ( | ) |
Add a page content item to PC clipboard (should go to another class)
Definition at line 3428 of file class.ilObjUser.php.
References $ilDB, $row, and ilObject\getId().
ilObjUser::getPersonalDataExportFile | ( | ) |
Get personal data export file.
@return |
Definition at line 5276 of file class.ilObjUser.php.
References ilExport\_getExportDirectory(), ilUtil\getDir(), and ilObject\getId().
Referenced by sendPersonalDataFile().
ilObjUser::getPersonalPicturePath | ( | $a_size = "small" , |
|
$a_force_pic = false |
|||
) |
Get path to personal picture.
The result will be cached. The result will be cached.
string | $a_size | "small", "xsmall" or "xxsmall" |
bool | $a_force_pic |
Definition at line 3912 of file class.ilObjUser.php.
References _getPersonalPicturePath(), and ilObject\getId().
ilObjUser::getPersonalWorkspaceDiskQuota | ( | ) |
Definition at line 2014 of file class.ilObjUser.php.
ilObjUser::getPhoneHome | ( | ) |
ilObjUser::getPhoneMobile | ( | ) |
get mobile phone public
Definition at line 1849 of file class.ilObjUser.php.
References $phone_mobile.
ilObjUser::getPhoneOffice | ( | ) |
get office phone public
Definition at line 1811 of file class.ilObjUser.php.
References $phone_office.
ilObjUser::getPref | ( | $a_keyword | ) |
get a user preference
string | name of parameter public |
Definition at line 1241 of file class.ilObjUser.php.
Referenced by getDateFormat(), ilPublicUserProfileGUI\getPublicPref(), getTimeFormat(), getTimeZone(), hasDeletionFlag(), and hasPublicProfile().
ilObjUser::getProfileIncomplete | ( | ) |
Definition at line 2350 of file class.ilObjUser.php.
ilObjUser::getPublicName | ( | ) |
returns firstname lastname and login if profile is public, login otherwise
Definition at line 4786 of file class.ilObjUser.php.
References getFirstname(), getLastname(), getLogin(), and hasPublicProfile().
ilObjUser::getSelectedCountry | ( | ) |
Get selected country (selection drop down)
Definition at line 1792 of file class.ilObjUser.php.
References $sel_country.
ilObjUser::getStoredActive | ( | $a_id | ) |
get user active state
integer | $a_id | user id public |
Definition at line 2265 of file class.ilObjUser.php.
References $active, and _lookup().
Referenced by syncActive(), and ilObjUserTest\testCreateSetLookupDelete().
ilObjUser::getStreet | ( | ) |
get street public
Definition at line 1713 of file class.ilObjUser.php.
References $street.
Referenced by ilPersonalProfileGUI\addLocationToForm().
ilObjUser::getTimeFormat | ( | ) |
get time format
public
Definition at line 1188 of file class.ilObjUser.php.
References ilCalendarSettings\_getInstance(), and getPref().
ilObjUser::getTimeLimitFrom | ( | ) |
Definition at line 2294 of file class.ilObjUser.php.
Referenced by checkTimeLimit().
ilObjUser::getTimeLimitMessage | ( | ) |
Definition at line 2318 of file class.ilObjUser.php.
ilObjUser::getTimeLimitOwner | ( | ) |
Definition at line 2286 of file class.ilObjUser.php.
ilObjUser::getTimeLimitUnlimited | ( | ) |
Definition at line 2310 of file class.ilObjUser.php.
Referenced by checkTimeLimit().
ilObjUser::getTimeLimitUntil | ( | ) |
Definition at line 2302 of file class.ilObjUser.php.
Referenced by checkTimeLimit(), and ilECSAppEventListener\extendAccount().
ilObjUser::getTimeZone | ( | ) |
get timezone of user
public
Definition at line 1168 of file class.ilObjUser.php.
References ilCalendarSettings\_getInstance(), and getPref().
ilObjUser::getUserDefinedData | ( | ) |
Definition at line 4092 of file class.ilObjUser.php.
|
static |
STATIC METHOD get the user_id of an email address.
string | email of user |
Definition at line 2665 of file class.ilObjUser.php.
References $ilDB, $res, and $row.
Referenced by ilObjUserTest\testAuthAndEmailMethods().
ilObjUser::getUserIdByLogin | ( | $a_login | ) |
Definition at line 2625 of file class.ilObjUser.php.
References _lookupId().
Referenced by ilPaymentTrusteeGUI\addUser(), ilObjPaymentSettingsGUI\addVendorObject(), ilMail\checkRecipients(), ilMail\getEmailsOfRecipients(), ilMail\getUserIds(), ilUserImportParser\importEndTag(), ilSoapUserAdministration\lookupUser(), ilPasswordAssistanceGUI\submitAssistanceForm(), syncActive(), ilObjCourse\validateInfoSettings(), and ilUserImportParser\verifyEndTag().
ilObjUser::getUTitle | ( | ) |
get user title (note: don't mix up this method with getTitle() that is derived from ilObject and gets the user object's title) public
Definition at line 1618 of file class.ilObjUser.php.
References $utitle.
ilObjUser::getZipcode | ( | ) |
|
static |
Check for simultaneous login.
Definition at line 2540 of file class.ilObjUser.php.
Referenced by ilAuthBase\loginObserver().
ilObjUser::hasDeletionFlag | ( | ) |
Definition at line 5499 of file class.ilObjUser.php.
References getPref().
ilObjUser::hasPublicProfile | ( | ) |
returns true if public is profile, false otherwise
Definition at line 4777 of file class.ilObjUser.php.
References getPref().
Referenced by getPublicName().
ilObjUser::hasToAcceptTermsOfServiceInSession | ( | $status = null | ) |
bool | null | $status |
Definition at line 5467 of file class.ilObjUser.php.
References ilSession\get(), and ilSession\set().
Referenced by ilTermsOfServiceHelper\trackAcceptance().
ilObjUser::importPersonalData | ( | $a_file, | |
$a_profile_data, | |||
$a_settings, | |||
$a_bookmarks, | |||
$a_notes, | |||
$a_calendar | |||
) |
Import personal data.
@return |
Definition at line 5318 of file class.ilObjUser.php.
|
staticprivate |
type $ilDB
type | $usrIds |
Definition at line 5352 of file class.ilObjUser.php.
References $ilDB.
ilObjUser::isAnonymous | ( | ) |
Definition at line 5484 of file class.ilObjUser.php.
References ilObject\getId().
ilObjUser::isCaptchaVerified | ( | ) |
Is user captcha verified?
Definition at line 5238 of file class.ilObjUser.php.
References $_SESSION.
ilObjUser::isChild | ( | $a_usr_id | ) |
Definition at line 2504 of file class.ilObjUser.php.
References __readAppliedUsers(), and ilObject\getId().
ilObjUser::isCurrentUserActive | ( | ) |
Definition at line 2597 of file class.ilObjUser.php.
References $ilDB, $login, and getLoginFromAuth().
ilObjUser::isDesktopItem | ( | $a_item_id, | |
$a_type | |||
) |
check wether an item is on the users desktop or not
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 3249 of file class.ilObjUser.php.
References _isDesktopItem(), and ilObject\getId().
ilObjUser::isPasswordChangeDemanded | ( | ) |
Definition at line 2359 of file class.ilObjUser.php.
References ilSecuritySettings\_getInstance(), ilAuthUtils\_needsExternalAccountByAuthMode(), getAuthMode(), and getLastPasswordChangeTS().
ilObjUser::isPasswordExpired | ( | ) |
Definition at line 2378 of file class.ilObjUser.php.
References ilSecuritySettings\_getInstance(), and getLastPasswordChangeTS().
ilObjUser::isSelfRegistered | ( | ) |
Definition at line 5512 of file class.ilObjUser.php.
References $is_self_registered.
|
static |
Lookup matriculation.
int | $a_usr_id | public |
Definition at line 1917 of file class.ilObjUser.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjCourseGrouping\_checkGroupingDependencies().
|
static |
Preload desktop item information.
@return |
Definition at line 3210 of file class.ilObjUser.php.
References ilObject\$id, and $ilDB.
Referenced by ilObjectListGUIPreloader\preload().
ilObjUser::read | ( | ) |
loads a record "user" from database private
Definition at line 221 of file class.ilObjUser.php.
References $ilDB, $ilErr, assignData(), IL_PASSWD_CRYPTED, readMultiTextFields(), readPrefs(), readUserDefinedFields(), setLastPasswordChangeTS(), setLoginAttempts(), and ilStyleDefinition\skinExists().
Referenced by __construct().
|
protected |
Fetch multi-text values from DB.
Definition at line 5630 of file class.ilObjUser.php.
References $ilDB, $row, ilObject\getId(), setGeneralInterests(), setLookingForHelp(), and setOfferingHelp().
Referenced by read().
ilObjUser::readPrefs | ( | ) |
get all user preferences private
Definition at line 1272 of file class.ilObjUser.php.
References $ilDB, $prefs, and _getPreferences().
Referenced by read().
ilObjUser::readUserDefinedFields | ( | ) |
Definition at line 4141 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
Referenced by read().
ilObjUser::refreshLogin | ( | ) |
updates the login data of a "user" // TODO set date with now() should be enough public
Definition at line 848 of file class.ilObjUser.php.
References $ilDB.
ilObjUser::removeDeletionFlag | ( | ) |
Definition at line 5494 of file class.ilObjUser.php.
References writePref().
ilObjUser::removeObjectFromClipboard | ( | $a_item_id, | |
$a_type | |||
) |
remove object from user's personal clipboard
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
Definition at line 3589 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
ilObjUser::removeUserPicture | ( | $a_do_update = true | ) |
Remove user picture.
Definition at line 4035 of file class.ilObjUser.php.
References $file, ilUtil\getWebspaceDir(), setPref(), and ilObject\update().
Referenced by delete().
|
staticprivate |
type $ilDB
type | $usrIds |
Definition at line 5375 of file class.ilObjUser.php.
References $ilDB.
ilObjUser::resetLastPasswordChange | ( | ) |
Definition at line 2424 of file class.ilObjUser.php.
References $ilDB, $query, and ilObject\getId().
ilObjUser::resetOwner | ( | ) |
Definition at line 5185 of file class.ilObjUser.php.
References $ilDB, $query, and ilObject\getId().
Referenced by delete().
|
static |
STATIC METHOD get the user_ids which correspond a search string.
string | search string | |
boolean | $active | Search only for active users |
boolean | $a_return_ids_only | Return only an array of user id's instead of id, login, name, active status |
mixed | $filter_settings | Filter settings of the user administration view public |
Definition at line 2700 of file class.ilObjUser.php.
References $_SESSION, $active, $ilDB, $ilias, $ilLog, $query, ilObject\$ref_id, $res, and $row.
Referenced by ilObjSurveyAdministrationGUI\searchObject(), and ilObjUserTest\testSearch().
ilObjUser::sendPersonalDataFile | ( | ) |
Send personal data file.
@return |
Definition at line 5301 of file class.ilObjUser.php.
References $file, ilExport\_getExportDirectory(), ilUtil\deliverFile(), ilObject\getId(), and getPersonalDataExportFile().
ilObjUser::setActive | ( | $a_active, | |
$a_owner = 0 |
|||
) |
set user active state and updates system fields appropriately public
string | $a_active | the active state of the user account |
string | $a_owner | the id of the person who approved the account, defaults to 6 (root) |
Definition at line 2187 of file class.ilObjUser.php.
References setApproveDate(), and ilObject\setOwner().
Referenced by shibUser\createFields(), and syncActive().
ilObjUser::setAgreeDate | ( | $a_str | ) |
set date the user account was accepted by the user nullindicates that the user has not accepted his account public
Definition at line 2175 of file class.ilObjUser.php.
ilObjUser::setApproveDate | ( | $a_str | ) |
set date the user account was activated null indicates that the user has not yet been activated public
Definition at line 2144 of file class.ilObjUser.php.
Referenced by setActive().
ilObjUser::setAuthMode | ( | $a_str | ) |
set auth mode public
Definition at line 3619 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setBirthday | ( | $a_birthday | ) |
Definition at line 5082 of file class.ilObjUser.php.
References IL_CAL_DATE.
Referenced by assignData().
ilObjUser::setCaptchaVerified | ( | $a_val | ) |
Set captcha verified.
Definition at line 5248 of file class.ilObjUser.php.
References $_SESSION.
ilObjUser::setCity | ( | $a_str | ) |
set city public
string | city |
Definition at line 1723 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setClientIP | ( | $a_str | ) |
set client ip number public
string | client ip |
Definition at line 1878 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setComment | ( | $a_str | ) |
set referral comment public
string | hobby |
Definition at line 2124 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setCountry | ( | $a_str | ) |
Set country (free text)
public
string | country |
Definition at line 1762 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setCurrentLanguage | ( | $a_val | ) |
Set current language.
string | $a_val | current language |
Definition at line 2080 of file class.ilObjUser.php.
References $_SESSION.
ilObjUser::setDelicious | ( | $a_delicious | ) |
Definition at line 4378 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setDepartment | ( | $a_str | ) |
set department public
string | department |
Definition at line 1685 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setDesktopItemParameters | ( | $a_item_id, | |
$a_type, | |||
$a_par | |||
) |
set parameters of a desktop item entry
int | $a_item_id | ref_id for objects, that are in the main tree (learning modules, forums) obj_id for others |
string | $a_type | object type |
string | $a_par | parameters |
Definition at line 3098 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
ilObjUser::setDiskQuota | ( | $a_disk_quota | ) |
Sets the minimal disk quota imposed by this user account.
The minimal disk quota is specified in bytes.
@access public @param integer
Definition at line 1995 of file class.ilObjUser.php.
References setPref().
ilObjUser::setEmail | ( | $a_str | ) |
set email public
string | email address |
Definition at line 1933 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setExternalAccount | ( | $a_str | ) |
set external account
note: 3.7.0 uses this field only for cas and soap authentication.
public
Definition at line 3646 of file class.ilObjUser.php.
Referenced by assignData(), and shibUser\createFields().
ilObjUser::setFax | ( | $a_str | ) |
set fax public
string | fax |
Definition at line 1859 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setFirstname | ( | $a_str | ) |
set firstname public
string | firstname |
Definition at line 1628 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setFullname | ( | $a_title = "" , |
|
$a_firstname = "" , |
|||
$a_lastname = "" |
|||
) |
builds a string with title + firstname + lastname method is used to build fullname in member variable $this->fullname.
But you may use the function in static manner. static
string | title (opt.) |
string | firstname (opt.) |
string | lastname (opt.) |
Definition at line 1433 of file class.ilObjUser.php.
References $fullname, and $lastname.
Referenced by assignData().
ilObjUser::setGender | ( | $a_str | ) |
set gender public
string | gender |
Definition at line 1586 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setGeneralInterests | ( | array | $value = null | ) |
Set general interests.
array | $value |
Definition at line 5527 of file class.ilObjUser.php.
Referenced by readMultiTextFields().
ilObjUser::setHobby | ( | $a_str | ) |
set hobby public
string | hobby |
Definition at line 1952 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setInactivationDate | ( | $inactivation_date | ) |
setter for inactivation date
string | $inactivationDate |
Definition at line 5395 of file class.ilObjUser.php.
References $inactivation_date.
Referenced by assignData().
ilObjUser::setInstantMessengerId | ( | $a_im_type, | |
$a_im_id | |||
) |
Definition at line 4366 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setInstitution | ( | $a_str | ) |
set institution public
string | institution |
Definition at line 1666 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setIsSelfRegistered | ( | $status | ) |
bool | $status |
Definition at line 5507 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLanguage | ( | $a_str | ) |
set user language public
string | lang_key (i.e. de,en,fr,...) |
Definition at line 1971 of file class.ilObjUser.php.
References $_SESSION, and setPref().
Referenced by shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setLastLogin | ( | $a_str | ) |
set user's last login public
string | login date |
Definition at line 2090 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLastname | ( | $a_str | ) |
set lastame public
string | lastname |
Definition at line 1647 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setLastPasswordChangeToNow | ( | ) |
Definition at line 2409 of file class.ilObjUser.php.
References $ilDB, $query, getLastPasswordChangeTS(), and setLastPasswordChangeTS().
ilObjUser::setLastPasswordChangeTS | ( | $a_last_password_change_ts | ) |
Definition at line 2019 of file class.ilObjUser.php.
Referenced by read(), and setLastPasswordChangeToNow().
ilObjUser::setLastUpdate | ( | $a_str | ) |
set last update of user data set public
string | date |
Definition at line 2110 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLatitude | ( | $a_latitude | ) |
Set Latitude.
string | $a_latitude | Latitude |
Definition at line 2441 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLocationZoom | ( | $a_locationzoom | ) |
Set Location Zoom.
int | $a_locationzoom | Location Zoom |
Definition at line 2481 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLogin | ( | $a_str | ) |
set login / username public
string | username |
Definition at line 1534 of file class.ilObjUser.php.
Referenced by assignData(), and shibUser\createFields().
ilObjUser::setLoginAttempts | ( | $a_login_attempts | ) |
Definition at line 2323 of file class.ilObjUser.php.
Referenced by read().
ilObjUser::setLongitude | ( | $a_longitude | ) |
Set Longitude.
string | $a_longitude | Longitude |
Definition at line 2461 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setLookingForHelp | ( | array | $value = null | ) |
Set help looking for.
array | $value |
Definition at line 5587 of file class.ilObjUser.php.
Referenced by readMultiTextFields().
ilObjUser::setMatriculation | ( | $a_str | ) |
set matriculation number public
string | matriculation number |
Definition at line 1897 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setOfferingHelp | ( | array | $value = null | ) |
Set help offering.
array | $value |
Definition at line 5557 of file class.ilObjUser.php.
Referenced by readMultiTextFields().
ilObjUser::setPasswd | ( | $a_str, | |
$a_type = IL_PASSWD_PLAIN |
|||
) |
set password public
string | passwd |
Definition at line 1553 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and ilUserPasswordManager\encodePassword().
ilObjUser::setPasswordEncodingType | ( | $password_encryption_type | ) |
string | $password_encryption_type |
Definition at line 306 of file class.ilObjUser.php.
Referenced by assignData(), and ilUserPasswordManager\encodePassword().
ilObjUser::setPasswordSalt | ( | $password_salt | ) |
string | null | $password_salt |
Definition at line 322 of file class.ilObjUser.php.
References $password_salt.
Referenced by assignData(), and ilUserPasswordManager\encodePassword().
ilObjUser::setPhoneHome | ( | $a_str | ) |
set home phone public
string | home phone |
Definition at line 1821 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setPhoneMobile | ( | $a_str | ) |
set mobile phone public
string | mobile phone |
Definition at line 1840 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setPhoneOffice | ( | $a_str | ) |
set office phone public
string | office phone |
Definition at line 1802 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setPref | ( | $a_keyword, | |
$a_value | |||
) |
set a user preference
string | name of parameter |
string | value public |
Definition at line 1228 of file class.ilObjUser.php.
Referenced by removeUserPicture(), setDiskQuota(), setLanguage(), and writePref().
ilObjUser::setProfileIncomplete | ( | $a_prof_inc | ) |
Definition at line 2346 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setSelectedCountry | ( | $a_val | ) |
Set selected country (selection drop down)
string | selected country |
Definition at line 1782 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setSkin | ( | $a_str | ) |
set user skin (template set) public
string | directory name of template set |
Definition at line 2276 of file class.ilObjUser.php.
ilObjUser::setStreet | ( | $a_str | ) |
set street public
string | street |
Definition at line 1704 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::setTimeLimitFrom | ( | $a_from | ) |
Definition at line 2290 of file class.ilObjUser.php.
Referenced by assignData(), and shibUser\createFields().
ilObjUser::setTimeLimitMessage | ( | $a_time_limit_message | ) |
Definition at line 2314 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setTimeLimitOwner | ( | $a_owner | ) |
Definition at line 2282 of file class.ilObjUser.php.
Referenced by assignData(), and shibUser\createFields().
ilObjUser::setTimeLimitUnlimited | ( | $a_unlimited | ) |
Definition at line 2306 of file class.ilObjUser.php.
Referenced by ilAccountCode\applyAccessLimits(), assignData(), and shibUser\createFields().
ilObjUser::setTimeLimitUntil | ( | $a_until | ) |
Definition at line 2298 of file class.ilObjUser.php.
Referenced by ilAccountCode\applyAccessLimits(), assignData(), shibUser\createFields(), and ilECSAppEventListener\extendAccount().
ilObjUser::setUserDefinedData | ( | $a_data | ) |
Definition at line 4075 of file class.ilObjUser.php.
ilObjUser::setUTitle | ( | $a_str | ) |
set user title (note: don't mix up this method with setTitle() that is derived from ilObject and sets the user object's title) public
string | title |
Definition at line 1607 of file class.ilObjUser.php.
Referenced by assignData().
ilObjUser::setZipcode | ( | $a_str | ) |
set zipcode public
string | zipcode |
Definition at line 1742 of file class.ilObjUser.php.
Referenced by assignData(), shibUser\createFields(), and shibUser\updateFields().
ilObjUser::syncActive | ( | ) |
synchronizes current and stored user active values for the owner value to be set correctly, this function should only be called when an admin is approving a user account public
Definition at line 2236 of file class.ilObjUser.php.
References getLoginFromAuth(), getStoredActive(), getUserIdByLogin(), and setActive().
ilObjUser::updateLogin | ( | $a_login | ) |
update login name
string | new login |
ilUserException |
Definition at line 985 of file class.ilObjUser.php.
References $ilDB, $ilSetting, _doesLoginnameExistInHistory(), _getLastHistoryDataByUserId(), _lookupLogin(), _writeHistory(), ilDatePresentation\formatDate(), ilObject\getId(), getLogin(), and IL_CAL_UNIX.
ilObjUser::updateMultiTextFields | ( | $a_create = false | ) |
Write multi-text values to DB.
bool | $a_create |
Definition at line 5679 of file class.ilObjUser.php.
References ilObject\$id, $ilDB, deleteMultiTextFields(), getGeneralInterests(), ilObject\getId(), getLookingForHelp(), and getOfferingHelp().
ilObjUser::updateUserDefinedFields | ( | ) |
Definition at line 4097 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
|
static |
Definition at line 5222 of file class.ilObjUser.php.
References $ilDB, $query, $res, and DB_FETCHMODE_OBJECT.
Referenced by ilInfoScreenGUI\addObjectSections(), and ilSoapLearningProgressAdministration\deleteProgress().
ilObjUser::writeAccepted | ( | ) |
write accept date of user agreement to db
Definition at line 683 of file class.ilObjUser.php.
References $ilDB, and ilObject\getId().
Referenced by ilTermsOfServiceHelper\trackAcceptance().
ilObjUser::writePref | ( | $a_keyword, | |
$a_value | |||
) |
write userpref to user table private
string | keyword |
string | value |
Definition at line 1067 of file class.ilObjUser.php.
References _writePref(), and setPref().
Referenced by activateDeletionFlag(), and removeDeletionFlag().
ilObjUser::writePrefs | ( | ) |
write all userprefs private
Definition at line 1151 of file class.ilObjUser.php.
References $ilDB, _deleteAllPref(), and _writePref().
ilObjUser::$active |
Definition at line 94 of file class.ilObjUser.php.
Referenced by _getAllUserData(), _getUsersForFolder(), _getUsersForGroup(), _getUsersForIds(), _getUsersForRole(), getActive(), getStoredActive(), and searchUsers().
ilObjUser::$agree_date = null |
Definition at line 93 of file class.ilObjUser.php.
Referenced by getAgreeDate().
ilObjUser::$approve_date = null |
Definition at line 92 of file class.ilObjUser.php.
Referenced by getApproveDate().
ilObjUser::$auth_mode |
Definition at line 96 of file class.ilObjUser.php.
Referenced by getAuthMode().
|
protected |
Definition at line 73 of file class.ilObjUser.php.
Referenced by getBirthday().
ilObjUser::$city |
Definition at line 80 of file class.ilObjUser.php.
Referenced by getCity().
ilObjUser::$client_ip |
Definition at line 95 of file class.ilObjUser.php.
Referenced by getClientIP().
ilObjUser::$country |
Definition at line 82 of file class.ilObjUser.php.
Referenced by getCountry().
ilObjUser::$default_role |
Definition at line 136 of file class.ilObjUser.php.
ilObjUser::$delicious |
Definition at line 106 of file class.ilObjUser.php.
Referenced by getDelicious().
ilObjUser::$department |
Definition at line 78 of file class.ilObjUser.php.
Referenced by getDepartment().
ilObjUser::$email |
Definition at line 88 of file class.ilObjUser.php.
Referenced by getEmail().
ilObjUser::$fax |
Definition at line 87 of file class.ilObjUser.php.
Referenced by getFax().
ilObjUser::$firstname |
Definition at line 71 of file class.ilObjUser.php.
Referenced by getFirstname().
ilObjUser::$fullname |
Definition at line 74 of file class.ilObjUser.php.
Referenced by _lookupFullname(), and setFullname().
ilObjUser::$gender |
Definition at line 69 of file class.ilObjUser.php.
Referenced by getGender().
ilObjUser::$hobby |
Definition at line 89 of file class.ilObjUser.php.
Referenced by getHobby().
ilObjUser::$ilias |
Definition at line 143 of file class.ilObjUser.php.
Referenced by __construct(), _getAssociatedUsersOnline(), _getUserIdsByEmail(), and searchUsers().
ilObjUser::$im_aim |
Definition at line 101 of file class.ilObjUser.php.
ilObjUser::$im_icq |
Definition at line 98 of file class.ilObjUser.php.
ilObjUser::$im_jabber |
Definition at line 103 of file class.ilObjUser.php.
ilObjUser::$im_msn |
Definition at line 100 of file class.ilObjUser.php.
ilObjUser::$im_skype |
Definition at line 102 of file class.ilObjUser.php.
ilObjUser::$im_voip |
Definition at line 104 of file class.ilObjUser.php.
ilObjUser::$im_yahoo |
Definition at line 99 of file class.ilObjUser.php.
|
protected |
Definition at line 158 of file class.ilObjUser.php.
Referenced by getInactivationDate(), and setInactivationDate().
ilObjUser::$institution |
Definition at line 77 of file class.ilObjUser.php.
Referenced by getInstitution().
|
protected |
Definition at line 166 of file class.ilObjUser.php.
Referenced by getGeneralInterests().
|
protected |
Definition at line 168 of file class.ilObjUser.php.
Referenced by getLookingForHelp().
|
protected |
Definition at line 167 of file class.ilObjUser.php.
Referenced by getOfferingHelp().
|
static |
Definition at line 146 of file class.ilObjUser.php.
|
static |
Definition at line 145 of file class.ilObjUser.php.
|
private |
Definition at line 164 of file class.ilObjUser.php.
Referenced by isSelfRegistered().
ilObjUser::$last_password_change_ts |
Definition at line 111 of file class.ilObjUser.php.
Referenced by getLastPasswordChangeTS().
ilObjUser::$lastname |
Definition at line 72 of file class.ilObjUser.php.
Referenced by getLastname(), and setFullname().
ilObjUser::$latitude |
Definition at line 107 of file class.ilObjUser.php.
Referenced by getLatitude().
ilObjUser::$loc_zoom |
Definition at line 109 of file class.ilObjUser.php.
Referenced by getLocationZoom().
ilObjUser::$login |
all user related data in single vars public
Definition at line 31 of file class.ilObjUser.php.
Referenced by checkUserId(), getLogin(), getLoginByUserId(), getLoginFromAuth(), isCurrentUserActive(), and shibUser\returnNewLoginName().
ilObjUser::$login_attempts |
Definition at line 112 of file class.ilObjUser.php.
Referenced by _getLoginAttempts(), and getLoginAttempts().
ilObjUser::$longitude |
Definition at line 108 of file class.ilObjUser.php.
Referenced by getLongitude().
ilObjUser::$matriculation |
Definition at line 90 of file class.ilObjUser.php.
Referenced by getMatriculation().
|
protected |
Definition at line 36 of file class.ilObjUser.php.
Referenced by getPasswd().
|
protected |
Definition at line 41 of file class.ilObjUser.php.
Referenced by getPasswdType().
|
protected |
Definition at line 61 of file class.ilObjUser.php.
Referenced by getPasswordEncodingType().
|
protected |
Definition at line 67 of file class.ilObjUser.php.
Referenced by getPasswordSalt(), and setPasswordSalt().
|
staticprotected |
Definition at line 151 of file class.ilObjUser.php.
ilObjUser::$phone_home |
Definition at line 85 of file class.ilObjUser.php.
Referenced by getPhoneHome().
ilObjUser::$phone_mobile |
Definition at line 86 of file class.ilObjUser.php.
Referenced by getPhoneMobile().
ilObjUser::$phone_office |
Definition at line 84 of file class.ilObjUser.php.
Referenced by getPhoneOffice().
ilObjUser::$prefs |
Definition at line 121 of file class.ilObjUser.php.
Referenced by _getPreferences(), and readPrefs().
ilObjUser::$referral_comment |
Definition at line 91 of file class.ilObjUser.php.
Referenced by getComment().
ilObjUser::$sel_country |
Definition at line 83 of file class.ilObjUser.php.
Referenced by getSelectedCountry().
ilObjUser::$skin |
Definition at line 128 of file class.ilObjUser.php.
Referenced by __construct().
ilObjUser::$street |
Definition at line 79 of file class.ilObjUser.php.
Referenced by getStreet().
ilObjUser::$user_defined_data = array() |
Definition at line 114 of file class.ilObjUser.php.
ilObjUser::$utitle |
Definition at line 70 of file class.ilObjUser.php.
Referenced by getUTitle().
ilObjUser::$zipcode |
Definition at line 81 of file class.ilObjUser.php.
Referenced by getZipcode().