UNA
Loading...
Searching...
No Matches
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

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

Static Public Member Functions

static isAllowUrlInclude ()
 
static getModuleConfig ($mixed)
 
static isModuleInstalled ($sUri)
 
static setModulePendingUninstall ($sUri, $bPendingUninstall=true)
 
static isModulePendingUninstall ($sUri)
 
static checkModulesPendingUninstall ()
 
- Static Public Member Functions inherited from BxDolIO
static isRealOwner ()
 
static isExecutable ($sFile)
 
static isWritable ($sFile)
 
static getPermissions ($sFileName)
 

Protected Member Functions

 hashInfo ($sPath)
 
 filePathWithoutBase ($sPath)
 

Protected Attributes

 $_aNonHashableFiles = array()
 

Constructor & Destructor Documentation

◆ __construct()

BxDolInstallerUtils::__construct ( )

Reimplemented from BxDolIO.

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: