Docs For Class ZFormElementBehaviorAbstract

## Class ZFormElementBehaviorAbstract

Description

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

Located in /Zend/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 Sun, 29 Oct 2006 21:28:06 -0600 by phpDocumentor 1.3.0RC6