classes/Ergo/ClassLoader.php
public function loadClass($className)
	{
		if (class_exists($className, false) || interface_exists($className, false))
		{
			return false;
		}

		if($classFile = $this->classFile($className))
		{
			require $classFile;
			return true;
		}

		return false;
	}
public function loadClass($className)
	{
		if (class_exists($className, false) || interface_exists($className, false))
		{
			return false;
		}

		if($classFile = $this->classFile($className))
		{
			require $classFile;
			return true;
		}

		return false;
	}
public function loadClass ( $ className ) { if ( class_exists ( $ className , false ) || interface_exists ( $ className , false ) ) { return false ; } if ( $ classFile = $ this -> classFile ( $ className ) ) { require $ classFile ; return true ; } return false ; }
SPL autoload function, loads a class file based on the class name.

@param string
SPL autoload function loads a class file based on the class name .