ILIAS  release_7 Revision v7.30-3-g800a261c036
ilObjectListGUIFactory Class Reference

Class ilObjectListGUIFactory. More...

+ Collaboration diagram for ilObjectListGUIFactory:

Static Public Member Functions

static _getListGUIByType ( $type, $context=ilObjectListGUI::CONTEXT_REPOSITORY)
 

Detailed Description

Member Function Documentation

◆ _getListGUIByType()

static ilObjectListGUIFactory::_getListGUIByType (   $type,
  $context = ilObjectListGUI::CONTEXT_REPOSITORY 
)
static

Definition at line 16 of file class.ilObjectListGUIFactory.php.

19 {
20 global $DIC;
21
22 $objDefinition = $DIC["objDefinition"];
23
24 $class = $objDefinition->getClassName($type);
25 $full_class = "ilObj" . $class . "ListGUI";
26 if (class_exists($full_class)) {
27 return new $full_class($context);
28 }
29
30 // php7-todo JL: throw exception instead?
31 return new ilObjectListGUI($context);
32 }
Class ilObjectListGUI.
global $DIC
Definition: goto.php:24
$type
$context
Definition: webdav.php:26

References $context, $DIC, and $type.

Referenced by ilLegacyKioskModeView\buildControls(), ilContainerGUI\getAsynchItemListObject(), ilContainerContentGUI\getItemGUI(), ilObjLearningSequenceContentTableGUI\getListGuiFor(), ilRoleAssignmentTableGUI\getTitleForReference(), ilCommonActionDispatcherGUI\initHeaderAction(), ilContainerGUI\setTitleAndDescription(), and ilObjectGUI\setTitleAndDescription().

+ Here is the caller graph for this function:

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