Definition at line 10 of file gs_content.php.
 
◆ run()
      
        
          | ILIAS\GlobalScreen\Client\ContentRenderer::run  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 14 of file gs_content.php.
References $_GET, $DIC, Vendor\Package\$f, CLIENT_ID, ilContext\CONTEXT_WAC, ilContext\init(), and ilInitialisation\initILIAS().
   20         $GS = $DIC->globalScreen();
    22         $GS->collector()->mainmenu()->collectStructure();
    23         $GS->collector()->mainmenu()->filterItemsByVisibilty(
true);
    24         $GS->collector()->mainmenu()->prepareItemsForUIRepresentation();
    26         $unhash         = $this->unhash(
$_GET[
'item']);
    27         $identification = $GS->identification()->fromSerializedIdentification($unhash);
    28         $item           = $GS->collector()->mainmenu()->getSingleItemFromFilter($identification);
    30         if ($item instanceof Lost) {
    31             $f         = $DIC->ui()->factory();
    32             $component = 
$f->button()->bulky(
    33                 $f->symbol()->glyph()->login(),
    34                 $DIC->language()->txt(
'login'),
    35                 'login.php?client_id=' . rawurlencode(
CLIENT_ID) . 
'&cmd=force_login&lang=' . $DIC->user()->getCurrentLanguage()
    38             $component = $item->getTypeInformation()->getRenderer()->getComponentForItem($item, 
true);
    40         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: