List of all members.
Detailed Description
Class handling shop module list.
Definition at line 7 of file oxmodulelist.php.
Member Function Documentation
oxModuleList._extendsClasses |
( |
$ |
sModuleDir |
) |
[protected] |
Checks if module extends any shop class.
- Parameters:
-
| string | $sModuleDir dir path |
- Returns:
- bool
Definition at line 629 of file oxmodulelist.php.
oxModuleList._isVendorDir |
( |
$ |
sModuleDir |
) |
[protected] |
Checks if directory is vendor directory.
- Parameters:
-
| string | $sModuleDir dir path |
- Returns:
- bool
Definition at line 613 of file oxmodulelist.php.
oxModuleList._removeFromDatabase |
( |
$ |
aDeletedExtIds |
) |
[protected] |
Removes extension from database - oxConfig, oxConfigDisplay and oxTplBlocks tables
- Parameters:
-
| array | $aDeletedExtIds deleted extensions ID's |
- Returns:
- null
Definition at line 511 of file oxmodulelist.php.
oxModuleList._removeFromDisabledModulesArray |
( |
$ |
aDeletedExtIds |
) |
[protected] |
Removes extension from disabled modules array
- Parameters:
-
| array | $aDeletedExtIds Deleted extension id's of array |
- Returns:
- null
Definition at line 376 of file oxmodulelist.php.
oxModuleList._removeFromLegacyModulesArray |
( |
$ |
aDeletedExtIds |
) |
[protected] |
Removes extension from legacy modules array
- Parameters:
-
| array | $aDeletedExtIds deleted extensions ID's |
- Returns:
- null
Definition at line 391 of file oxmodulelist.php.
oxModuleList._removeFromModulesArray |
( |
$ |
aDeletedExt |
) |
[protected] |
Removes extension from modules array
- Parameters:
-
| array | $aDeletedExt Deleted extension array |
- Returns:
- null
Definition at line 360 of file oxmodulelist.php.
oxModuleList._removeFromModulesEventsArray |
( |
$ |
aDeletedModule |
) |
[protected] |
Removes extension from modules events array
- Parameters:
-
| array | $aDeletedModule deleted extensions ID's |
- Returns:
- null
Definition at line 451 of file oxmodulelist.php.
oxModuleList._removeFromModulesFilesArray |
( |
$ |
aDeletedModule |
) |
[protected] |
Removes extension from modules files array
- Parameters:
-
| array | $aDeletedModule deleted extensions ID's |
- Returns:
- null
Definition at line 471 of file oxmodulelist.php.
oxModuleList._removeFromModulesPathsArray |
( |
$ |
aDeletedModule |
) |
[protected] |
Removes extension from modules paths array
- Parameters:
-
| array | $aDeletedModule deleted extensions ID's |
- Returns:
- null
Definition at line 411 of file oxmodulelist.php.
oxModuleList._removeFromModulesTemplatesArray |
( |
$ |
aDeletedModule |
) |
[protected] |
Removes extension from legacy modules templates array
- Parameters:
-
| array | $aDeletedModule deleted extensions ID's |
- Returns:
- null
Definition at line 491 of file oxmodulelist.php.
oxModuleList._removeFromModulesVersionsArray |
( |
$ |
aDeletedModule |
) |
[protected] |
Removes extension from modules versions array
- Parameters:
-
| array | $aDeletedModule deleted extensions ID's |
- Returns:
- null
Definition at line 431 of file oxmodulelist.php.
oxModuleList._saveModulePath |
( |
$ |
sModuleId, |
|
|
$ |
sModulePath | |
|
) |
| | [protected] |
Saving module path info. Module path is saved to config variable "aModulePaths".
- Parameters:
-
- Returns:
- null
Definition at line 651 of file oxmodulelist.php.
oxModuleList._sortModules |
( |
$ |
oModule1, |
|
|
$ |
oModule2 | |
|
) |
| | [protected] |
Callback function for sorting module objects by name.
- Parameters:
-
| object | $oModule1 module object |
| object | $oModule2 module object |
- Returns:
- bool
Definition at line 601 of file oxmodulelist.php.
oxModuleList.buildModuleChains |
( |
$ |
aModuleArray |
) |
|
Build module chains from nested array
- Parameters:
-
| array | $aModuleArray Module array (nested format) |
- Returns:
- array
Definition at line 342 of file oxmodulelist.php.
Removes extension metadata from shop.
- Returns:
- null
Definition at line 213 of file oxmodulelist.php.
oxModuleList.diffModuleArrays |
( |
$ |
aAllModuleArray, |
|
|
$ |
aRemModuleArray | |
|
) |
| | |
Diff two nested module arrays together so that the values of $aRmModuleArray are removed from $aAllModuleArray
- Parameters:
-
| array | $aAllModuleArray All Module array (nested format) |
| array | $aRemModuleArray Remove Module array (nested format) |
- Returns:
- array
Definition at line 305 of file oxmodulelist.php.
oxModuleList.extractModulePaths |
( |
|
) |
|
Extract module id's with paths from extended classes.
- Returns:
- array
Definition at line 137 of file oxmodulelist.php.
oxModuleList.getActiveModuleInfo |
( |
|
) |
|
Get active modules path info
- Returns:
- array
Definition at line 40 of file oxmodulelist.php.
oxModuleList.getAllModules |
( |
|
) |
|
oxModuleList.getDeletedExtensionIds |
( |
$ |
aDeletedExt |
) |
|
Returns deleted extension Ids
- Parameters:
-
| array | $aDeletedExt deleted extensions |
- Returns:
- array
Definition at line 255 of file oxmodulelist.php.
oxModuleList.getDeletedExtensions |
( |
|
) |
|
Checks module list - if there is extensions that are registered, but extension directory is missing
- Returns:
- array
Definition at line 279 of file oxmodulelist.php.
oxModuleList.getDisabledModuleClasses |
( |
|
) |
|
Returns disabled module classes with path using config aModules and aModulePaths. aModules has all extended classes aModulePaths has module id to main path array
- Returns:
- array
Definition at line 181 of file oxmodulelist.php.
oxModuleList.getDisabledModuleInfo |
( |
|
) |
|
oxModuleList.getDisabledModules |
( |
|
) |
|
oxModuleList.getLegacyModules |
( |
|
) |
|
oxModuleList.getModuleEvents |
( |
|
) |
|
oxModuleList.getModuleFiles |
( |
|
) |
|
oxModuleList.getModulePaths |
( |
|
) |
|
oxModuleList.getModulesFromDir |
( |
$ |
sModulesDir, |
|
|
$ |
sVendorDir = null | |
|
) |
| | |
Scans modules dir and returns collected modules list. Recursively loads also modules that are in vendor directory.
- Parameters:
-
| string | $sModulesDir Main module dir path |
| string | $sVendorDir Vendor directory name |
- Returns:
- array
Definition at line 546 of file oxmodulelist.php.
oxModuleList.getModuleTemplates |
( |
|
) |
|
oxModuleList.getModuleVersions |
( |
|
) |
|
Get module id's with versions
- Returns:
- array
Definition at line 87 of file oxmodulelist.php.
Member Data Documentation
oxModuleList.$_aModules = array() [protected] |
oxModuleList.$_aSkipFiles = array( 'functions.php', 'vendormetadata.php' ) [protected] |
The documentation for this class was generated from the following file: