| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Source view] [Print] [Project Stats]
OO AJAX Implementation for PHP, contains HTML_AJAX_Response SVN Rev: $Id: Response.php,v 1.1.2.1 2008/10/03 07:09:50 nicolasconnault Exp $
| Author: | Elizabeth Smith <auroraeosrose@gmail.com> |
| Copyright: | 2005-2006 Elizabeth Smith |
| License: | http://www.opensource.org/licenses/lgpl-license.php LGPL |
| Version: | Release: 0.5.6 |
| File Size: | 78 lines (2 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
HTML_AJAX_Response:: (2 methods):
getContentType()
getPayload()
Class: HTML_AJAX_Response - X-Ref
Simple base class for a response object to use as an ajax callback| getContentType() X-Ref |
| Returns the appropriate content type This normally simply returns the contentType property but can be overridden by an extending class if the content-type is variable return: string appropriate content type |
| getPayload() X-Ref |
| Returns the serialized content of the response class You can either fill the payload elsewhere in an extending class and leave this method alone, or you can override it if you have a different type of payload that needs special treatment return: string serialized response content |
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |