ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ComplexItemRenderer.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
21 
25 
31 {
33  MakeSlateAsync::hash insteadof SlateSessionStateCode;
34  MakeSlateAsync::unhash insteadof SlateSessionStateCode;
35  }
36 
40  public function getComponentWithContent(isItem $item): Component
41  {
45  global $DIC;
46  $content = $this->ui_factory->legacy($DIC->ui()->renderer()->render($item->getContent()));
47 
48  return $this->ui_factory->mainControls()->slate()->legacy($item->getTitle(), $this->getStandardSymbol($item), $content);
49  }
50 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getComponentWithContent(isItem $item)
This is called in cases when the Full Item with it&#39;s content is needed, e.g.
global $DIC
Definition: shib_login.php:25