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'

Failure

Description

Purpose
The system failed to complete some actions and displays information about the failure.
Composition
The alert-danger style is used for the message.

Rules

Usage
  1. The Failure Message Boxes MUST be used, if a user interaction has failed.
  2. The message SHOULD inform the user why the interaction has failed.
  3. The message SHOULD inform the user how to the problem can be fixed.

Example 1: Failure

<?php
 
declare(strict_types=1);
 
namespace ILIAS\UI\examples\MessageBox\Failure;
 
function failure()
{
    global $DIC;
    $f = $DIC->ui()->factory();
    $renderer = $DIC->ui()->renderer();
 
    return $renderer->render($f->messageBox()->failure("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."));
}
 

Relations

Parents
  1. UIComponent
  2. Message Box