ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
with_description.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
17 function with_description()
18 {
19  global $DIC;
20 
21  return $DIC->ui()->renderer()->render(
22  $DIC->ui()->factory()->item()->shy('Test shy Item')->withDescription('This is a test shy.')
23  );
24 }
global $DIC
Definition: shib_login.php:25
with_description()
description: > Example for rendering a shy item with a description.