base class for response object A response object is responsible to generate a content in a specific format.
Located in /core/jResponse.class.php (line 19)
Class | Description |
---|---|
jResponseSoap | Response for soap web services |
jResponseHtmlFragment | Send Html part |
jResponseJson | Json response |
jResponseCmdline | Command line response |
jResponseRedirectUrl | Response To redirect to an URL |
jResponseTcpdf | PDF Response based on TCPDF (http://tcpdf.sourceforge.net) |
jResponseBinary | Response use to send a binary file to the browser |
jResponseXul | Generate a XUL window |
jResponseRedirect | Response To redirect to an action |
jResponseXml | XML response generator |
jResponseLatexToPdf | pdf response, generated from a latex content |
jResponseBasicHtml | Basic HTML response. the HTML content should be provided by a simple php file. |
jResponseXmlRpc | xmlrpc response |
jResponseRdf | output RDF content. |
jResponseCss | Send CSS content |
jResponseXMLFeed | Responses for Syndication should inherits from jResponseXMLFeed |
jResponseZip | generate a zip content and send it to the browser |
jResponseText | plain Text response |
jResponseSitemap | Sitemap 0.9 response |
jResponseJsonRpc | Response for jsonrpc protocol |
constructor
add an http header to the response.
will be send during the output of the response
return the format type name (eg the family type name)
Send the response in the correct format. If errors or exceptions appears during this method, outputErrors will be called. So the the content should be generated using the output buffer if errors can be appeared during this generation. Be care of http headers.
Send a response with a generic error message.
send http headers
set the http status code for the http header
Documentation generated on Mon, 19 Sep 2011 14:13:20 +0200 by phpDocumentor 1.4.3