ZFormElementEventLocated in /library/Zend/Form/ZFormElementEvent.php (line 32)
mixed
$_data
(line 63)
The $_data variable contains a mixed variable the is opaque to the event structure. This can be used to communicate specialized data such as old & new value in the ONVALUECHANGE event.
ZFormElement
$_source
(line 54)
The $_source variable contains the ZFormElement that trigged the event.
string
$_type
(line 47)
Contains the type of the event see constants above
Constructor __construct (line 74)
Class constructor. Simply initialize the instance variables to the variables passed
fire (line 133)
Delivers the event to the registered event listeners for the type specified by the event from the subject.
If a listeners is an object fire attempts to invoke the methods defined by concatenating 'on' with the id of the source object and the type of the method. For example if: the source id = test the type of ONVALUECHANGE the method name would be -> onTestChange If that method does not exist and the listener is an instanceof ZFormElementEventListenerInterface the general handleEvent is invoked. Finally if the object listener is a string and a callable the function is invoked with the event as an argument
getData (line 109)
Returns the opaque user data associated with the event
getSource (line 98)
Returns the ZFormElement which is the source of the event
getType (line 87)
Returns the type of the event. See constants in ZFormElementEvent
Documentation generated on Tue, 11 Jul 2006 12:24:29 -0500 by phpDocumentor 1.3.0RC6