UNA
BxDolInstallerUtils Class Reference
Inheritance diagram for BxDolInstallerUtils:
BxDolIO BxDol BxDolInstallerHasher BxDolStudioInstaller BxDolStudioInstallerUtils BxAccntInstaller BxAclInstaller BxAnonFollowInstaller BxAntispamInstaller BxApiInstaller BxAzrB2CInstaller BxAzrConInstaller BxBaseModGeneralInstaller BxBaseModTemplateInstaller BxCASInstaller BxChatPlusInstaller BxContactInstaller BxDataFoxInstaller BxDevInstaller BxDolConInstaller BxDolStudioUpdater BxDonationsInstaller BxDrupalInstaller BxEditorInstaller BxElsInstaller BxEngInstaller BxFaceBookConnectInstaller BxFontAwesomeInstaller BxFroalaInstaller BxGoogleConInstaller BxGoogleTagManInstaller BxHelpToursInstaller BxIntercomInstaller BxInvInstaller BxLinkedinInstaller BxMailchimpInstaller BxMarkerIoInstaller BxNewCommentsInstaller BxNexusInstaller BxOAuthInstaller BxOpencvInstaller BxPlyrInstaller BxProfilerInstaller BxRsnInstaller BxSMTPInstaller BxStripeConnectInstaller BxTwitterInstaller BxUnaConInstaller BxWikiInstaller BxXeroInstaller

Public Member Functions

 hashFiles ($sPath, &$aFiles)
 
 hashCheck ($aFiles, $iModuleId)
 

Static Public Member Functions

static setModulePendingUninstall ($sUri, $bPendingUninstall=true)
 
static isModulePendingUninstall ($sUri)
 
static checkModulesPendingUninstall ()
 

Member Function Documentation

◆ checkModulesPendingUninstall()

static BxDolInstallerUtils::checkModulesPendingUninstall ( )
static

Check all pending for uninstallation modules and uninstall them if no pending for deletion files are found

◆ hashCheck()

BxDolInstallerUtils::hashCheck (   $aFiles,
  $iModuleId 
)

Check module's files hashes. For system files use

See also
BxDolInstallerHasher class.
Parameters
$aFilescurrent files checksums
$iModuleIdmodule id
Returns
empty array on success, or array of files which checksum was changed

◆ hashFiles()

BxDolInstallerUtils::hashFiles (   $sPath,
$aFiles 
)

Generate hash for module files.

Parameters
$sPathmodule's root folder
$aFilesarray to fill with files hashes

◆ isModulePendingUninstall()

static BxDolInstallerUtils::isModulePendingUninstall (   $sUri)
static

Check if module is pending for uninstall

◆ setModulePendingUninstall()

static BxDolInstallerUtils::setModulePendingUninstall (   $sUri,
  $bPendingUninstall = true 
)
static

Set module for delayed uninstall


The documentation for this class was generated from the following file: