class Form extends Form implements SignalReceiver

Web form adapted for Presenter.

Properties

$onAnchor

Methods

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

Application form constructor.

void
validateParent(IContainer $parent)

No description

Presenter|null
getPresenter()

Returns the presenter where this component belongs to.

Presenter|null
getPresenterIfExists()

Returns the presenter where this component belongs to.

bool
hasPresenter() deprecated

No description

bool
isAnchored()

Tells if the form is anchored.

void
disableSameSiteProtection() deprecated

No description

array|null
receiveHttpData()

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

void
beforeRender()

No description

void
signalReceived(string $signal)

This method is called by presenter.

Details

at line 28
__construct(IContainer|null $parent = null, string|null $name = null)

Application form constructor.

Parameters

IContainer|null $parent
string|null $name

at line 35
protected void validateParent(IContainer $parent)

No description

Parameters

IContainer $parent

Return Value

void

at line 65
final Presenter|null getPresenter()

Returns the presenter where this component belongs to.

Return Value

Presenter|null

at line 79
final Presenter|null getPresenterIfExists()

Returns the presenter where this component belongs to.

Return Value

Presenter|null

at line 86
bool hasPresenter() deprecated

deprecated

No description

Return Value

bool

at line 95
bool isAnchored()

Tells if the form is anchored.

Return Value

bool

at line 102
void disableSameSiteProtection() deprecated

deprecated use allowCrossOrigin()

No description

Return Value

void

at line 111
protected array|null receiveHttpData()

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

Return Value

array|null

at line 129
protected void beforeRender()

No description

Return Value

void

at line 146
void signalReceived(string $signal)

This method is called by presenter.

Parameters

string $signal

Return Value

void