eZImageType Class Reference
[Kernel system]

The class eZImageType handles image accounts and association with content objects. More...

Inheritance diagram for eZImageType:

eZDataType List of all members.

Public Methods

 hasAttribute ($name)
attribute ($name)
 initializeObjectAttribute (&$contentObjectAttribute,$currentVersion,&$originalContentObjectAttribute)
 deleteStoredObjectAttribute (&$contentObjectAttribute,$version=null)
 validateObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute)
 fetchObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute)
 storeObjectAttribute (&$contentObjectAttribute)
 fetchClassAttributeHTTPInput (&$http,$base,&$classAttribute)
 title (&$contentObjectAttribute,$name="filename")

Detailed Description

The class eZImageType handles image accounts and association with content objects.

Definition at line ezimagetype.php.


Member Function Documentation

& eZImageType::attribute   name
 

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

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

References eZDataType::attribute().

eZImageType::deleteStoredObjectAttribute &$    contentObjectAttribute,
  version = null
 

Delete stored attribute

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

References eZImage::remove().

eZImageType::fetchClassAttributeHTTPInput &$    http,
  base,
&$    classAttribute
 

Fetches the HTTP input for the content class attribute.

Note:
Default implementation does nothing.

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

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

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

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

References eZDebug::writeNotice().

eZImageType::hasAttribute   name
 

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

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

References eZDataType::hasAttribute().

eZImageType::initializeObjectAttribute &$    contentObjectAttribute,
  currentVersion,
&$    originalContentObjectAttribute
 

Sets value according to current version

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

eZImageType::storeObjectAttribute &$    contentObjectAttribute
 

Does nothing, since the image has been stored. See fetchObjectAttributeHTTPInput for the actual storing.

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

eZImageType::title &$    contentObjectAttribute,
  name = "filename"
 

Returns attribute of an image, default will return filename of the image.

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

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

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

Reimplemented from eZDataType.

Definition at line ezimagetype.php.

References eZHTTPFile::fetch().


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

Exponential