class Form extends Form implements ISignalReceiver

Web form adapted for Presenter.

Properties

callable[] $onAnchor

Methods

__construct(IContainer $parent = null, $name = null)

Application form constructor.

void
validateParent(IContainer $parent)

No description

Presenter|null
getPresenter($throw = true)

Returns the presenter where this component belongs to.

void
attached($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.

bool
isAnchored()

Tells if the form is anchored.

array|null
receiveHttpData()

Internal: returns submitted HTTP data or null when form was not submitted.

beforeRender()

No description

void
signalReceived($signal)

This method is called by presenter.

Details

at line 25
__construct(IContainer $parent = null, $name = null)

Application form constructor.

Parameters

IContainer $parent
$name

at line 37
protected void validateParent(IContainer $parent)

No description

Parameters

IContainer $parent

Return Value

void

at line 49
Presenter|null getPresenter($throw = true)

Returns the presenter where this component belongs to.

Parameters

$throw

Return Value

Presenter|null

at line 61
protected void attached($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.

Parameters

$presenter

Return Value

void

at line 90
bool isAnchored()

Tells if the form is anchored.

Return Value

bool

at line 100
protected array|null receiveHttpData()

Internal: returns submitted HTTP data or null when form was not submitted.

Return Value

array|null

at line 120
protected beforeRender()

No description

at line 139
void signalReceived($signal)

This method is called by presenter.

Parameters

$signal

Return Value

void