Located in /Form/ZFormElementEvent.php (line 32)
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.
The $_source variable contains the ZFormElement that trigged the event.
Contains the type of the event see constants above
Class constructor. Simply initialize the instance variables to the variables passed
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
Returns the opaque user data associated with the event
Returns the ZFormElement which is the source of the event
Returns the type of the event. See constants in ZFormElementEvent
Documentation generated on Thu, 18 Jan 2007 10:01:35 -0800 by phpDocumentor 1.3.1