classes/Ergo/ClassLoader.php
protected function classFile($className)
	{
		$classFile = preg_replace('#[_\\\]#', '/', $className).'.php';

		foreach ($this->_paths as $path)
		{
			$classPath = "$path/$classFile";
			if (file_exists($classPath))
			{
				return $classPath;
			}
		}
	}
protected function classFile($className)
	{
		$classFile = preg_replace('#[_\\\]#', '/', $className).'.php';

		foreach ($this->_paths as $path)
		{
			$classPath = "$path/$classFile";
			if (file_exists($classPath))
			{
				return $classPath;
			}
		}
	}
protected function classFile ( $ className ) { $ classFile = preg_replace ( '#[_\\\]#' , '/' , $ className ) . '.php' ; foreach ( $ this -> _paths as $ path ) { $ classPath = "$path/$classFile" ; if ( file_exists ( $ classPath ) ) { return $ classPath ; } } }
Returns the class file for a particular class name
@return string
Returns the class file for a particular class name