namespace Nette\Application
Class AppForm
Web form as presenter component.
- Nette\Object
-
Nette\Component
implements Nette\IComponent
-
Nette\ComponentContainer
implements Nette\IComponentContainer
-
Nette\Forms\FormContainer
implements ArrayAccess
-
Nette\Forms\Form
-
Nette\Application\AppForm implements ISignalReceiver
public
|
#
__construct(
Nette\IComponentContainer
$parent = NULL,
$name = NULL
)
Application form constructor. Application form constructor. |
public
Presenter|NULL
|
#
getPresenter(
bool
$need = true
)
Returns the presenter where this component belongs to. Returns the presenter where this component belongs to. Parameters$need bool throw exception if presenter doesn't exist? |
protected
void
|
#
attached(
IComponent
$presenter
)
This method will be called when the component (or component's parent) 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$presenter IComponent |
public
bool
|
#
isAnchored(
)
Tells if the form is anchored. Tells if the form is anchored. |
protected
array
|
#
receiveHttpData(
)
Internal: receives submitted HTTP data. Internal: receives submitted HTTP data. |
public
void
|
#
signalReceived(
string
$signal
)
This method is called by presenter. This method is called by presenter. Parameters$signal stringImplementation of |
Methods Inherited From Nette\Forms\Form
__construct(), attached(), getForm(), setAction(), getAction(), setMethod(), getMethod(), addProtection(), addGroup(), removeGroup(), getGroups(), getGroup(), setTranslator(), getTranslator(), isAnchored(), isSubmitted(), setSubmittedBy(), getHttpData(), fireEvents(), receiveHttpData(), getValues(), addError(), getErrors(), hasErrors(), cleanErrors(), getElementPrototype(), setRenderer(), getRenderer(), render(), __toString(), getHttpRequest(), getSession()
Methods Inherited From Nette\Forms\FormContainer
setDefaults(), setValues(), getValues(), isValid(), validate(), setCurrentGroup(), getCurrentGroup(), addComponent(), getControls(), getForm(), addText(), addPassword(), addTextArea(), addFile(), addHidden(), addCheckbox(), addRadioList(), addSelect(), addMultiSelect(), addSubmit(), addButton(), addImage(), addContainer(), offsetSet(), offsetGet(), offsetExists(), offsetUnset(), __clone()
Methods Inherited From Nette\ComponentContainer
addComponent(), removeComponent(), getComponent(), createComponent(), getComponents(), validateChildComponent(), __clone()
Methods Inherited From Nette\Component
__construct(), lookup(), lookupPath(), monitor(), unmonitor(), attached(), detached(), getName(), getParent(), validateParent(), __clone(), __wakeup()
Methods Inherited From Nette\Object
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
Constants Inherited From Nette\Forms\Form
EQUAL, IS_IN, FILLED, VALID, PROTECTION, SUBMITTED, MIN_LENGTH, MAX_LENGTH, LENGTH, EMAIL, URL, REGEXP, PATTERN, INTEGER, NUMERIC, FLOAT, RANGE, MAX_FILE_SIZE, MIME_TYPE, IMAGE, GET, POST, TRACKER_ID, PROTECTOR_IDConstants Inherited From Nette\Component
NAME_SEPARATORProperties Inherited From Nette\Forms\Form
$onSubmit, $onInvalidSubmitProperties Inherited From Nette\Forms\FormContainer
$onValidate, $currentGroup, $valid