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 850)

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 852)
  • access: protected
Methods
Constructor __construct (line 854)
  • access: public
WFActionResponse __construct ( $data)
  • $data

Redefinition of:
WFObject::__construct()

Redefined in descendants as:
data (line 858)
  • access: public
void data ()

Redefined in descendants as:
send (line 862)
  • access: public
void send ()

Inherited Methods

Inherited From WFObject

WFObject::__construct()
WFObject::exposedProperties()
WFObject::getClass()
WFObject::keyPathToTargetAndKey()
WFObject::setValueForKey()
WFObject::setValueForKeyPath()
WFObject::setValuesForKeys()
WFObject::validatedSetValueForKey()
WFObject::validatedSetValueForKeyPath()
WFObject::validateObject()
WFObject::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForStaticKey()
WFObject::valueForStaticKeyPath()
WFObject::valueForTargetAndKeyPath()
WFObject::valueForUndefinedKey()
WFObject::valueForUndefinedStaticKey()
WFObject::valuesForKeyPaths()
WFObject::valuesForKeys()
WFObject::_valueForStaticKey()
WFObject::__toString()

Documentation generated on Thu, 14 May 2009 16:20:24 -0400 by phpDocumentor 1.4.2