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'

Info

Description

Purpose
The system informs the user about obstacles standing in the way of completing a workflow or about side effects of his or her actions on other users.
Composition
The alert-info style is used for the message.

Rules

Usage
  1. The Info Message Boxes MAY be used to describe a state or condition of the system that help the user to understand the interactions provided on or missing from a screen.
  2. The Info Message Boxes MUST NOT be used at the end of a user interaction. Instead Success or Failure Message Boxes SHOULD be used.

Example 1: Info

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
<?php
 
declare(strict_types=1);
 
namespace ILIAS\UI\examples\MessageBox\Info;
 
function info()
{
    global $DIC;
    $f = $DIC->ui()->factory();
    $renderer = $DIC->ui()->renderer();
 
    $buttons = [$f->button()->standard("Action", "#"), $f->button()->standard("Cancel", "#")];
 
    $links = [
        $f->link()->standard("Open Exercise Assignment", "#"),
        $f->link()->standard("Open other screen", "#")
    ];
 
    return $renderer->render($f->messageBox()->info("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.")
        ->withButtons($buttons)
        ->withLinks($links));
}
 

Relations

Parents
  1. UIComponent
  2. Message Box