UPDATE-RATE

Die Test-Installation wird aktuell zwischen 8:00 und 18:00 Uhr stündlich zur vollen Stunde aktualisiert.

Alles neu macht der Mai

ILIAS 9 ist da! Alle Infos zu den Highlights der neuen Version gibt es hier!

Documentation

Kitchen Sink documentation of style: 'Delos' of skin: 'ILIAS'

Legacy

Description

Purpose
The Legacy Slate is used to wrap content into a slate when there is no other possibility (yet). In general, this should not be used and may vanish with the progress of specific slates.
Composition
The Legacy Slate will take a Legacy-Component and render it.

Rules

Usage
  1. This component MUST NOT be used to display elements that can be generated using other UI Components.

Example 1: Legacy

some html.
<?php
 
declare(strict_types=1);
 
namespace ILIAS\UI\examples\MainControls\Slate\Legacy;
 
function legacy()
{
    global $DIC;
    $f = $DIC->ui()->factory();
    $renderer = $DIC->ui()->renderer();
 
    $icon = $f->symbol()->glyph()->comment();
    $contents = $f->legacy("some <i>html</i>.");
 
    $slate = $f->maincontrols()->slate()->legacy('legacy_example', $icon, $contents);
 
    $triggerer = $f->button()->bulky(
        $slate->getSymbol(),
        $slate->getName(),
        '#'
    )
    ->withOnClick($slate->getToggleSignal());
 
    return $renderer->render([
        $triggerer,
        $slate
    ]);
}
 

Relations

Parents
  1. UIComponent
  2. Main Controls
  3. Slate