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

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

Inherited Variables

Inherited from WFActionResponse

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

Fluent constructor.

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

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

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

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

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 948)
  • access: public
void contentType ()

Redefinition of:
WFActionResponse::contentType()
data (line 953)
  • 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::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForUndefinedKey()
WFObject::__toString()

Documentation generated on Thu, 17 Apr 2008 13:52:06 -0400 by phpDocumentor 1.4.1