Detailed Description
Module files validator class.
Definition at line 9 of file oxmodulefilesvalidator.php.
Member Function Documentation
oxModuleFilesValidator::_addDirectorySeparatorAtTheEndIfNeeded |
( |
|
$sPathToModuleDirectory | ) |
|
|
private |
Check if path has directory separator at the end. Add it if needed.
- Parameters
-
strig | $sPathToModuleDirectory | Module directory pat |
- Returns
- string
Definition at line 152 of file oxmodulefilesvalidator.php.
oxModuleFilesValidator::_allFilesExists |
( |
|
$aModuleExtendedFiles, |
|
|
|
$blAddExtension = false , |
|
|
|
$sListName = 'files' |
|
) |
| |
|
private |
Return true if all requested file exists.
- Parameters
-
array | $aModuleExtendedFiles | of files which must exist. |
bool | $blAddExtension | if add .php extension to checked files. |
string | $sListName | if add .php extension to checked files. |
- Returns
- bool
Definition at line 126 of file oxmodulefilesvalidator.php.
oxModuleFilesValidator::_allModuleExtensionsExists |
( |
|
$oModule | ) |
|
|
protected |
Return true if all module files which extends shop class exists.
- Parameters
-
oxModule | $oModule | object to validate metadata. |
- Returns
- bool
Definition at line 93 of file oxmodulefilesvalidator.php.
oxModuleFilesValidator::_allModuleFilesExists |
( |
|
$oModule | ) |
|
|
protected |
oxModuleFilesValidator::_resetMissingFiles |
( |
| ) |
|
|
protected |
oxModuleFilesValidator::getMissingFiles |
( |
| ) |
|
oxModuleFilesValidator::getPathToModuleDirectory |
( |
| ) |
|
oxModuleFilesValidator::setPathToModuleDirectory |
( |
|
$sPathToModuleDirectory | ) |
|
oxModuleFilesValidator::validate |
( |
oxModule |
$oModule | ) |
|
Validates module files. Return true if module files exists. Return false if at least one module file does not exist.
- Parameters
-
oxModule | $oModule | object to validate metadata. |
- Returns
- bool
Implements oxIModuleValidator.
Definition at line 59 of file oxmodulefilesvalidator.php.
Member Data Documentation
oxModuleFilesValidator::$_aMissingFiles = array() |
|
private |
oxModuleFilesValidator::$_sPathToModuleDirectory = null |
|
private |
The documentation for this class was generated from the following file: