Class NAppForm
Web form as presenter component.
NObject | --NComponent | --NComponentContainer | --NFormContainer | --NForm | --NAppForm
Implements interfaces:
Public Method Summary | |
---|---|
NAppForm |
NApplication form constructor.
|
NPresenter|NULL |
getPresenter
([bool $need =
TRUE ])
Returns the presenter where this component belongs to.
|
bool |
isAnchored
()
Tells if the form is anchored.
|
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.
|
protected array |
Internal: receives submitted HTTP data.
|
Methods Inherited From NComponentContainer |
---|
addComponent(), createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent(), __clone() |
Methods Inherited From NComponent |
---|
__construct(), attached(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent(), __clone(), __wakeup() |
Methods Inherited From NObject |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Constant Summary |
---|
Constants Inherited From NForm |
---|
EMAIL, EQUAL, FILLED, FLOAT, GET, INTEGER, IS_IN, LENGTH, MAX_FILE_SIZE, MAX_LENGTH, MIME_TYPE, MIN_LENGTH, NUMERIC, POST, RANGE, REGEXP, SCRIPT, SUBMITTED, URL, VALID |
Variable Summary |
---|
Method Details | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 43 __constructpublic NAppForm __construct ([$parent = NApplication form constructor.
|
|||||||||||||||
line 72 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 59 getPresenterpublic NPresenter|NULL getPresenter ([bool $need = Returns the presenter where this component belongs to.
|
|||||||||||||||
line 97 isAnchoredpublic bool isAnchored () Tells if the form is anchored.
|
|||||||||||||||
line 108 receiveHttpDataprotected array receiveHttpData () Internal: receives submitted HTTP data.
|
|||||||||||||||
line 139 signalReceivedpublic void signalReceived (string $signal) This method is called by presenter. Implementation of:
|