Class WFActionResponsePhocoaUIUpdater

Description

A special XML response type that allows the caller to easily effect UI changes on the client in response to an ajax action.

Offers a fluent interface. Use the WFActionResponsePhocoaUIUpdater::WFActionResponsePhocoaUIUpdater() static constructor to easily craft a response via fluent inteface.

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

WFObject
   |
   --WFActionResponse
      |
      --WFActionResponsePhocoaUIUpdater
Method Summary
Variables

Inherited Variables

Inherited from WFActionResponse

WFActionResponse::$data
Methods
static method WFActionResponsePhocoaUIUpdater (line 930)

Fluent constructor.

  • access: public
static object WFActionResponsePhocoaUIUpdater WFActionResponsePhocoaUIUpdater ()
Constructor __construct (line 920)
  • access: public
WFActionResponsePhocoaUIUpdater __construct ()

Redefinition of:
WFActionResponse::__construct()
addReplaceHTML (line 955)

Add an HTML replace to be sent to the client.

HTML Replaces will replace the element id with the passed HTML.

  • return: The current instance, for fluent configuration.
  • access: public
object WFActionResponsePhocoaUIUpdater addReplaceHTML ( $id,  $html)
  • $id
  • $html
addRunScript (line 968)

Add a snippet of javascript code to be sent to the client.

Script blocks will be executed on the client.

  • return: The current instance, for fluent configuration.
  • access: public
object WFActionResponsePhocoaUIUpdater addRunScript ( $script)
  • $script
addUpdateHTML (line 942)

Add an HTML update to be sent to the client.

HTML Updates will replace the innerHTML of the specified element id with the passed HTML.

  • return: The current instance, for fluent configuration.
  • access: public
object WFActionResponsePhocoaUIUpdater addUpdateHTML ( $id,  $html)
  • $id
  • $html
contentType (line 974)
  • access: public
void contentType ()

Redefinition of:
WFActionResponse::contentType()
data (line 979)
  • access: public
void data ()

Redefinition of:
WFActionResponse::data()

Inherited Methods

Inherited From WFActionResponse

WFActionResponse::__construct()
WFActionResponse::contentType()
WFActionResponse::data()
WFActionResponse::send()

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