Public Member Functions | |
validate (oxModule $oModule) | |
Private Member Functions | |
_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.
oxModuleMetadataAgainstShopValidator._moduleHasAllExtensions | ( | oxModule $ | oModule | ) | [private] |
Check if all module files exists by shop information.
oxModule | $oModule module object |
Definition at line 91 of file oxmodulemetadataagainstshopvalidator.php.
oxModuleMetadataAgainstShopValidator._moduleHasAllFiles | ( | oxModule $ | oModule | ) | [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.