Abstract Class modPrincipal

Description

Represents a person or system that will access modX.

  • abstract:

Located in /model/modx/modprincipal.class.php (line 11)

xPDOObject
   |
   --xPDOSimpleObject
      |
      --modPrincipal
Direct descendents
Class Description
 class modUser The core MODx user class.
Variable Summary
 array $_attributes
Method Summary
 void getAttributes ([ $targets = array()], [ $context = ''], [ $reload = false])
 void loadAttributes ( $target, [string $context = ''], [boolean $reload = false], string|array $targets)
Variables
Methods
getAttributes (line 39)
  • access: public
void getAttributes ([ $targets = array()], [ $context = ''], [ $reload = false])
  • $targets
  • $context
  • $reload
loadAttributes (line 35)

Load attributes of the principal that define access to secured objects.

  • abstract:
  • access: public
void loadAttributes ( $target, [string $context = ''], [boolean $reload = false], string|array $targets)
  • string|array $targets: The target modAccess classes to load attributes from.
  • string $context: Context to check within, defaults to current context.
  • boolean $reload: If true, the attributes will be reloaded and the session updated.
  • $target

Redefined in descendants as:

Inherited Methods

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:44 -0600 by phpDocumentor 1.4.3