ILIAS  release_8 Revision v8.24
FormWithoutSubmitButton.php
Go to the documentation of this file.
1<?php
2
18declare(strict_types=1);
19
21
24use ILIAS\UI\Implementation\Component\JavaScriptBindable as JavaScriptBindableTrait;
29
34{
35 use JavaScriptBindableTrait;
36 use HasPostURL;
37
39
40 public function __construct(
41 SignalGeneratorInterface $signal_generator,
42 FieldFactory $input_factory,
44 string $post_url,
45 array $inputs
46 ) {
48 $this->submit_signal = $signal_generator->create();
49 $this->setPostURL($post_url);
50 }
51
52 public function getSubmitSignal(): Signal
53 {
55 }
56}
__construct(SignalGeneratorInterface $signal_generator, FieldFactory $input_factory, NameSource $name_source, string $post_url, array $inputs)
This implements commonalities between all forms.
Definition: Form.php:34
This is what a factory for input fields looks like.
Definition: Factory.php:29
Interface to be extended by components that have the possibility to bind to Javascript.
Describes a source for input names.
Definition: NameSource.php:27
create(string $class='')
Create a signal, each created signal MUST have a unique ID.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.