/**
  * Load the class file and make an instance of the class
  *
  * This is an extension to t3lib_div::makeInstance(). The advantage
  * is that it tries to autoload the file wich in combination
  * with the shorter notation simplyfies the generation of objects.
  *
  * @param	string		classname
  * @return	object		the instance else FALSE
  * @see     tx_div2007_loader
  */
 public static function makeInstance($className)
 {
     $instance = FALSE;
     if (!is_object($instance)) {
         require_once PATH_BE_div2007 . 'class.tx_div2007_t3Loader.php';
         $instance = tx_div2007_t3Loader::makeInstance($className);
     }
     if (!is_object($instance)) {
         return FALSE;
     } else {
         return $instance;
     }
 }
 /**
  * Load a t3 class and make an instance
  *
  * Returns ux_ extension class if any by make use of t3lib_div::makeInstance
  *
  * @param	string		classname
  * @param	string		extension key that varies from classnames
  * @param	string		prefix of classname
  * @param	string		ending of classname
  * @return	object		instance of the class or false if it fails
  * @see		t3lib_div::makeInstance
  * @see		load()
  */
 function makeInstance($class, $alternativeKey = '', $prefix = 'class.', $suffix = '.php')
 {
     if (tx_div2007_t3Loader::load($class, $alternativeKey, $prefix, $suffix)) {
         return t3lib_div::makeInstance($class);
         // includes ux_ classes
     } else {
         return false;
     }
 }