Form
class Form extends Form implements SignalReceiver
Web form adapted for Presenter.
Properties
$onAnchor |
Methods
Application form constructor.
Is called by a component when it is about to be set new parent. Descendant can override this method to disallow a parent change by throwing an Nette\InvalidStateException
Returns the presenter where this component belongs to.
Returns the presenter where this component belongs to.
No description
Tells if the form is anchored.
Internal: returns submitted HTTP data or null when form was not submitted.
No description
This method is called by presenter.
Details
at line 27
__construct(IContainer|null $parent = null, string|null $name = null)
Application form constructor.
at line 36
protected void
validateParent(IContainer $parent)
Is called by a component when it is about to be set new parent. Descendant can override this method to disallow a parent change by throwing an Nette\InvalidStateException
at line 66
final Presenter
getPresenter()
Returns the presenter where this component belongs to.
at line 75
final Presenter|null
getPresenterIfExists()
Returns the presenter where this component belongs to.
at line 81
bool
hasPresenter()
No description
at line 90
bool
isAnchored()
Tells if the form is anchored.
at line 97
void
disableSameSiteProtection()
deprecated
deprecated
No description
at line 106
protected array|null
receiveHttpData()
Internal: returns submitted HTTP data or null when form was not submitted.
at line 124
protected
beforeRender()
No description
at line 141
void
signalReceived(string $signal)
This method is called by presenter.