## ZFormElementBehaviorAbstract

Description

- abstract:
- license: Zend Framework License version 1.0
- copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

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

Method Summary
ZFormElementBehaviorAbstract __construct (ZFormElement $targetElement)
void applyClientBehavior (ZFormElement $element)
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)

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

- ZFormElement $element

Documentation generated on Wed, 21 Feb 2007 12:03:28 -0800 by phpDocumentor 1.3.1