Located in /Form/elements/ZFormWebElement.php (line 34)
ZFormElement | --ZFormWebElement
Class | Description |
---|---|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Inherited from ZFormElement
ZFormElement::$_attributes
ZFormElement::$_behaviors
ZFormElement::$_childNodes
ZFormElement::$_eatEvents
ZFormElement::$_errors
ZFormElement::$_eventListeners
ZFormElement::$_events
ZFormElement::$_idPath
ZFormElement::$_parentNode
ZFormElement::$_process
ZFormElement::$_validators
Adds a fragment of script (optionally) named to the element either at the top or bottom of the element. Named script blocks are maintained in an assoc array.
Generates the closing stanza for the HTML which consists of closing tag.
Nothing is generated if the element is wrapping existing markup.
Generates the attributes of the ZFormWebElement HTML opening stanza. Values are double quoted in the output stream.
Iterates over the script fragments associated with the elements and emits them into the current output stream.
Default implementation of retriving the memento associated with the element
that will be used during persistent (@see persist()) The default implementation does not persist anything, we implement it here so subclasses are not required to
Overridden implementation of getValue which returns the 'value' attribute of the ZFormWebElement
Retrieves the data associated with this element from the ZRequest object.
Generates the opening stanza of the HTML which consists of the opening tags and the attributes of the element. If the element does not contain children the tag is also closed. Nothing is generated if the tag is wrapping existing markup.
Renders the ZFormWebElement into its HTML into the current output
stream. Rendering the element consists of 1) Opening the tag 2) Rendering its body 3) Closing the tag 4) Emitting validators and behaviors associated with the element
Renders the body of the element's which by default consists of
rendering each of the element's children. Subclasses should implement this methods to perform and specific tasks and then send super for processing the children
The bookend implementation to @see getMemento(). This function is a void
implementation of the protocol to simplify the task of subclassing
Overridden implementation of setValue which sets the 'value' of the attribute for the ZFormWebElement
ZFormWebElements can be used to wraped existing HTML forms so that
validators and behaviors can be added to the page witout changing the original form definition. The setWrapExisting method tells the ZFormWebElement that to operate in this mode. NOTE: When wrapping existing forms, ZFormWebElements do not generate HTML markup
This method enables the behaviors associated with element to have a chance to modified the element before it is emitted.
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.
Generates the validators associated with the element.
ZFormWebElements maintain HTML attributes using the __get method.
Sets the value of the $nm HTML property on the ZFormWebElement.
Inherited From ZFormElement
ZFormElement::__construct()
ZFormElement::addBehavior()
ZFormElement::addEventListener()
ZFormElement::addValidator()
ZFormElement::appendChild()
ZFormElement::fireEvent()
ZFormElement::getAttribute()
ZFormElement::getAttributes()
ZFormElement::getBehaviors()
ZFormElement::getChildNodes()
ZFormElement::getElementById()
ZFormElement::getErrorMessage()
ZFormElement::getEventListeners()
ZFormElement::getID()
ZFormElement::getIDPath()
ZFormElement::getIsProcessing()
ZFormElement::getMemento()
ZFormElement::getParentNode()
ZFormElement::getRoot()
ZFormElement::getValidationErrors()
ZFormElement::getValidators()
ZFormElement::getValue()
ZFormElement::handleEvent()
ZFormElement::hasChildNodes()
ZFormElement::invokeApplication()
ZFormElement::loadRequestData()
ZFormElement::persist()
ZFormElement::process()
ZFormElement::removeChild()
ZFormElement::removedBehavior()
ZFormElement::removedValidator()
ZFormElement::removeEventListener()
ZFormElement::restoreState()
ZFormElement::setAllowEvents()
ZFormElement::setAttribute()
ZFormElement::setID()
ZFormElement::setMemento()
ZFormElement::setParentNode()
ZFormElement::setProcess()
ZFormElement::setValue()
ZFormElement::validate()
ZFormElement::_appendToList()
ZFormElement::_computeIDPath()
ZFormElement::_gatherMementos()
ZFormElement::_isLegalName()
ZFormElement::_performValidation()
ZFormElement::_processEvents()
ZFormElement::_removeFromList()
ZFormElement::_restoreMementos()
Documentation generated on Thu, 18 Jan 2007 10:01:47 -0800 by phpDocumentor 1.3.1