ILIAS  release_8 Revision v8.24
ilObjectListGUIFactory Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilObjectListGUIFactory:

Static Public Member Functions

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

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e

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

Member Function Documentation

◆ _getListGUIByType()

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

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

30 global $DIC;
31
32 $objDefinition = $DIC["objDefinition"];
33
34 $class = $objDefinition->getClassName($type);
35 $location = $objDefinition->getLocation($type);
36 $full_class = "ilObj" . $class . "ListGUI";
37 if (file_exists($location . "/class." . $full_class . ".php")) {
38 include_once($location . "/class." . $full_class . ".php");
39 return new $full_class($context);
40 }
41
42 throw new ilObjectException("ilObjectListGUI for type $type not found.");
43 }
$location
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: buildRTE.php:22
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28
$type
$context
Definition: webdav.php:29

References $context, and $location.

Referenced by ilLegacyKioskModeView\buildControls(), ilSessionObjectListGUIFactory\factory(), 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: