Class Form
Creates, validates and renders HTML forms.
- Nette\Object
- Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
- Nette\ComponentModel\Container implements Nette\ComponentModel\IContainer
- Nette\Forms\Container implements ArrayAccess
- Nette\Forms\Form
Direct known subclasses
Nette\Application\UI\Form
public
|
|
protected
|
#
attached(
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself. |
public
|
|
public
|
|
public
mixed
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
mixed
|
|
public
|
|
protected
array|null
|
|
public
|
|
public
|
|
public
array
|
|
public
boolean
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
can
|
|
public
array
|
createComponent(),
getComponent(),
getComponents(),
removeComponent(),
validateChildComponent()
|
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
setParent()
|
string |
EQUAL
|
':equal' |
#
validator |
string |
IS_IN
|
|
#
validator |
string |
NOT_EQUAL
|
':notEqual' |
#
validator |
string |
FILLED
|
':filled' |
#
validator |
string |
BLANK
|
':blank' |
#
validator |
string |
REQUIRED
|
|
#
validator |
string |
VALID
|
':valid' |
#
validator |
string |
PROTECTION
|
|
|
string |
SUBMITTED
|
':submitted' |
|
string |
MIN_LENGTH
|
':minLength' |
|
string |
MAX_LENGTH
|
':maxLength' |
|
string |
LENGTH
|
':length' |
|
string |
EMAIL
|
':email' |
|
string |
URL
|
':url' |
|
string |
REGEXP
|
':regexp' |
|
string |
PATTERN
|
':pattern' |
|
string |
INTEGER
|
':integer' |
|
string |
NUMERIC
|
':integer' |
|
string |
FLOAT
|
':float' |
|
string |
RANGE
|
':range' |
|
string |
COUNT
|
|
|
string |
MAX_FILE_SIZE
|
':fileSize' |
|
string |
MIME_TYPE
|
':mimeType' |
|
string |
IMAGE
|
':image' |
|
string |
MAX_POST_SIZE
|
':maxPostSize' |
|
string |
GET
|
'get' |
#
method |
string |
POST
|
'post' |
#
method |
integer |
DATA_TEXT
|
1 |
#
submitted data types |
integer |
DATA_LINE
|
2 |
|
integer |
DATA_FILE
|
3 |
|
integer |
DATA_KEYS
|
8 |
|
string |
TRACKER_ID
|
'_form_' |
|
string |
PROTECTOR_ID
|
'_token_' |
NAME_SEPARATOR
|
public
array
|
$onSuccess |
|
#
of function (Form $sender); Occurs when the form is submitted and successfully validated |
public
array
|
$onError |
|
#
of function (Form $sender); Occurs when the form is submitted and is not valid |
public
array
|
$onSubmit |
|
#
of function (Form $sender); Occurs when the form is submitted |
public
|
$httpRequest |
|
#
used only by standalone form |
$currentGroup,
$onValidate
|
public
mixed
|
$action | |
public
string
|
$method | |
public
|
$translator | |
public
|
$renderer | |
public read-only
array
|
$groups | |
public read-only
boolean
|
$anchored | |
public read-only
|
$submitted | |
public read-only
boolean
|
$success | |
public read-only
array
|
$httpData | |
public read-only
array
|
$errors | |
public read-only
|
$elementPrototype |
$controls,
$currentGroup,
$defaults,
$form,
$valid,
$values
|
$components
|
$name,
$parent
|
$reflection
|