ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
semantic_groups.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
22 function semantic_groups()
23 {
24  global $DIC;
25  $f = $DIC->ui()->factory();
26  $renderer = $DIC->ui()->renderer();
27 
28  $entity = $f->entity()->standard('Primary Identifier', 'Secondary Identifier')
29  ->withBlockingAvailabilityConditions($f->legacy('Blocking Conditions'))
30  ->withFeaturedProperties($f->legacy('Featured_properties'))
31  ->withPersonalStatus($f->legacy('Personal Status'))
32  ->withMainDetails($f->legacy('Main Details'))
33  ->withAvailability($f->legacy('Availability'))
34  ->withDetails($f->legacy('Details'))
35  ->withReactions($f->button()->tag('reaction', '#'))
36  ->withPrioritizedReactions($f->symbol()->glyph()->like())
37  ->withActions($f->button()->shy('action', '#'))
38  ;
39 
40  return $renderer->render($entity);
41 }
$renderer
semantic_groups()
expected output: > This example shows/identifies the semantic groups of entites; from top to bottom...
global $DIC
Definition: shib_login.php:25