Documentation
Kitchen Sink documentation of style: 'Delos' of skin: 'ILIAS'
Descriptive
Description
- Purpose
- Descriptive Lists are used to display key-value doubles of textual-information.
- Composition
- Descriptive Lists are composed of a key acting as title describing the type of information being displayed underneath.
Rivals
- Property Listings
- In Property Listings, the (visual) focus is on values rather than labels; labels can also be omitted. All properties are displayed in one line.
Example 1: Base
- Title 1
- Description 1
- Title 2
- Description 2
- Title 3
- Description 3
<?php declare(strict_types=1); namespace ILIAS\UI\examples\Listing\Descriptive; function base() { //Init Factory and Renderer global $DIC; $f = $DIC->ui()->factory(); $renderer = $DIC->ui()->renderer(); //Generate List $descriptive = $f->listing()->descriptive( [ "Title 1" => "Description 1", "Title 2" => "Description 2", "Title 3" => "Description 3"] ); //Render return $renderer->render($descriptive); }
Relations
- Parents
- UIComponent
- Listing