19declare(strict_types=1);
39 public const string TABLE =
'table';
40 public const string PANEL =
'panel';
41 public const string ROOT =
'root';
42 public const string FORM =
'form';
45 protected EditorDictionaryInterface $editor_dictionary,
65 yield
from $this->form_content->content(
73 yield
from $this->table_content->content(
81 yield
from $this->panel_content->content(
90 yield
from $this->root_content->content(
98 throw new \ilMDEditorException(
99 'Invalid content type.'
107 if ($elements[0]->isRoot()) {
110 $tag = $this->editor_dictionary->tagForElement($elements[0]);
111 if (!$tag?->isLastInTree()) {
114 if ($tag?->isCollected()) {
125 $res = $this->navigator_factory->navigator(
128 )->elementsAtFinalStep();
129 return iterator_to_array(
$res);
This describes a Standard Dropdown.
This describes how a panel could be modified during construction of UI.
if(!file_exists('../ilias.ini.php'))