wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
UserImpl Class Reference
+ Inheritance diagram for UserImpl:

Public Member Functions

 UserImpl ($oid=null, $type='UserImpl')
 
 setLogin ($login)
 
 getLogin ()
 
 setPassword ($password)
 
 getPassword ()
 
 setName ($name)
 
 getName ()
 
 setFirstname ($firstname)
 
 getFirstname ()
 
 setConfig ($config)
 
 getConfig ()
 
- Public Member Functions inherited from User
 User ($oid=null, $type='User')
 
getUser ($login, $password)
 
 getUserId ()
 
 setLogin ($login)
 
 getLogin ()
 
 setPassword ($password)
 
 getPassword ()
 
 setName ($name)
 
 getName ()
 
 setFirstname ($firstname)
 
 getFirstname ()
 
 setConfig ($config)
 
 getConfig ()
 
 addRole ($rolename, $commit=false)
 
 removeRole ($rolename, $commit=false)
 
 hasRole ($rolename)
 
 getRoles ()
 
getRoleByName ($rolename)
 
 resetRoleCache ()
 
- Public Member Functions inherited from Node
 Node ($type, $oid=null)
 
 getNumChildren ($memOnly=true, $type=null)
 
 addChild (&$child, $addtype=ADDCHILD_BACK)
 
 updateParent (&$parent, $recursive=true)
 
 deleteChild ($childOID, $reallyDelete=false)
 
 loadChildren ($type, $buildDepth=BUILDDEPTH_SINGLE, $forceUpdate=false)
 
getFirstChild ($type, $values, $properties, $useRegExp=true)
 
 getChildren ()
 
 getChildrenEx ($oid, $type, $values, $properties, $useRegExp=true)
 
 sortChildren ($criteria, $recursive=false, $changeSortkey=false, $sortFunction='')
 
 sort (&$nodeList, $criteria, $recursive=false, $changeSortkey=false, $sortFunction='')
 
 filter (&$nodeList, $oid, $type, $values, $properties, $useRegExp=true)
 
 getNextSibling ()
 
 getPreviousSibling ()
 
 loadParents ($type, $forceUpdate=false)
 
 getNumParents ($memOnly=true, $type=null)
 
getParent ()
 
getFirstParent ($type, $values, $properties, $useRegExp=true)
 
getParents ()
 
 getParentsEx ($oid, $type, $values, $properties, $useRegExp=true)
 
 getDepth ()
 
 getPath ()
 
 acceptVisitor (&$visitor)
 
 setState ($state, $recursive=true)
 
 removeDuplicateOidsWithoutRole ($oids)
 
 getDisplayValue ($useDisplayType=false)
 
 getDisplayValues ($useDisplayType=false)
 
 toString ($verbose=false)
 
- Public Member Functions inherited from PersistentObject
 PersistentObject ($type, $oid=null)
 
 getType ()
 
 setType ($type)
 
 getBaseType ()
 
 getOID ()
 
 getBaseOID ()
 
 setOID ($oid)
 
 getDBID ()
 
 setDBID ($id)
 
getMapper ()
 
getDataConverter ()
 
 save ()
 
 delete ($recursive=true)
 
 getState ()
 
 setState ($state, $recursive=true)
 
 setImmutable ()
 
 getLock ()
 
