eZPublish  3.9
eZBinaryFile Class Reference

The class eZBinaryFile handles registered binaryfiles. More...

+ Inheritance diagram for eZBinaryFile:
+ Collaboration diagram for eZBinaryFile:

Public Member Functions

 create ($contentObjectAttributeID, $version)
 
 definition ()
 
 eZBinaryFile ($row)
 
 fetch ($id, $version=null, $asObject=true)
 
 fetchByFileName ($filename, $version=null, $asObject=true)
 
filePath ()
 
fileSize ()
 
metaData ()
 
mimeTypeCategory ()
 
mimeTypePart ()
 
 remove ($id, $version)
 
 storedFileInfo ()
 
- 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, $custom_tables=null, $custom_conds=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)
 

Public Attributes

 $ContentObjectAttributeID
 
 $Filename
 
 $MimeType
 
 $OriginalFilename
 

Detailed Description

The class eZBinaryFile handles registered binaryfiles.

Member Function Documentation

eZBinaryFile::definition ( )

Referenced by fetch(), fetchByFileName(), and remove().

eZBinaryFile::eZBinaryFile (   $row)

Referenced by create().

eZBinaryFile::fetchByFileName (   $filename,
  $version = null,
  $asObject = true 
)
& eZBinaryFile::filePath ( )
& eZBinaryFile::fileSize ( )
& eZBinaryFile::metaData ( )
Returns
the medatata from the binary file, if extraction is supported for the current mimetype.
& eZBinaryFile::mimeTypeCategory ( )
& eZBinaryFile::mimeTypePart ( )
eZBinaryFile::remove (   $id,
  $version 
)
eZBinaryFile::storedFileInfo ( )

Referenced by filePath(), fileSize(), and metaData().

Member Data Documentation

eZBinaryFile::$ContentObjectAttributeID
eZBinaryFile::$Filename
eZBinaryFile::$MimeType

Referenced by metaData().

eZBinaryFile::$OriginalFilename

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