ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSearchObjectListFactory Class Reference
+ Collaboration diagram for ilSearchObjectListFactory:

Public Member Functions

_getInstance ($a_type)
 

Detailed Description

Definition at line 37 of file class.ilSearchObjectListFactory.php.

Member Function Documentation

◆ _getInstance()

& ilSearchObjectListFactory::_getInstance (   $a_type)

Definition at line 46 of file class.ilSearchObjectListFactory.php.

References $a_type, $DIC, and $location.

47  {
48  global $DIC;
49 
50  $objDefinition = $DIC['objDefinition'];
51 
52  $class = $objDefinition->getClassName($a_type);
53  $location = $objDefinition->getLocation($a_type);
54 
55  $full_class = "ilObj" . $class . "ListGUI";
56 
57  include_once($location . "/class." . $full_class . ".php");
58  $item_list_gui = new $full_class();
59 
60  $item_list_gui->enableDelete(false);
61  $item_list_gui->enablePath(true);
62  $item_list_gui->enableCut(false);
63  $item_list_gui->enableSubscribe(false);
64  $item_list_gui->enableLink(false);
65 
66  return $item_list_gui;
67  }
global $DIC
Definition: saml.php:7
$location
Definition: buildRTE.php:44
$a_type
Definition: workflow.php:92

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