Class WFActionResponse

Description

The WFActionResponse hierarchy encapsulates possible responses to Ajax actions.

Different subclasses deal with commonly used response object types, such as JSON, Plain Text, XML, and a custom UI updater for PHOCOA.

WFActionResponse is an abstract base class.

  • abstract:

Located in /framework/WFRPC.php (line 853)

WFObject
   |
   --WFActionResponse
Direct descendents
Class Description
WFActionResponsePlain A plain-text repsonse.
WFActionResponseJSON A JSON response.
WFActionResponseXML An XML response.
WFActionResponsePhocoaUIUpdater A special XML response type that allows the caller to easily effect UI changes on the client in response to an ajax action.
WFActionResponseAppcelerator A custom WFActionResponse class for sending messages back to the Appcelerator client.
Variable Summary
mixed $data
Method Summary
WFActionResponse __construct ( $data)
void contentType ()
void data ()
void send ()
Variables
mixed $data (line 855)
  • access: protected
Methods

Documentation generated on Sun, 28 Sep 2008 18:25:21 -0400 by phpDocumentor 1.4.1