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'

Sub

Description

Purpose
Menus offer navigational options to the user. Sometimes, those options are organized in a hierarchical structure. The Submenu is an entry for Menus demarking a further level within this hierarchy.
Composition
A Submenu is a derivate of Menu and will be rendered alike. It holds further Submenus and/or Buttons. Also, Dividers may be used so separate entries from each other.
Effect
Clicking the Label of the Submenu will show the list of Entries of this Submenu.

Rules

Usage
  1. A Submenu MUST be used to generate a new level in the structure of a Menu.
  2. Submenus MUST contain further Submenus or Buttons.
  3. Submenus SHOULD contain more than one entry (Submenu or Button).
Wording
  1. Label and Symbol of the Submenu MUST reflect/subsume the meaning or purpose of contained entries.

Example 1: Sub

The sub-menu is actually not meant to be rendered standalone. However, it will generate a ul-tree with buttons for nodes. See Drilldown for a Example using Sub Menus

<?php
 
declare(strict_types=1);
 
namespace ILIAS\UI\examples\Menu\Sub;
 
function sub()
{
    $comment =
    '<p> The sub-menu is actually not meant to be rendered standalone. '
    . 'However, it will generate a ul-tree with buttons for nodes. See Drilldown for a Example using Sub Menus<p/>';
 
    return $comment;
}
 

Relations

Parents
  1. UIComponent
  2. Menu