: Class FormContainer


: Class FormContainer
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Class FormContainer
HtmlTag
|
+--HtmlTagContainer
|
+--FormContainer
Direct Known Subclasses: Form, FormContainerControl
public class FormContainerextends HtmlTagContainer
Location: html/form/FormContainer.class
FormContainer.
Copyright © 2001 eXtremePHP. All rights reserved.
Constructor Summary
FormContainer()
Instantiates a new FormContainer.

Method Summary
void
add(var $control)
Adds a form control to the form list.
void
addControl(var $control)
Adds a form control to the form list.
int
getControlCount()
Returns the number of FormControls.
string
getErrorMessages()
Get the error message generated by the validate() method.
bool
isFormControl()
Returns true if this tag is a form control and false otherwise
boolean
isValid()
Returns true if the form is valid and false otherwise.
void
validate()
Validates all the controls on the form.

Methods inherited from class HtmlTagContainer
createIterator, createReverseIterator, displayContainedTags, get, getContainedTagsHtml, getLast, getTagCount, isContainer, set, setLast, size, toHtml

Methods inherited from class HtmlTag
addParameter, constructParameterHtml, display, displayFooter, displayHeader, getFooterHtml, getHeaderHtml, getName, getParameter, getTagFooter, getTagHeader, setName, setParameter, setParameters

Constructor Detail
FormContainer
public FormContainer()
Instantiates a new FormContainer.
Method Detail
add
public void add(var $control)
Adds a form control to the form list.
Overrides:add in class HtmlTagContainer
Parameters:$control - FormControl.
addControl
public void addControl(var $control)
Adds a form control to the form list.
Parameters:$control - FormControl.
validate
public void validate()
Validates all the controls on the form.
isValid
public boolean isValid()
Returns true if the form is valid and false otherwise.
getErrorMessages
public string getErrorMessages()
Get the error message generated by the validate() method. Should only
be called when validate() returns false.
getControlCount
public int getControlCount()
Returns the number of FormControls.
isFormControl
public bool isFormControl()
Returns true if this tag is a form control and false otherwise
Overrides:isFormControl in class HtmlTag
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
содержание | 2 | Такси в Тюмени
Используются технологии uCoz