Detailed Description

DownloadFormat is used for downloads.

It will be automatically chosen, if a file is set using the Response::setFile() method.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 23 of file DownloadFormat.php.

+ Inheritance diagram for DownloadFormat:

Public Member Functions

 getMimeType (Response $response=null)
 
 isCached (Response $response)
 
 getCacheDate (Response $response)
 
 getResponseHeaders (Response $response)
 
- Public Member Functions inherited from AbstractFormat
 deserialize (Request $request)
 
 serialize (Response $response)
 
 getResponseHeaders (Response $response)
 

Protected Member Functions

 deserializeValues (Request $request)
 
 serializeValues (Response $response)
 
- Protected Member Functions inherited from AbstractFormat
 beforeDeserialize (Request $request)
 
 deserializeValues (Request $request)
 
 afterDeserialize (Request $request)
 
 beforeSerialize (Response $response)
 
 serializeValues (Response $response)
 
 afterSerialize (Response $response)
 
 getNode (ObjectId $oid)
 
 filterValue ($value, AttributeDescription $attribute)
 

Member Function Documentation

getMimeType ( Response  $response = null)
See also
Format::getMimeType()

Implements Format.

Definition at line 28 of file DownloadFormat.php.

isCached ( Response  $response)
See also
Format::isCached()

Implements Format.

Definition at line 35 of file DownloadFormat.php.

getCacheDate ( Response  $response)
See also
Format::getCacheDate()

Implements Format.

Definition at line 52 of file DownloadFormat.php.

getResponseHeaders ( Response  $response)
See also
Format::getResponseHeaders()

Implements Format.

Definition at line 61 of file DownloadFormat.php.

deserializeValues ( Request  $request)
protected
See also
AbstractFormat::deserializeValues()

Definition at line 75 of file DownloadFormat.php.

serializeValues ( Response  $response)
protected
See also
AbstractFormat::serializeValues()

Definition at line 82 of file DownloadFormat.php.