eZPublish  3.8
eZImageFile Class Reference

The class eZImageFile handles registered images. More...

+ Inheritance diagram for eZImageFile:
+ Collaboration diagram for eZImageFile:

Public Member Functions

 appendFilepath ($contentObjectAttributeID, $filepath, $ignoreUnique=false)
 
 create ($contentObjectAttributeID, $filepath)
 
 definition ()
 
 eZImageFile ($row)
 
 fetchByFilepath ($contentObjectAttributeID, $filepath, $asObject=true)
 
fetchForContentObjectAttribute ($contentObjectAttributeID, $asObject=false)
 
 fetchImageAttributesByFilepath ($filepath, $contentObjectAttributeID)
 
instance ()
 
 moveFilepath ($contentObjectAttributeID, $oldFilepath, $newFilepath)
 
 removeFilepath ($contentObjectAttributeID, $filepath)
 
 removeForContentObjectAttribute ($contentObjectAttributeID)
 
- Public Member Functions inherited from eZPersistentObject
attribute ($attr, $noFunction=false)
 
 attributes ()
 
 conditionText (&$conditions)
 
conditionTextByRow (&$conditions, &$row)
 
 definition ()
 
escapeArray (&$array)
 
 eZPersistentObject ($row)
 
 fetchObject (&$def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
 fetchObjectList (&$def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null)
 
 fill (&$row)
 
 getShortAttributeName (&$db, &$def, $attrName)
 
 handleRows (&$rows, $class_name, $asObject)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 newObjectOrder (&$def, $orderField, $conditions)
 
 remove ($conditions=null, $extraConditions=null)
 
 removeObject (&$def, $conditions=null, $extraConditions=null)
 
 reorderObject (&$def, $orderField, $conditions, $down=true)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 swapRow ($table, &$keys, &$order_id, &$rows, $id1, $id2)
 
 sync ($fieldFilters=null)
 
 updateObjectList ($parameters)
 

Private Attributes

 $ContentObjectAttributeID
 
 $Filepath
 
 $ID
 

Detailed Description

The class eZImageFile handles registered images.

Member Function Documentation

eZImageFile::appendFilepath (   $contentObjectAttributeID,
  $filepath,
  $ignoreUnique = false 
)
eZImageFile::create (   $contentObjectAttributeID,
  $filepath 
)

Referenced by appendFilepath().

eZImageFile::definition ( )
eZImageFile::eZImageFile (   $row)

Referenced by create(), and instance().

eZImageFile::fetchByFilepath (   $contentObjectAttributeID,
  $filepath,
  $asObject = true 
)
& eZImageFile::fetchForContentObjectAttribute (   $contentObjectAttributeID,
  $asObject = false 
)
eZImageFile::fetchImageAttributesByFilepath (   $filepath,
  $contentObjectAttributeID 
)
Returns
An array of ids and versions of ezimage ezcontentobject_attributes have $filepath.

Referenced by eZImageAliasHandler\removeAliases().

& eZImageFile::instance ( )
eZImageFile::moveFilepath (   $contentObjectAttributeID,
  $oldFilepath,
  $newFilepath 
)
eZImageFile::removeFilepath (   $contentObjectAttributeID,
  $filepath 
)
eZImageFile::removeForContentObjectAttribute (   $contentObjectAttributeID)

Member Data Documentation

eZImageFile::$ContentObjectAttributeID
private
eZImageFile::$Filepath
private
eZImageFile::$ID
private

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