|
eZ Publish
[4.0]
|
The class eZImage handles registered images. More...
Inheritance diagram for eZImage:
Collaboration diagram for eZImage:Public Member Functions | |
| attribute ($attr) | |
| attributes () | |
| create ($contentObjectAttributeID, $contentObjectAttributeVersion) | |
| eZImage ($row) | |
| fetch ($id, $version=null, $asObject=true) | |
| fetchList ($asObject=true) | |
| hasAttribute ($attr) | |
| remove ($id, $version) | |
Static Public Member Functions | |
| static | definition () |
Public Attributes | |
| $ContentObjectAttributeID | |
| $Filename | |
| $MimeType | |
| $OriginalFilename | |
| $Version | |
| eZImage::attribute | ( | $ | attr | ) |
Definition at line 126 of file ezimage.php.
| eZImage::attributes | ( | ) |
Reimplemented from eZPersistentObject.
Definition at line 87 of file ezimage.php.
| eZImage::create | ( | $ | contentObjectAttributeID, |
| $ | contentObjectAttributeVersion | ||
| ) |
Definition at line 261 of file ezimage.php.
| static eZImage::definition | ( | ) | [static] |
The definition array is an associative array consists of these keys:
asc or desc.Example:
static function definition() { return array( "fields" => array( "id" => "ID", "version" => "Version", "name" => "Name" ), "keys" => array( "id", "version" ), "function_attributes" => array( "current" => "currentVersion", "class_name" => "className" ), "increment_key" => "id", "class_name" => "eZContentClass", "sort" => array( "id" => "asc" ), "name" => "ezcontentclass" ); }
Reimplemented from eZPersistentObject.
Definition at line 51 of file ezimage.php.
Referenced by fetch(), fetchList(), and remove().
| eZImage::eZImage | ( | $ | row | ) |
Definition at line 46 of file ezimage.php.
Referenced by create().
| eZImage::fetch | ( | $ | id, |
| $ | version = null, |
||
| $ | asObject = true |
||
| ) |
Definition at line 272 of file ezimage.php.
Referenced by eZImageVariation\fullPath(), and eZImageType\repairContentObjectAttribute().
| eZImage::fetchList | ( | $ | asObject = true | ) |
Definition at line 293 of file ezimage.php.
| eZImage::hasAttribute | ( | $ | attr | ) |
Reimplemented from eZPersistentObject.
Definition at line 92 of file ezimage.php.
| eZImage::remove | ( | $ | conditions, |
| $ | extraConditions | ||
| ) |
Removes the object from the database, it will use the keys in the object definition to figure out which table row should be removed unless $conditions is defined as an array with fieldnames. It uses removeObject to do the real job and passes the object defintion, conditions and extra conditions $extraConditions to this function.
Reimplemented from eZPersistentObject.
Definition at line 300 of file ezimage.php.
| eZImage::$ContentObjectAttributeID |
Definition at line 316 of file ezimage.php.
| eZImage::$Filename |
Definition at line 317 of file ezimage.php.
| eZImage::$MimeType |
Definition at line 319 of file ezimage.php.
| eZImage::$OriginalFilename |
Definition at line 318 of file ezimage.php.
| eZImage::$Version |
Definition at line 315 of file ezimage.php.