function checkForUpdatesByPath($sPath) { bx_import('BxDolModuleDb'); $oModuleDb = new BxDolModuleDb(); $aModule = $oModuleDb->getModulesBy(array('type' => 'path', 'value' => $sPath)); $aResult = self::checkForUpdates($aModule); $aResult['content'] = $this->_parseUpdate($aResult); return $aResult; }