ZFormAjaxBehaviorLocated in /Form/behaviors/ZFormAjaxBehavior.php (line 53)
ZFormElementBehavior | --ZFormAjaxBehavior
void
__construct
(ZFormElement $formElement, string $url, string $htmlid, [int $position = self::REPLACE], [ $callbacks = null], [boolean $isAsync = true], [string $method = self::POST], [string $eventHook = 'click'], array $callback)
Constructor __construct (line 94)
Class constructor. Simply initialize the instance variables to the variables passed
applyClientBehavior (line 169)
Called before the behavior is emitted to the client or server. If the element is a ZFormLink the AJAX behavior replaces the href of the link.
If the $element type is a form the submit event is hooked.
emitClientBehavior (line 123)
ZFormElementBehavior procotol method which emits the javascript necessary to apply the AJAX behavior to the element
getCallbacks (line 225)
Returns the value of the callbacks instance variable
getHTMLTarget (line 249)
Returns the value of the htmlid instance variable
getPosition (line 269)
Returns the value of the position instance variable
getURL (line 183)
Returns the URL of the AJAX behavior
isAsync (line 204)
Returns the value of the async instance variable
setAsync (line 215)
Set the value of the async instance variable
setCallbacks (line 239)
Set the value of the callback instance variable
setHTMLTarget (line 259)
Sets the value of the htmlid target instance variable
setPosition (line 280)
Sets the value of the position target instance variable
setURL (line 194)
Sets the URL of the AJAX behavior
Documentation generated on Wed, 21 Feb 2007 12:03:20 -0800 by phpDocumentor 1.3.1