Definition at line 26 of file gs_content.php.
◆ run()
| GuzzleHttp\Client\ContentRenderer::run |
( |
| ) |
|
Definition at line 30 of file gs_content.php.
References $_GET, $DIC, Vendor\Package\$f, CLIENT_ID, ilContext\CONTEXT_WAC, ilContext\init(), and ilInitialisation\initILIAS().
36 $GS = $DIC->globalScreen();
38 $GS->collector()->mainmenu()->collectStructure();
39 $GS->collector()->mainmenu()->filterItemsByVisibilty(
true);
40 $GS->collector()->mainmenu()->prepareItemsForUIRepresentation();
42 $unhash = $this->unhash(
$_GET[
'item']);
43 $identification = $GS->identification()->fromSerializedIdentification($unhash);
44 $item = $GS->collector()->mainmenu()->getSingleItemFromFilter($identification);
46 if ($item instanceof Lost) {
47 $f = $DIC->ui()->factory();
48 $component =
$f->button()->bulky(
49 $f->symbol()->glyph()->login(),
50 $DIC->language()->txt(
'login'),
51 'login.php?client_id=' . rawurlencode(
CLIENT_ID) .
'&cmd=force_login&lang=' . $DIC->user()->getCurrentLanguage()
54 $component = $item->getTypeInformation()->getRenderer()->getComponentForItem($item,
true);
56 echo $DIC->ui()->renderer()->renderAsync($component);
static initILIAS()
ilias initialisation
static init(string $a_type)
Init context by type.
The documentation for this class was generated from the following file: