class Form extends AbstractPlugin

Formularplugin

<plugin class="\Alvine\Application\Web\Presenter\Page\Plugin\UI\Form">
    <form method="post" accept-charset="utf-8" route="MY-ROUTE-ID" enctype="application/x-www-form-urlencoded">
        <inputgroup name="name" label="Name" value="Mustermann" />
        <inputgroup name="surname" label="Vorname" value="Hans" />
        <inputgroup name="job" label="Beruf" value="" />
        <buttongroup type="submit" name="submit">absenden</buttongroup>
    </form>
</plugin>

Properties

protected string $content from AbstractPlugin

Methods

__construct(string $content)

Neues Plugin

string
__toString()

Inhalt des Plugins

static mixed
getReplacedPlaceholderValue(mixed $value, ParameterMap $parameter)

Werte ersetzen

static Plugin
getInstance(Presenter $presenter, Node $node, ParameterMap $parameter)

Neue Instanz

Details

in AbstractPlugin at line 47
__construct(string $content)

Neues Plugin

Parameters

string $content

in AbstractPlugin at line 56
string __toString()

Inhalt des Plugins

Return Value

string Inhalt des Plugins

in AbstractPlugin at line 68
static mixed getReplacedPlaceholderValue(mixed $value, ParameterMap $parameter)

Werte ersetzen

Parameters

mixed $value
ParameterMap $parameter

Return Value

mixed

at line 56
static Plugin getInstance(Presenter $presenter, Node $node, ParameterMap $parameter)

Neue Instanz

Parameters

Presenter $presenter
Node $node
ParameterMap $parameter

Return Value

Plugin

Exceptions

RouteException
PluginNotFoundException