eZBinaryFileType Class Reference
[Kernel system]
The class eZBinaryFileType handles image accounts and association with content objects.
More...
Inheritance diagram for eZBinaryFileType:
List of all members.
|
Public Methods |
| hasAttribute ($name) |
& | attribute ($name) |
& | fileHandler () |
& | viewTemplate (&$contentobjectAttribute) |
& | editTemplate (&$contentobjectAttribute) |
& | informationTemplate (&$contentobjectAttribute) |
| initializeObjectAttribute (&$contentObjectAttribute,$currentVersion,&$originalContentObjectAttribute) |
| deleteStoredObjectAttribute (&$contentObjectAttribute,$version=null) |
| checkFileUploads () |
| validateObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute) |
| fetchObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute) |
| storeObjectAttribute (&$contentObjectAttribute) |
| fetchClassAttributeHTTPInput (&$http,$base,&$classAttribute) |
| title (&$contentObjectAttribute,$name="filename") |
Detailed Description
The class eZBinaryFileType handles image accounts and association with content objects.
Definition at line ezbinaryfiletype.php.
Member Function Documentation
& eZBinaryFileType::attribute |
( |
$ |
name |
) |
|
|
eZBinaryFileType::checkFileUploads |
( |
|
) |
|
|
eZBinaryFileType::deleteStoredObjectAttribute |
( |
&$ |
contentObjectAttribute, |
|
|
$ |
version = null |
|
) |
|
|
& eZBinaryFileType::editTemplate |
( |
&$ |
contentobjectAttribute |
) |
|
|
|
- Returns:
-
the template name to use for editing the attribute.
- Note:
-
Default is to return the datatype string which is OK for most datatypes, if you want dynamic templates reimplement this function and return a template name.
-
The returned template name does not include the .tpl extension.
- See also:
-
viewTemplate, informationTemplate
Reimplemented from eZDataType.
Definition at line ezbinaryfiletype.php.
References fileHandler(). |
eZBinaryFileType::fetchClassAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
classAttribute |
|
) |
|
|
|
Fetches the HTTP input for the content class attribute. - Note:
-
Default implementation does nothing.
Reimplemented from eZDataType.
Definition at line ezbinaryfiletype.php. |
eZBinaryFileType::fetchObjectAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
contentObjectAttribute |
|
) |
|
|
& eZBinaryFileType::fileHandler |
( |
|
) |
|
|
eZBinaryFileType::hasAttribute |
( |
$ |
name |
) |
|
|
& eZBinaryFileType::informationTemplate |
( |
&$ |
contentobjectAttribute |
) |
|
|
|
- Returns:
-
the template name to use for information collection for the attribute.
- Note:
-
Default is to return the datatype string which is OK for most datatypes, if you want dynamic templates reimplement this function and return a template name.
-
The returned template name does not include the .tpl extension.
- See also:
-
viewTemplate, editTemplate
Reimplemented from eZDataType.
Definition at line ezbinaryfiletype.php.
References fileHandler(). |
eZBinaryFileType::initializeObjectAttribute |
( |
&$ |
contentObjectAttribute, |
|
|
$ |
currentVersion, |
|
|
&$ |
originalContentObjectAttribute |
|
) |
|
|
eZBinaryFileType::storeObjectAttribute |
( |
&$ |
contentObjectAttribute |
) |
|
|
|
Does nothing, since the file has been stored. See fetchObjectAttributeHTTPInput for the actual storing.
Reimplemented from eZDataType.
Definition at line ezbinaryfiletype.php. |
eZBinaryFileType::title |
( |
&$ |
contentObjectAttribute, |
|
|
$ |
name = "filename" |
|
) |
|
|
eZBinaryFileType::validateObjectAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
contentObjectAttribute |
|
) |
|
|
& eZBinaryFileType::viewTemplate |
( |
&$ |
contentobjectAttribute |
) |
|
|
|
Reimplemented for internal reasons; the API is not affected. - Returns:
-
the template name which the handler decides upon.
Reimplemented from eZDataType.
Definition at line ezbinaryfiletype.php.
References fileHandler(). |
The documentation for this class was generated from the following file:
|