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

Static Public Member Functions

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

Detailed Description

Member Function Documentation

◆ _getListGUIByType()

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

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

References $context, and $DIC.

Referenced by ilLegacyKioskModeView\buildControls(), ilSessionObjectListGUIFactory\factory(), ILIAS\Containter\Content\ItemRenderer\getItemGUI(), ilContainerContentGUI\getItemGUI(), ilObjLearningSequenceContentTableGUI\getListGuiFor(), ilRoleAssignmentTableGUI\getTitleForReference(), ilCommonActionDispatcherGUI\initHeaderAction(), and ilObjectGUI\setTitleAndDescription().

29  : ilObjectListGUI {
30  global $DIC;
31 
32  $objDefinition = $DIC["objDefinition"];
33 
34  $class = $objDefinition->getClassName($type);
35  $full_class = "ilObj" . $class . "ListGUI";
36  if (class_exists($full_class)) {
37  return new $full_class($context);
38  }
39 
40  throw new ilObjectException("ilObjectListGUI for type $type not found.");
41  }
$context
Definition: webdav.php:31
Base exception class for object service.
global $DIC
Definition: shib_login.php:22
+ Here is the caller graph for this function:

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