Path

7x / documentation / ez publish / technical manual / 3.8 / reference / objects / ezbinaryfile


Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ezbinaryfile

Summary

Contains information about a file.

Persistent

Yes.

Attributes

Attribute

Type

Static*

Description

contentobject_attribute_id

string

Yes.

The ID number of the content object attribute that the file belongs to.

version

string

Yes.

The version number of the object that the file belongs to.

filename

string

Yes.

The internal name of the file (generated by the system).

original_filename

string

Yes.

The original name of the file.

mime_type

string

Yes.

The MIME type of the file (for example "audio/wav").

download_count

string

Yes.

The number of times the file has been downloaded through the "download" view of the "content" module.

filesize

integer

No.

The size of the file (number of bytes).

filepath

string

No.

The path to the file (including the filename).

mime_type_category

string

No.

The MIME type category (for example "audio").

mime_type_part

string

No.

The MIME type part (for example "wav").

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Balazs Halasy (12/03/2005 11:55 am)

Svitlana Shatokhina (12/03/2007 10:27 am)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.