ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilMDSettingsModalService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
24 
26 {
28 
29  public function __construct(UIFactory $ui_factory)
30  {
31  $this->ui_factory = $ui_factory;
32  }
33 
34  public function modalWithForm(
35  string $modal_title,
36  string $post_url,
38  ): RoundTrip {
39  return $this->ui_factory->modal()->roundtrip(
40  $modal_title,
41  null,
42  $inputs,
43  $post_url
44  );
45  }
46 }
modalWithForm(string $modal_title, string $post_url, FormInput ... $inputs)
This describes inputs that can be used in forms.
Definition: FormInput.php:31