<?php
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */


/**
* Class ilObjectListGUIFactory
*
*
* @author Alex Killing <alex.killing@gmx.de>
* $Id: class.ilObjectListGUIFactory.php 23764 2010-05-06 15:11:30Z smeyer $
*
*/
class ilObjectListGUIFactory
{
	function &_getListGUIByType($a_type)
	{
		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();

		return $item_list_gui;
	}
	
} // END class.ilObjectListGUIFactory
?>
