-
$_attributes
-
Associative array containing the attributes associated with the element
-
$_behaviors
-
Contains the list of client side behaviors registered on
-
$_callbacks
-
-
$_childNodes
-
Contains the list of children associated with the element
-
$_clientRegExp
-
-
$_data
-
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.
-
$_eatEvents
-
Boolean property specifing weather to allow events to fire or not.
-
$_element
-
-
$_errorMessage
-
-
$_errors
-
-
$_eventHook
-
-
$_eventListeners
-
Contains the list of client event hooks registered on
-
$_events
-
Contains the list of the server side events to be fired
-
$_htmlid
-
-
$_idPath
-
The full path name of the element. Elements must be uniquely identified within the context of their parent. The _idPath is construct by combining the parent references and the ID of the element into a path separated by PATH_SEPARATOR.
-
$_isAsync
-
-
$_method
-
-
$_name
-
-
$_options
-
-
$_parentNode
-
Contains a reference to the parent of the element
-
$_position
-
-
$_prefix
-
-
$_process
-
Boolean property used to signify if processing of the element should continue
-
$_runat
-
-
$_scriptEventName
-
-
$_serverRegExp
-
-
$_source
-
The $_source variable contains the ZFormElement that trigged the event.
-
$_subject
-
-
$_type
-
Contains the type of the event see constants above
-
$_url
-
-
$_validator
-
-
$_validators
-
Contains the list of client/server side validators registered on
-
_appendToList
-
Helper array management routines to add/remove and item if it doesn't already exist to an array
-
_computeIDPath
-
Generates the unique ID path for the element which consists of its ancestor IDs concatenated with the element's ID.
-
_gatherMementos
-
Support methods for gathering and redistributing mementos to th children of the element (@see persist(), @see restoreState())
-
_isLegalName
-
Determines if a given $id is unique within the element children names.
-
_performValidation
-
Iterates over the validators associated with the elements and inokes the validator on the element. Errors are collected in the $errors array
-
_processEvents
-
Process the list (array) of queued events ready for delivery (@see process(), @see fireEvent()).
-
_removeFromList
-
Helper array management that removes a given element for a list
-
_restoreMementos
-
Support methods for gathering and redistributing mementos to th children of the element (@see persist(), @see restoreState())
-
__call
-
-
__construct
-
-
__construct
-
Class constructor. Initializes internal instance variables. $id is
-
__construct
-
-
__construct
-
-
__construct
-
Class constructor. Initialize $_element to as the target of behavior.
-
__construct
-
Class constructor. Simply initialize the instance variables to the variables passed
-
__construct
-
Class constructor. Simply initialize the instance variables to the variables passed
-
__get
-
-
__set
-
-
$_bottomBlocks
-
-
$_checked
-
-
$_checked
-
-
$_tagName
-
-
$_text
-
-
$_text
-
-
$_topBlocks
-
-
$_wrapExisting
-
-
$_x
-
-
$_y
-
-
_applyClientBehaviors
-
This method enables the behaviors associated with element to have a chance to modified the element before it is emitted.
-
_emitClientBehaviors
-
Generates the behaviors associated with the element. Validators are guaranteed to run with the JavaScript variable 'element' bound to the HTML presentation of the form element.
-
_emitClientValidators
-
Generates the validators associated with the element.
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'SELECT' element.
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'SUBMIT' element.
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'RESET' element.
-
__construct
-
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'PASSWORD' element.
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'FILE' element
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'TEXT' element
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'CHECKBOX' element
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'FORM' element
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'RADIO' element.
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'HIDDEN' element
-
__construct
-
Class constructor. Sets up the ZForm element, types it a a 'FORM' element
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'IMAGE' element
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'OPTION' element.
-
__construct
-
Class constructor.
-
__construct
-
Class constructor. Sets up the ZForm element, types it as a 'INPUT' element.
-
__get
-
ZFormWebElements maintain HTML attributes using the __get method.
-
__set
-
Sets the value of the $nm HTML property on the ZFormWebElement.
-
getAttribute
-
Returns the value of the $name attribute associated with the element
-
getAttributes
-
Return the associative array of attribute maintained by the element.
-
getBehaviors
-
Returns the list (array) of behaviors associated with the element
-
getCallbacks
-
Returns the value of the callbacks instance variable
-
getChildNodes
-
Return the list (array) of children contained by the element
-
getData
-
Returns the opaque user data associated with the event
-
getElement
-
-
getElementById
-
Returns the childs whose ID is $id. If the $recursive = true, continue search depth first for the child
-
getErrorMessage
-
Returns the error message originated by the $child
-
getErrorMessage
-
-
getEventListeners
-
Simple getter for the event listeners associated with the web element
-
getHTMLTarget
-
Returns the value of the htmlid instance variable
-
getID
-
Return simple ID of the element
-
getIDPath
-
Compute, if necessary, and return the fully qualified path of the element within the containment structured defined via the parentnode
-
getIsProcessing
-
Returns the status of the processing flag
-
getMemento
-
Default implementation of retriving the memento associated with the element
-
getName
-
-
getParentNode
-
Return the parent node reference maintained by the element
-
getPosition
-
Returns the value of the position instance variable
-
getRoot
-
Searchs the parent chain defined by the _parentNode reference until the top of the tree is reached. If the element has no parents then the element is the 'root'
-
getRunat
-
-
getSource
-
Returns the ZFormElement which is the source of the event
-
getType
-
Returns the type of the event. See constants in ZFormElementEvent
-
getURL
-
Returns the URL of the AJAX behavior
-
getValidationErrors
-
Returns the array of validation errors associated with the element.
-
getValidators
-
Returns the list of validators associated with the element
-
getValue
-
Abstract method used to retrive the value associated with the
-
getChecked
-
Returns the true if the CheckBox is checked
-
getMemento
-
Default implementation of retriving the memento associated with the element
-
getMemento
-
Default implementation of retriving the memento associated with the element
-
getMemento
-
Returns the memento used to persist the state of the link, which is simply the text.
-
getMemento
-
Retrieve the memento which will be stored with the session data representing the state of the input field. The default implemention is to simply ask the input element for its value
-
getMemento
-
Create a memento which saves the state of the Checkbox for storage in the session.
-
getMemento
-
Create a memento which saves the state of the FormImage for storage in the session.
-
getText
-
Returns the text which will be displayed in the selection box.
-
getText
-
Property getter for the link text field
-
getValue
-
Overridden implementation of getValue which returns the 'value' attribute of the ZFormWebElement
-
setAllowEvents
-
Turns of processing events, that is events delivered to the fireEvent method (@see fireEvent()) are not process, they are ignored
-
setAsync
-
Set the value of the async instance variable
-
setAttribute
-
Set the value of the $name attribute within the element
-
setCallbacks
-
Set the value of the callback instance variable
-
setHTMLTarget
-
Sets the value of the htmlid target instance variable
-
setID
-
Sets the ID of the element. The ID is checked for validitiy within
-
setMemento
-
The bookend implementation to @see getMemento(). This function is a void
-
setName
-
-
setParentNode
-
Changes the parent node associated with the element to the new $parent specified in the parameter.
-
setPosition
-
Sets the value of the position target instance variable
-
setProcess
-
Sets the processing flag, at any point during the process loop an element can terminate futher process by setting this flag to false
-
setURL
-
Sets the URL of the AJAX behavior
-
setValue
-
Implementation of the setValue which ONLY generates a ONVALUECHANGE event if the new $value is different from the current value. This means the subclasses MUST call this implementation and store the value.
-
setChecked
-
Sets the value of the HTML checked attribute
-
setMemento
-
Retores the state of the link from its memento
-
setMemento
-
Restores the state of the input element from its memento which was returned by getMemento above. The default implementation is to set the value of the input element to the memento.
-
setMemento
-
Restores the state of the ZFormImage from its memento which was returned by getMemento.
-
setMemento
-
Restores the state of the checkbox from its memento which was returned by getMemento.
-
setMemento
-
The bookend implementation to @see getMemento(). This function is a void
-
setMemento
-
The bookend implementation to @see getMemento(). This function is a void
-
setText
-
Property setter for the link text field
-
setText
-
Sets the text property of the option. The text is what is displayed in the select list
-
setValue
-
Overridden implementation of setValue which sets the 'value' of the attribute for the ZFormWebElement
-
setValue
-
Overrides setValue in the parent to also set the checked status of the ZCheckBox.
-
setValue
-
Overridden implementation of setValue which sets the 'value' of the attribute for the ZFormWebElement
-
setWrapExisting
-
ZFormWebElements can be used to wraped existing HTML forms so that