Definition at line 27 of file gs_content.php.
◆ run()
GuzzleHttp\Client\ContentRenderer::run |
( |
| ) |
|
Definition at line 31 of file gs_content.php.
References $_GET, $DIC, Vendor\Package\$f, CLIENT_ID, ilContext\CONTEXT_WAC, entry_point(), and ilContext\init().
35 $GS = $DIC->globalScreen();
37 $GS->collector()->mainmenu()->collectStructure();
38 $GS->collector()->mainmenu()->filterItemsByVisibilty(
true);
39 $GS->collector()->mainmenu()->prepareItemsForUIRepresentation();
41 $unhash = $this->unhash(
$_GET[
'item']);
42 $identification = $GS->identification()->fromSerializedIdentification($unhash);
43 $item = $GS->collector()->mainmenu()->getSingleItemFromFilter($identification);
45 if ($item instanceof Lost) {
46 $f = $DIC->ui()->factory();
47 $component =
$f->button()->bulky(
48 $f->symbol()->glyph()->login(),
49 $DIC->language()->txt(
'login'),
50 'login.php?client_id=' . rawurlencode(
CLIENT_ID) .
'&cmd=force_login&lang=' . $DIC->user()->getCurrentLanguage()
53 $component = $item->getTypeInformation()->getRenderer()->getComponentForItem($item,
true);
55 echo $DIC->ui()->renderer()->renderAsync($component);
The documentation for this class was generated from the following file: