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'

Logout

Description

Purpose
The Logout Glyph is used to trigger the logout interaction. It is displayed in the Slate triggered by clicking on the User Avatar in the Meta Bar.
Composition
The Logout Glyph uses the logout glyph from the il-icons font.
Effect
Clicking this Glyph will trigger the interaction to logout.
Context
  1. The Logout Glyph appears in the Slate triggered by clicking on the User Avatar in the Meta Bar.

Rivals

Login Glyph
The Login Glyph triggers the login interaction.

Rules

Usage
  1. The Logout Glyph MUST be displayed if the user is logged in.
Accessibility
  1. The aria-label MUST be 'Logout'.

Example 1: Logout

Active
Inactive
Highlighted
<?php
 
declare(strict_types=1);
 
namespace ILIAS\UI\examples\Symbol\Glyph\Logout;
 
function logout()
{
    global $DIC;
    $f = $DIC->ui()->factory();
    $renderer = $DIC->ui()->renderer();
 
    $glyph = $f->symbol()->glyph()->logout("#");
 
    //Showcase the various states of this Glyph
    $list = $f->listing()->descriptive([
        "Active" => $glyph,
        "Inactive" => $glyph->withUnavailableAction(),
        "Highlighted" => $glyph->withHighlight()
    ]);
 
    return $renderer->render($list);
}
 

Relations

Parents
  1. UIComponent
  2. Symbol
  3. Glyph