Varien_Autoload::searchFullPath PHP Метод

searchFullPath() публичный статический Метод

Checks if a file exists in the include path and returns the full path if the file exists
public static searchFullPath ( $filename ) : boolean | string
$filename
Результат boolean | string
    public static function searchFullPath($filename)
    {
        // return stream_resolve_include_path($filename);
        $paths = explode(PATH_SEPARATOR, get_include_path());
        foreach ($paths as $path) {
            $fullPath = $path . DIRECTORY_SEPARATOR . $filename;
            if (file_exists($fullPath)) {
                return $fullPath;
            }
        }
        return false;
    }