ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
GuzzleHttp\Client\ContentRenderer Class Reference
+ Collaboration diagram for GuzzleHttp\Client\ContentRenderer:

Public Member Functions

 run ()
 

Detailed Description

Definition at line 27 of file gs_content.php.

Member Function Documentation

◆ 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().

31  : void
32  {
33  global $DIC;
34 
35  $GS = $DIC->globalScreen();
36 
37  $GS->collector()->mainmenu()->collectStructure();
38  $GS->collector()->mainmenu()->filterItemsByVisibilty(true);
39  $GS->collector()->mainmenu()->prepareItemsForUIRepresentation();
40 
41  $unhash = $this->unhash($_GET['item']);
42  $identification = $GS->identification()->fromSerializedIdentification($unhash);
43  $item = $GS->collector()->mainmenu()->getSingleItemFromFilter($identification);
44 
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()
51  );
52  } else {
53  $component = $item->getTypeInformation()->getRenderer()->getComponentForItem($item, true);
54  }
55  echo $DIC->ui()->renderer()->renderAsync($component);
56  }
$_GET["client_id"]
Definition: webdav.php:30
const CLIENT_ID
Definition: constants.php:41
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: