API Documentation

Json/Server/Response/Http.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Json
version
$Id: Http.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Json_Server_Response_Http

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Json_Server_Response_Http

Extends from
Zend_Json_Server_Response
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Json
Methods
toJson
sendHeaders

Description

Methods

sendHeaders

sendHeaders( ) : void

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.

Details
visibility
public
final
false
static
false

toJson

toJson( ) : string

Emit JSON

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

Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.