public static function autoload( $className )
	{
		$fileName = strtr( ltrim( $className, '\\' ), '\\_', DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR ) . '.php';

		foreach( self::$_includePaths as $path )
		{
			$file = $path . DIRECTORY_SEPARATOR . $fileName;

			if( file_exists( $file ) === true && ( include_once $file ) !== false ) {
				return true;
			}
		}

		foreach( explode( PATH_SEPARATOR, get_include_path() ) as $path )
		{
			$file = $path . DIRECTORY_SEPARATOR . $fileName;

			if( file_exists( $file ) === true && ( include_once $file ) !== false ) {
				return true;
			}
		}

		return false;
	}
public static function autoload( $className )
	{
		$fileName = strtr( ltrim( $className, '\\' ), '\\_', DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR ) . '.php';

		foreach( self::$_includePaths as $path )
		{
			$file = $path . DIRECTORY_SEPARATOR . $fileName;

			if( file_exists( $file ) === true && ( include_once $file ) !== false ) {
				return true;
			}
		}

		foreach( explode( PATH_SEPARATOR, get_include_path() ) as $path )
		{
			$file = $path . DIRECTORY_SEPARATOR . $fileName;

			if( file_exists( $file ) === true && ( include_once $file ) !== false ) {
				return true;
			}
		}

		return false;
	}
public static function autoload ( $ className ) { $ fileName = strtr ( ltrim ( $ className , '\\' ) , '\\_' , DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR ) . '.php' ; foreach ( self :: $ _includePaths as $ path ) { $ file = $ path . DIRECTORY_SEPARATOR . $ fileName ; if ( file_exists ( $ file ) === true && ( include_once $ file ) !== false ) { return true ; } } foreach ( explode ( PATH_SEPARATOR , get_include_path ( ) ) as $ path ) { $ file = $ path . DIRECTORY_SEPARATOR . $ fileName ; if ( file_exists ( $ file ) === true && ( include_once $ file ) !== false ) { return true ; } } return false ; }
Loads the class files for a given class name.

@param string $className Name of the class
@return boolean True if file was found, false if not
Loads the class files for a given class name .