/**
  * Returns an instance of the objectfactory.
  *
  * @static
  * @return class_objectfactory
  */
 public static function getInstance()
 {
     if (self::$objInstance == null) {
         self::$objInstance = new class_objectfactory();
     }
     return self::$objInstance;
 }