class Form extends Form implements SignalReceiver

Web form adapted for Presenter.

Properties

$onAnchor

Methods

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

No description

void
validateParent(IContainer $parent)

No description

Presenter|null
getPresenter(bool $throw = true)

Returns the presenter where this component belongs to. Throws if not attached.

Presenter|null
getPresenterIfExists() deprecated

Returns the presenter where this component belongs to, or null if not attached.

bool
hasPresenter() deprecated

No description

bool
isAnchored()

Tells if the form is anchored.

void
disableSameSiteProtection()

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 22
__construct(IContainer|null $parent = null, string|null $name = null)

No description

Parameters

IContainer|null $parent
string|null $name

at line 29
protected void validateParent(IContainer $parent)

No description

Parameters

IContainer $parent

Return Value

void

at line 60
final Presenter|null getPresenter(bool $throw = true)

Returns the presenter where this component belongs to. Throws if not attached.

Parameters

bool $throw

Return Value

Presenter|null

at line 70
final Presenter|null getPresenterIfExists() deprecated

deprecated

Returns the presenter where this component belongs to, or null if not attached.

Return Value

Presenter|null

at line 77
bool hasPresenter() deprecated

deprecated

No description

Return Value

bool

at line 86
bool isAnchored()

Tells if the form is anchored.

Return Value

bool

at line 92
void disableSameSiteProtection()

No description

Return Value

void

at line 102
protected array|null receiveHttpData()

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

Return Value

array|null

at line 120
protected void beforeRender()

No description

Return Value

void

at line 137
void signalReceived(string $signal)

This method is called by presenter.

Parameters

string $signal

Return Value

void