Class AuthorizationUserRolesXDO

Description

Implements interfaces:

XDO for managing a SAT Users roles

Type: sat.user.roles

Properties: 'uid' (int, ro) - Numeric User ID 'roles' (array, rw) - Array of role IDs

Located in /phpsatk/local/org.eenterphace.sat.authorization.xdos/xdo.user.roles.php (line 39)

XDODataObject
   |
   --AuthorizationUserRolesXDO
Method Summary
void delete ()
void fetch (DataItem $item)
string getID ()
void register (DataObject $registry)
integer resolveItemID (XDODataObject $parent, XDODataObject $id)
void update ()
Variables

Inherited Variables

Inherited from XDODataObject

XDODataObject::$fieldhint
Methods
delete (line 129)

Deletes all role associations of the user

Will invalidate the ACL cache.

  • access: protected
void delete ()

Redefinition of:
XDODataObject::delete()
Deletes this object
fetch (line 55)

Fetches the users roles

  • access: public
void fetch (DataItem $item)
  • DataItem $item

Redefinition of:
XDODataObject::fetch()
Fetches the properties of this object from the underlying storage
getID (line 46)

Gets the object type identifier

  • access: public
string getID ()

Redefinition of:
XDODataObject::getID()
Gets the object ID/type identifier of this object
register (line 96)

Registers this object with its parent

Registers a single rw-property named 'roles'

  • access: protected
void register (DataObject $registry)
  • DataObject $registry

Redefinition of:
XDODataObject::register()
Registers this objects properties
resolveItemID (line 81)

Resolves the object indentifier from a parent object

  • access: public
integer resolveItemID (XDODataObject $parent, XDODataObject $id)
update (line 106)

Updates the user's role association

  • access: protected
void update ()

Redefinition of:
XDODataObject::update()
Puts the properties stored in this object to the underlying storage

Inherited Methods

Inherited From XDODataObject

XDODataObject::__construct()
XDODataObject::addChild()
XDODataObject::addChildren()
XDODataObject::commit()
XDODataObject::delete()
XDODataObject::exists()
XDODataObject::fetch()
XDODataObject::getChild()
XDODataObject::getChildren()
XDODataObject::getCollection()
XDODataObject::getFieldHint()
XDODataObject::getID()
XDODataObject::getItemID()
XDODataObject::getParent()
XDODataObject::getProperty()
XDODataObject::getPropertyAccess()
XDODataObject::hasChildren()
XDODataObject::initialize()
XDODataObject::pushEvent()
XDODataObject::register()
XDODataObject::registerProperty()
XDODataObject::remove()
XDODataObject::setDelegate()
XDODataObject::setParent()
XDODataObject::update()
XDODataObject::__get()
XDODataObject::__isset()
XDODataObject::__set()

Documentation generated on Mon, 21 May 2007 10:35:33 +0200 by phpDocumentor 1.3.0RC5