Class AppForm
Web form as presenter component.
- Object
-
Component implements IComponent
-
ComponentContainer implements IComponentContainer
-
FormContainer implements ArrayAccess
-
Form
-
AppForm implements ISignalReceiver
public
|
#
__construct(
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 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 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 ComponentContainer
addComponent(), removeComponent(), getComponent(), createComponent(), getComponents(), validateChildComponent(), __clone()
Methods Inherited From Component
__construct(), lookup(), lookupPath(), monitor(), unmonitor(), attached(), detached(), getName(), getParent(), setParent(), validateParent(), __clone(), __wakeup()
Methods Inherited From Object
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
Constants Inherited From Form
EQUAL, IS_IN, FILLED, VALID, PROTECTION, SUBMITTED, MIN_LENGTH, MAX_LENGTH, LENGTH, EMAIL, URL, REGEXP, INTEGER, NUMERIC, FLOAT, RANGE, MAX_FILE_SIZE, MIME_TYPE, IMAGE, GET, POST, TRACKER_ID, PROTECTOR_ID
Constants Inherited From Component
NAME_SEPARATOR
Properties Inherited From Form
$onSubmit, $onInvalidSubmit
Properties Inherited From FormContainer
$onValidate, $currentGroup, $valid