Class AppForm (namespace Nette\Application)
Web form as presenter component.
Object | --Component | --ComponentContainer | --FormContainer | --Form | --AppForm
Implements interfaces:
Public Method Summary | |
---|---|
AppForm |
Application form constructor.
|
Presenter|NULL |
getPresenter
([bool $need =
TRUE ])
Returns the presenter where this component belongs to.
|
void |
processHttpRequest
([$foo =
NULL ])
Detects form submission and loads PresenterRequest values.
|
void |
signalReceived
(string $signal)
This method is called by presenter.
|
Protected Method Summary | |
---|---|
protected void |
attached
(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.
|
Methods Inherited From ComponentContainer |
---|
addComponent(), createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent(), __clone() |
Methods Inherited From Component |
---|
__construct(), attached(), detached(), getName(), getParent(), getService(), getServiceLocator(), lookup(), lookupPath(), monitor(), setParent(), setServiceLocator(), validateParent(), __clone(), __wakeup() |
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Constant Summary |
---|
Constants Inherited From Form |
---|
EMAIL, EQUAL, FILLED, FLOAT, INTEGER, IS_IN, LENGTH, MAX_FILE_SIZE, MAX_LENGTH, MIME_TYPE, MIN_LENGTH, NUMERIC, PROTECTOR_ID, RANGE, REGEXP, SCRIPT, SUBMITTED, TRACKER_ID, URL, VALID |
Variable Summary |
---|
Method Details | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 42 __constructpublic AppForm __construct ([$parent = Application form constructor.
|
|||||||||||||||
line 68 attachedprotected void attached (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.
|
|||||||||||||||
line 55 getPresenterpublic Presenter|NULL getPresenter ([bool $need = Returns the presenter where this component belongs to.
|
|||||||||||||||
line 85 processHttpRequestpublic void processHttpRequest ([$foo = Detects form submission and loads PresenterRequest values.
|
|||||||||||||||
line 116 signalReceivedpublic void signalReceived (string $signal) This method is called by presenter. Implementation of:
|