source/Core/Autoload/ModuleAutoload.php
protected function getFilePath($class)
    {
        $filePath = '';

        $moduleFiles = Registry::getUtilsObject()->getModuleVar('aModuleFiles');
        if (is_array($moduleFiles)) {
            $basePath = getShopBasePath();
            foreach ($moduleFiles as $moduleId => $classPaths) {
                if (array_key_exists($class, $classPaths)) {
                    $moduleFilePath = $basePath . 'modules/' . $classPaths[$class];
                    if (file_exists($moduleFilePath)) {
                        $filePath = $moduleFilePath;
                    }
                }
            }
        }

        return $filePath;
    }
protected function getFilePath($class)
    {
        $filePath = '';

        $moduleFiles = Registry::getUtilsObject()->getModuleVar('aModuleFiles');
        if (is_array($moduleFiles)) {
            $basePath = getShopBasePath();
            foreach ($moduleFiles as $moduleId => $classPaths) {
                if (array_key_exists($class, $classPaths)) {
                    $moduleFilePath = $basePath . 'modules/' . $classPaths[$class];
                    if (file_exists($moduleFilePath)) {
                        $filePath = $moduleFilePath;
                    }
                }
            }
        }

        return $filePath;
    }
protected function getFilePath ( $ class ) { $ filePath = '' ; $ moduleFiles = Registry :: getUtilsObject ( ) -> getModuleVar ( 'aModuleFiles' ) ; if ( is_array ( $ moduleFiles ) ) { $ basePath = getShopBasePath ( ) ; foreach ( $ moduleFiles as $ moduleId => $ classPaths ) { if ( array_key_exists ( $ class , $ classPaths ) ) { $ moduleFilePath = $ basePath . 'modules/' . $ classPaths [ $ class ] ; if ( file_exists ( $ moduleFilePath ) ) { $ filePath = $ moduleFilePath ; } } } } return $ filePath ; }
Tries to find file path for given class. Returns empty string on path not found.

@param string $class

@return string
Tries to find file path for given class . Returns empty string on path not found .