duplicate ()
 
 copyValues (&$object, $dataTypes=array(), $copyPkValues=true)
 
 copyValueIntern (&$node, $valueName, $dataType, &$targetNode, $dataTypes, $valuesToIgnore)
 
 clearValues ($dataTypes=array())
 
 clearValueIntern (&$node, $valueName, $dataType, $dataTypes)
 
 updateOID ()
 
 afterCreate ()
 
 beforeInsert ()
 
 afterInsert ()
 
 afterLoad ()
 
 beforeUpdate ()
 
 afterUpdate ()
 
 beforeDelete ()
 
 afterDelete ()
 
 hasValue ($name, $type=null)
 
 getValue ($name, $type=null)
 
 removeValue ($name, $type=null)
 
 getUnconvertedValue ($name, $type=null)
 
 getConvertedValue ($name, $type=null)
 
 getValueTypes ($name)
 
 validateValues ()
 
 validateValueIntern (&$node, $valueName, $dataType, &$errorMsg)
 
 validateValue ($name, $value, $type=null)
 
 validateValueAgainstRestrictions ($name, $value, $type=null)
 
 setValue ($name, $value, $type=null, $forceSet=false)
 
 getValueProperties ($name, $type=null)
 
 setValueProperties ($name, $properties, $type=null)
 
 getValueProperty ($name, $property, $type=null)
 
 setValueProperty ($name, $property, $value, $type=null)
 
 getValueNames ($type=null)
 
 getDataTypes ()
 
 getProperty ($name)
 
 setProperty ($name, $value)
 
 getPropertyNames ()
 
 addChangeListener (&$listener)
 
 removeChangeListener (&$listener)
 
 propagateValueChange ($name, $type, $oldValue, $newValue)
 
 propagatePropertyChange ($name, $oldValue, $newValue)
 
 propagateStateChange ($oldValue, $newValue)
 
 getObjectDisplayName ()
 
 getObjectDescription ()
 
 getDisplayValue ()
 
 getValueDisplayName ($name, $type=null)
 
 getValueDescription ($name, $type=null)
 
 toString ($verbose=false)
 
 isIndexInSearch ()
 
- Public Member Functions inherited from Storable
 getClassDefinitionFiles ()
 
 loadFromSession ()
 
 saveToSession ()
 

Additional Inherited Members

- Public Attributes inherited from User
 $_cachedRoles = array()
 
 $_hasOwnRolesLoaded = false
 
- Public Attributes inherited from Node
 $_children = array()
 
 $_parents = array()
 
 $_depth = -1
 
 $_path = ''
 
- Public Attributes inherited from PersistentObject
 $_oid = null
 
 $_type = ''
 
 $_data = array()
 
 $_properties = array()
 
 $_state = STATE_CLEAN
 
 $_isImmutable = false
 
 $_changeListeners = array()
 

Detailed Description

Definition at line 28 of file class.UserImpl.php.

Member Function Documentation

UserImpl::UserImpl (   $oid = null,
  $type = 'UserImpl' 
)

Default constructor.

Definition at line 33 of file class.UserImpl.php.

UserImpl::setLogin (   $login)

Set the login of the user.

Parameters
loginThe login of the user.

Definition at line 42 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\setValue().

+ Here is the call graph for this function:

UserImpl::getLogin ( )

Get the login of the user.

Returns
The login of the user.

Definition at line 51 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\getValue().

+ Here is the call graph for this function:

UserImpl::setPassword (   $password)

Set the password of the user.

Parameters
passwordThe unencrypted password of the user.

Definition at line 60 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\setValue().

+ Here is the call graph for this function:

UserImpl::getPassword ( )

Get the password of the user.

Returns
The unencrypted password of the user.

Definition at line 69 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\getValue().

+ Here is the call graph for this function:

UserImpl::setName (   $name)

Set the name of the user.

Parameters
nameThe name of the user.

Definition at line 78 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\setValue().

+ Here is the call graph for this function:

UserImpl::getName ( )

Get name of the user.

Returns
The name of the user.

Definition at line 87 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\getValue().

+ Here is the call graph for this function:

UserImpl::setFirstname (   $firstname)

Set the firstname of the user.

Parameters
firstnameThe firstname of the user.

Definition at line 96 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\setValue().

+ Here is the call graph for this function:

UserImpl::getFirstname ( )

Get the firstname of the user.

Returns
The firstname of the user.

Definition at line 105 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\getValue().

+ Here is the call graph for this function:

UserImpl::setConfig (   $config)

Set the configuration file of the user.

Parameters
configThe configuration file of the user.

Definition at line 114 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\setValue().

+ Here is the call graph for this function:

UserImpl::getConfig ( )

Get the configuration file of the user.

Returns
The configuration file of the user.

Definition at line 123 of file class.UserImpl.php.

References DATATYPE_ATTRIBUTE, and PersistentObject\getValue().

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: