Class Form
Web form adapted for Presenter.
-
Nette\Object
-
Nette\ComponentModel\Component
implements
Nette\ComponentModel\IComponent
-
Nette\ComponentModel\Container
implements
Nette\ComponentModel\IContainer
-
Nette\Forms\Container
implements
ArrayAccess
-
Nette\Forms\Form
-
Nette\Application\UI\Form
implements
Nette\Application\UI\ISignalReceiver
Methods summary
public
|
|
public
Nette\Application\UI\Presenter |null
|
#
getPresenter( boolean $need = TRUE )
Returns the presenter where this component belongs to.
Returns the presenter where this component belongs to.
Parameters
- $need
boolean throw exception if presenter doesn't exist?
Returns
|
protected
|
#
attached( Nette\ComponentModel\IComponent $presenter )
This method will be called when the component (or component's parent) becomes
attached to a monitored object. Do not call this method yourself.
This method will be called when the component (or component's parent) becomes
attached to a monitored object. Do not call this method yourself.
Parameters
Overrides
|
public
boolean
|
#
isAnchored( )
Tells if the form is anchored.
Tells if the form is anchored.
Returns
boolean
Overrides
|
protected
array|null
|
#
receiveHttpData( )
Internal: returns submitted HTTP data or NULL when form was not
submitted.
Internal: returns submitted HTTP data or NULL when form was not
submitted.
Returns
array|null
Overrides
|
public
|
#
signalReceived( string $signal )
This method is called by presenter.
This method is called by presenter.
Parameters
Implementation of
|
Methods inherited from Nette\Forms\Form
__toString(),
addError(),
addGroup(),
addProtection(),
cleanErrors(),
fireEvents(),
getAction(),
getAllErrors(),
getElementPrototype(),
getErrors(),
getForm(),
getGroup(),
getGroups(),
getHttpData(),
getMethod(),
getOwnErrors(),
getRenderer(),
getToggles(),
getTranslator(),
hasErrors(),
isSubmitted(),
isSuccess(),
removeGroup(),
render(),
setAction(),
setMethod(),
setRenderer(),
setSubmittedBy(),
setTranslator(),
validate()
|
Methods inherited from Nette\Forms\Container
__clone(),
addButton(),
addCheckbox(),
addCheckboxList(),
addComponent(),
addContainer(),
addHidden(),
addImage(),
addMultiSelect(),
addPassword(),
addRadioList(),
addSelect(),
addSubmit(),
addText(),
addTextArea(),
addUpload(),
getControls(),
getCurrentGroup(),
getValues(),
isValid(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
setCurrentGroup(),
setDefaults(),
setValues()
|
Constants inherited from Nette\Forms\Form
BLANK,
COUNT,
DATA_FILE,
DATA_KEYS,
DATA_LINE,
DATA_TEXT,
EMAIL,
EQUAL,
FILLED,
FLOAT,
GET,
IMAGE,
INTEGER,
IS_IN,
LENGTH,
MAX_FILE_SIZE,
MAX_LENGTH,
MAX_POST_SIZE,
MIME_TYPE,
MIN_LENGTH,
NOT_EQUAL,
NUMERIC,
PATTERN,
POST,
PROTECTION,
PROTECTOR_ID,
RANGE,
REGEXP,
REQUIRED,
SUBMITTED,
TRACKER_ID,
URL,
VALID
|
Magic properties inherited from Nette\Forms\Form
$action,
$anchored,
$elementPrototype,
$errors,
$groups,
$httpData,
$method,
$renderer,
$submitted,
$success,
$translator
|