Public Member Functions

Zend_Json_Server_Response_Http Class Reference

Inheritance diagram for Zend_Json_Server_Response_Http:
Zend_Json_Server_Response

Public Member Functions

 toJson ()
 sendHeaders ()

Detailed Description

Definition at line 33 of file Http.php.


Member Function Documentation

sendHeaders (  )

Send headers

If headers are already sent, do nothing. If null ID, send HTTP 204 header. Otherwise, send content type header based on content type of service map.

Returns:
void

Definition at line 61 of file Http.php.

toJson (  )

Emit JSON

Send appropriate HTTP headers. If no Id, then return an empty string.

Returns:
string

Reimplemented from Zend_Json_Server_Response.

Definition at line 42 of file Http.php.


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