ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

& ilSearchObjectListFactory::_getInstance (   $a_type)

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

References $location.

{
global $objDefinition;
$class = $objDefinition->getClassName($a_type);
$location = $objDefinition->getLocation($a_type);
$full_class = "ilObj".$class."ListGUI";
include_once($location."/class.".$full_class.".php");
$item_list_gui = new $full_class();
$item_list_gui->enableDelete(false);
$item_list_gui->enablePath(true);
$item_list_gui->enableCut(false);
$item_list_gui->enableSubscribe(false);
$item_list_gui->enablePayment(false);
$item_list_gui->enableLink(false);
return $item_list_gui;
}

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