Mage/Autoload.php
/**
     * Checks if a Class can be loaded.
     * @param string $className
     * @return boolean
     */
Checks if a Class can be loaded.
@param string $className
@return boolean
Checks if a Class can be loaded . @param string $className @return boolean
public static function isLoadable($className)
    {
        $baseDir = dirname(dirname(__FILE__));
        $classFile = $baseDir . '/' . str_replace(array('_', '\\'), '/', $className . '.php');
        return (file_exists($classFile) && is_readable($classFile));
    }
public static function isLoadable ( $ className ) { $ baseDir = dirname ( dirname ( __FILE__ ) ) ; $ classFile = $ baseDir . '/' . str_replace ( array ( '_' , '\\' ) , '/' , $ className . '.php' ) ; return ( file_exists ( $ classFile ) && is_readable ( $ classFile ) ) ; }
Checks if a Class can be loaded.
Checks if a Class can be loaded .