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 |
---|---|
jResponseJson | Json response |
jResponseZip | generate a zip content and send it to the browser |
jResponseText | plain Text response |
jResponseCmdline | Command line response |
jResponseXMLFeed | Responses for Syndication should inherits from jResponseXMLFeed |
jResponseXul | Generate a XUL window |
jResponseRedirectUrl | Response To redirect to an URL |
jResponseCss | Send CSS content |
jResponseBasicHtml | Basic HTML response. the HTML content should be provided by a simple php file. |
jResponseRedirect | Response To redirect to an action |
jResponseSoap | Response for soap web services |
jResponseXmlRpc | xmlrpc response |
jResponseHtmlFragment | Send Html part |
jResponseBinary | Response use to send a binary file to the browser |
jResponseTcpdf | PDF Response based on TCPDF (http://tcpdf.sourceforge.net) |
jResponseSitemap | Sitemap 0.9 response |
jResponseXml | XML response generator |
jResponseJsonRpc | Response for jsonrpc protocol |
jResponseLatexToPdf | pdf response, generated from a latex content |
jResponseRdf | output RDF content. |
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 Wed, 24 Sep 2014 22:01:14 +0200 by phpDocumentor 1.4.3