class Modules

Class Modules

Properties

protected ApplicationPath $appPath
protected ControllerActionExists $controllerActionExists
protected ModuleInfoCache $moduleInfoCache
protected Vendor $vendors

Methods

__construct(ApplicationPath $appPath, ControllerActionExists $controllerActionExists, ModuleInfoCache $moduleInfoCache, Vendor $vendors)

No description

boolean
controllerActionExists(string $path)

Returns, whether the given module controller action exists

boolean
isActive(string $module)

Returns, whether a module is active or not

array
getModuleInfo(string $module)

Returns the available information about the given module

integer
getModuleId(string $module)

No description

boolean
isInstalled(string $moduleName)

Checks, whether a module is currently installed or not

array
getActiveModules()

Returns all currently installed AND active modules

array
getInstalledModules()

Returns all currently installed modules

array
getAllModules()

Returns an alphabetically sorted array of all found ACP3 modules

Details

at line 52
__construct(ApplicationPath $appPath, ControllerActionExists $controllerActionExists, ModuleInfoCache $moduleInfoCache, Vendor $vendors)

Parameters

ApplicationPath $appPath
ControllerActionExists $controllerActionExists
ModuleInfoCache $moduleInfoCache
Vendor $vendors

at line 71
boolean controllerActionExists(string $path)

Returns, whether the given module controller action exists

Parameters

string $path

Return Value

boolean

at line 83
boolean isActive(string $module)

Returns, whether a module is active or not

Parameters

string $module

Return Value

boolean

at line 96
array getModuleInfo(string $module)

Returns the available information about the given module

Parameters

string $module

Return Value

array

at line 110
integer getModuleId(string $module)

Parameters

string $module

Return Value

integer

at line 123
boolean isInstalled(string $moduleName)

Checks, whether a module is currently installed or not

Parameters

string $moduleName

Return Value

boolean

at line 134
array getActiveModules()

Returns all currently installed AND active modules

Return Value

array

at line 152
array getInstalledModules()

Returns all currently installed modules

Return Value

array

at line 170
array getAllModules()

Returns an alphabetically sorted array of all found ACP3 modules

Return Value

array