eZUserType Class Reference
[Kernel system]

The class eZUserType handles user accounts and association with content objects. More...

Inheritance diagram for eZUserType:

eZDataType List of all members.

Public Methods

 hasAttribute ($name)
attribute ($name)
 deleteStoredObjectAttribute (&$contentObjectAttribute,$version=null)
 validateObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute)
 fetchObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute)
 storeObjectAttribute (&$contentObjectAttribute)
 title (&$contentObjectAttribute,$name="login")
objectAttributeContent (&$contentObjectAttribute)
 metaData ($contentObjectAttribute)

Detailed Description

The class eZUserType handles user accounts and association with content objects.

Definition at line ezusertype.php.


Member Function Documentation

& eZUserType::attribute   name
 

Returns:
the data for the attribute $attr or null if it does not exist.

Reimplemented from eZDataType.

Definition at line ezusertype.php.

References eZDataType::attribute().

eZUserType::deleteStoredObjectAttribute &$    contentObjectAttribute,
  version = null
 

Delete stored object attribute

Reimplemented from eZDataType.

Definition at line ezusertype.php.

eZUserType::fetchObjectAttributeHTTPInput &$    http,
  base,
&$    contentObjectAttribute
 

Fetches the http post var integer input and stores it in the data instance.

Reimplemented from eZDataType.

Definition at line ezusertype.php.

References eZDebugSetting::writeDebug().

eZUserType::hasAttribute   name
 

Returns:
true if the attribute $attr exists in this object.

Reimplemented from eZDataType.

Definition at line ezusertype.php.

References eZDataType::hasAttribute().

eZUserType::metaData   contentObjectAttribute
 

Returns the meta data used for storing search indeces.

Definition at line ezusertype.php.

& eZUserType::objectAttributeContent &$    contentObjectAttribute
 

Returns the user object.

Reimplemented from eZDataType.

Definition at line ezusertype.php.

References eZDebugSetting::writeDebug().

Referenced by title().

eZUserType::storeObjectAttribute &$    contentObjectAttribute
 

Stores the datatype data to the database which is related to the object attribute.

Returns:
True if the value was stored correctly.
Note:
The method is entirely up to the datatype, for instance it could reuse the available types in the the attribute or store in a separate object.
See also:
fetchObjectAttributeHTTPInput

Reimplemented from eZDataType.

Definition at line ezusertype.php.

eZUserType::title &$    contentObjectAttribute,
  name = "login"
 

Returns the object title.

Reimplemented from eZDataType.

Definition at line ezusertype.php.

References objectAttributeContent().

eZUserType::validateObjectAttributeHTTPInput &$    http,
  base,
&$    contentObjectAttribute
 

Validates the input and returns true if the input was valid for this datatype.

Reimplemented from eZDataType.

Definition at line ezusertype.php.

References eZMail::validate().


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

Exponential