OXID eShop CE  4.9.6
 All Classes Files Functions Variables Pages
oxModuleMetadataAgainstShopValidator Class Reference
+ Inheritance diagram for oxModuleMetadataAgainstShopValidator:
+ Collaboration diagram for oxModuleMetadataAgainstShopValidator:

Public Member Functions

 validate (oxModule $oModule)

Private Member Functions

 _moduleHasAllExtensions (oxModule $oModule)
 _moduleHasAllFiles (oxModule $oModule)

Detailed Description

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.

Member Function Documentation

oxModuleMetadataAgainstShopValidator::_moduleHasAllExtensions ( oxModule  $oModule)
private

Check if all module files exists by shop information.

Parameters
oxModule$oModulemodule object
Returns
bool

Definition at line 91 of file oxmodulemetadataagainstshopvalidator.php.

oxModuleMetadataAgainstShopValidator::_moduleHasAllFiles ( oxModule  $oModule)
private

Check if all PHP files exists by shop information.

Parameters
oxModule$oModulemodule object
Returns
bool

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.

Parameters
oxModule$oModuleobject to validate metadata.
Returns
bool

Implements oxIModuleValidator.

Definition at line 22 of file oxmodulemetadataagainstshopvalidator.php.


The documentation for this class was generated from the following file: