OXID eShop CE
4.9.7
|
Public Member Functions | |
validate (oxModule $oModule) |
Private Member Functions | |
_moduleExtensionsInformationExistsInShop (oxModule $oModule) | |
_moduleFilesInformationExistInShop (oxModule $oModule) | |
_moduleHasAllExtensions (oxModule $oModule) | |
_moduleHasAllFiles (oxModule $oModule) |
Module metadata equivalence with saved shop configuration validator class. Validates metadata contents and checks if it was not changed after module activation.
Definition at line 10 of file oxmodulemetadataagainstshopvalidator.php.
|
private |
Check if all module extensions exists in shop information.
oxModule | $oModule | module object |
Definition at line 43 of file oxmodulemetadataagainstshopvalidator.php.
|
private |
Check if all module files exists in shop.
oxModule | $oModule | module object |
Definition at line 71 of file oxmodulemetadataagainstshopvalidator.php.
|
private |
Check if all module files exists by shop information.
oxModule | $oModule | module object |
Definition at line 91 of file oxmodulemetadataagainstshopvalidator.php.
|
private |
Check if all PHP files exists by shop information.
oxModule | $oModule | module object |
Definition at line 103 of file oxmodulemetadataagainstshopvalidator.php.
oxModuleMetadataAgainstShopValidator::validate | ( | oxModule | $oModule | ) |
Validates module metadata. Return true if module metadata is valid. Return false if module metadata is not valid, or if metadata file does not exist.
oxModule | $oModule | object to validate metadata. |
Implements oxIModuleValidator.
Definition at line 22 of file oxmodulemetadataagainstshopvalidator.php.