+ /**
+ * Autoload-function
+ *
+ * @param $className Name of the class to load
+ * @return void
+ */
+ public static function autoLoad ($className) {
+ // Try to include this class
+ self::getInstance()->includeClass($className);
+ }
+
+ /**
+ * Getter for an instance of this class
+ *
+ * @return $selfInstance An instance of this class
+ */
+ public final static function getInstance () {
+ // Is the instance there?
+ if (is_null(self::$selfInstance)) {
+ // Get a new one
+ self::$selfInstance = ClassLoader::createClassLoader(FrameworkConfiguration::getInstance());
+ } // END - if
+
+ // Return the instance
+ return self::$selfInstance;
+ }
+