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.

  • access: public
  • abstract:
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>

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

Documentation generated on Thu, 18 Jan 2007 10:01:35 -0800 by phpDocumentor 1.3.1