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'

Attachment

Description

Purpose
The Attachment Glyph indicates that a file is attached or can be attached to an object or entity.
Composition
The Attachment Glyph uses the glyphicon-paperclip.
Effect
Clicking executes an action which delivers these attachments to the actor OR initiates a process to add new attachments.
Context
  1. Indicate whether or not files have been attached to emails in the folder view of Mail.

Rules

Composition
  1. A Status Counter MAY indicate the overall amount of attachments.
Accessibility
  1. The aria-label MUST be 'Attachment'.

Example 1: Attachment

Active
Inactive
Highlighted
<?php
 
declare(strict_types=1);
 
namespace ILIAS\UI\examples\Symbol\Glyph\Attachment;
 
function attachment()
{
    global $DIC;
    $f = $DIC->ui()->factory();
    $renderer = $DIC->ui()->renderer();
 
    $glyph = $f->symbol()->glyph()->attachment("#");
 
    //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