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 24 of file DownloadFormat.php.

+ Inheritance diagram for DownloadFormat:

Public Member Functions

 getMimeType ()
 
 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 ( )
See also
Format::getMimeType()

Implements Format.

Definition at line 29 of file DownloadFormat.php.

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

Implements Format.

Definition at line 36 of file DownloadFormat.php.

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

Implements Format.

Definition at line 44 of file DownloadFormat.php.

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

Implements Format.

Definition at line 53 of file DownloadFormat.php.

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

Definition at line 69 of file DownloadFormat.php.

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

Definition at line 76 of file DownloadFormat.php.