Class NAppForm
Web form as presenter component.
-
NObject
-
NComponent
implements
IComponent
-
NComponentContainer
implements
IComponentContainer
-
NFormContainer
implements
ArrayAccess,
INamingContainer
-
NForm
-
NAppForm
implements
ISignalReceiver
Methods summary
public
|
|
public
NPresenter |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( 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
|
public
boolean
|
#
isAnchored( )
Tells if the form is anchored.
Tells if the form is anchored.
Returns
boolean
|
protected
array
|
#
receiveHttpData( )
Internal: receives submitted HTTP data.
Internal: receives submitted HTTP data.
Returns
array
|
public
|
#
signalReceived( string $signal )
This method is called by presenter.
This method is called by presenter.
Parameters
Implementation of
|
Methods inherited from NForm
__toString(),
addError(),
addGroup(),
addProtection(),
cleanErrors(),
fireEvents(),
getAction(),
getElementPrototype(),
getEncoding(),
getErrors(),
getForm(),
getGroup(),
getGroups(),
getHttpData(),
getHttpRequest(),
getMethod(),
getRenderer(),
getSession(),
getTranslator(),
getValues(),
hasErrors(),
isSubmitted(),
removeGroup(),
render(),
setAction(),
setEncoding(),
setMethod(),
setRenderer(),
setSubmittedBy(),
setTranslator()
|
Methods inherited from NFormContainer
__clone(),
addButton(),
addCheckbox(),
addComponent(),
addContainer(),
addFile(),
addHidden(),
addImage(),
addMultiSelect(),
addPassword(),
addRadioList(),
addSelect(),
addSubmit(),
addText(),
addTextArea(),
getControls(),
isValid(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
setCurrentGroup(),
setDefaults(),
setValues(),
validate()
|
Constants inherited from NForm
EMAIL,
EQUAL,
FILLED,
FLOAT,
GET,
INTEGER,
IS_IN,
LENGTH,
MAX_FILE_SIZE,
MAX_LENGTH,
MIME_TYPE,
MIN_LENGTH,
NUMERIC,
POST,
PROTECTOR_ID,
RANGE,
REGEXP,
SCRIPT,
SUBMITTED,
TRACKER_ID,
URL,
VALID
|