modUserThe core MODx user class.
Located in /model/modx/moduser.class.php (line 7)
xPDOObject | --xPDOSimpleObject | --modPrincipal | --modUser
| Class | Description |
|---|---|
modManagerUser
|
Represents MODx 0.9.6.x manager user records for migration only. |
modWebUser
|
Represents the web_users table that is no longer used in MODx. |
array
$sessionContexts
= array () (line 13)
A collection of contexts which the current principal is authenticated in.
Inherited from modPrincipal
modPrincipal::$_attributes
Inherited from xPDOObject
xPDOObject::$container
xPDOObject::$fieldNames
xPDOObject::$xpdo
xPDOObject::$_aggregates
xPDOObject::$_alias
xPDOObject::$_cacheFlag
xPDOObject::$_class
xPDOObject::$_composites
xPDOObject::$_dirty
xPDOObject::$_fieldMeta
xPDOObject::$_fields
xPDOObject::$_lazy
xPDOObject::$_new
xPDOObject::$_options
xPDOObject::$_package
xPDOObject::$_pk
xPDOObject::$_pktype
xPDOObject::$_relatedObjects
xPDOObject::$_table
xPDOObject::$_tableMeta
xPDOObject::$_validated
xPDOObject::$_validationLoaded
xPDOObject::$_validationRules
xPDOObject::$_validator
addSessionContext (line 360)
Adds a new context to the user session context array.
changePassword (line 306)
Change the user password.
countMessages (line 518)
Gets a count of modUserMessage objects ascribed to the user.
endSession (line 279)
Ends a user session completely, including all contexts.
generatePassword (line 749)
Returns a randomly generated password
getResourceGroups (line 552)
Gets all Resource Groups this user is assigned to. This may not work in the new model.
getSessionContexts (line 333)
Returns an array of user session context keys.
getSettings (line 533)
Gets all user settings in array format.
getUserGroupNames (line 597)
Gets all the User Group names of the groups this user belongs to.
getUserGroups (line 577)
Gets all the User Group IDs of the groups this user belongs to.
hasSessionContext (line 494)
Checks if the user has a specific session context.
isAuthenticated (line 261)
Determines if this user is authenticated in a specific context.
Separate session contexts can allow users to login/out of specific sub-sites individually (or in collections).
isMember (line 624)
States whether a user is a member of a group or groups. You may specify either a string name of the group, or an array of names.
joinGroup (line 652)
Join a User Group, and optionally assign a Role.
leaveGroup (line 691)
Removes the User from the specified User Group.
loadAttributes (line 75)
Loads the principal attributes that define a modUser security profile.
remove (line 48)
Overrides xPDOObject::remove to fire modX-specific events
{@inheritDoc}
removeLocks (line 721)
Remove any locks held by the user.
removeSessionContext (line 410)
Removes a user session context.
removeSessionContextVars (line 437)
Removes the session vars associated with a specific context.
removeSessionCookie (line 484)
Removes a session cookie for a user.
TODO Implement this.
save (line 20)
Overrides xPDOObject::save to fire modX-specific events
{@inheritDoc}
sendEmail (line 767)
Send an email to the user
Inherited From modPrincipal
modPrincipal::getAttributes()
modPrincipal::loadAttributes()
Inherited From xPDOObject
xPDOObject::__construct()
xPDOObject::addMany()
xPDOObject::addOne()
xPDOObject::addValidationRule()
xPDOObject::encode()
xPDOObject::fromArray()
xPDOObject::fromJSON()
xPDOObject::get()
xPDOObject::getFieldName()
xPDOObject::getFKClass()
xPDOObject::getFKDefinition()
xPDOObject::getMany()
xPDOObject::getOne()
xPDOObject::getOption()
xPDOObject::getPK()
xPDOObject::getPKType()
xPDOObject::getPrimaryKey()
xPDOObject::getSelectColumns()
xPDOObject::getValidator()
xPDOObject::isDirty()
xPDOObject::isLazy()
xPDOObject::isNew()
xPDOObject::isValidated()
xPDOObject::load()
xPDOObject::loadCollection()
xPDOObject::loadCollectionGraph()
xPDOObject::remove()
xPDOObject::removeValidationRules()
xPDOObject::save()
xPDOObject::set()
xPDOObject::setDirty()
xPDOObject::setOption()
xPDOObject::toArray()
xPDOObject::toJSON()
xPDOObject::validate()
xPDOObject::_getAliases()
xPDOObject::_getDataType()
xPDOObject::_getPHPType()
xPDOObject::_getRelatedObjectsByFK()
xPDOObject::_initFields()
xPDOObject::_loadCollectionInstance()
xPDOObject::_loadFieldData()
xPDOObject::_loadInstance()
xPDOObject::_loadRows()
xPDOObject::_loadValidation()
xPDOObject::_saveRelatedObject()
xPDOObject::_saveRelatedObjects()
xPDOObject::_setRaw()
Documentation generated on Fri, 17 Jun 2011 10:03:53 -0600 by phpDocumentor 1.4.3