Abstract Class ZFormElementBehaviorAbstract

Description

Located in /Form/ZFormElementBehaviorAbstract.php (line 32)


	
			
Method Summary
 ZFormElementBehaviorAbstract __construct (ZFormElement $targetElement)
 void emitClientBehavior (ZFormElement $element)
Methods
Constructor __construct (line 40)

Class constructor. Initialize $_element to as the target of behavior.

  • access: public
ZFormElementBehaviorAbstract __construct (ZFormElement $targetElement)
  • ZFormElement $targetElement: The form element to apply the behavior into.
applyClientBehavior (line 72)

Abstract method which must be implemented by subclasses. This method is invoked before any rendering is started of the component. This give the bahavior a chance to make any changes to the layout of the element its children or its parent chain.

  • abstract:
  • access: public
void applyClientBehavior (ZFormElement $element)
emitClientBehavior (line 62)

Abstract method. This method is invoked during the render cycle of the

behavior. The this method in invoked the context of the DHTML on the page will contain a javascript reference to the element idenfitied by the target element For example: <SCRIPT> var element; element = document.getElementById('helloWorld'); </SCRIPT>

  • abstract:
  • access: public
void emitClientBehavior (ZFormElement $element)

Documentation generated on Sun, 27 May 2007 23:29:53 -0700 by phpDocumentor 1.3.2