| Magento 2 Documentation
    2.3
    Documentation for Magento 2 CMS v2.3 (December 2018) | 
 
  
| Public Member Functions | |
| __construct ($options) | |
| getCrc32 () | |
| setHash ($options) | |
| setCrc32 ($options) | |
| addHash ($options) | |
| addCrc32 ($options) | |
| isValid ($value, $file=null) | |
|  Public Member Functions inherited from Zend_Validate_File_Hash | |
| __construct ($options) | |
| getHash () | |
| setHash ($options) | |
| addHash ($options) | |
| isValid ($value, $file=null) | |
|  Public Member Functions inherited from Zend_Validate_Abstract | |
| getMessages () | |
| getMessageVariables () | |
| getMessageTemplates () | |
| setMessage ($messageString, $messageKey=null) | |
| setMessages (array $messages) | |
| __get ($property) | |
| getErrors () | |
| setObscureValue ($flag) | |
| getObscureValue () | |
| setTranslator ($translator=null) | |
| getTranslator () | |
| hasTranslator () | |
| setDisableTranslator ($flag) | |
| translatorIsDisabled () | |
|  Public Member Functions inherited from Zend_Validate_Interface | |
| isValid ($value) | |
| Data Fields | |
| const | DOES_NOT_MATCH = 'fileCrc32DoesNotMatch' | 
| const | NOT_DETECTED = 'fileCrc32NotDetected' | 
| const | NOT_FOUND = 'fileCrc32NotFound' | 
|  Data Fields inherited from Zend_Validate_File_Hash | |
| const | DOES_NOT_MATCH = 'fileHashDoesNotMatch' | 
| const | NOT_DETECTED = 'fileHashHashNotDetected' | 
| const | NOT_FOUND = 'fileHashNotFound' | 
| Protected Attributes | |
| $_messageTemplates | |
| $_hash | |
|  Protected Attributes inherited from Zend_Validate_File_Hash | |
| $_messageTemplates | |
| $_hash | |
|  Protected Attributes inherited from Zend_Validate_Abstract | |
| $_value | |
| $_messageVariables = array() | |
| $_messageTemplates = array() | |
| $_messages = array() | |
| $_obscureValue = false | |
| $_errors = array() | |
| $_translator | |
| $_translatorDisabled = false | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from Zend_Validate_Abstract | |
| static | setDefaultTranslator ($translator=null) | 
| static | getDefaultTranslator () | 
| static | hasDefaultTranslator () | 
| static | getMessageLength () | 
| static | setMessageLength ($length=-1) | 
|  Protected Member Functions inherited from Zend_Validate_File_Hash | |
| _throw ($file, $errorType) | |
|  Protected Member Functions inherited from Zend_Validate_Abstract | |
| _createMessage ($messageKey, $value) | |
| _implodeRecursive (array $pieces) | |
| _error ($messageKey, $value=null) | |
| _setValue ($value) | |
|  Static Protected Attributes inherited from Zend_Validate_Abstract | |
| static | $_defaultTranslator | 
| static | $_messageLength = -1 | 
| __construct | ( | $options | ) | 
Sets validator options
| string | array | Zend_Config | $options | 
| Zend_Validate_Exception | 
Definition at line 67 of file Crc32.php.
| addCrc32 | ( | $options | ) | 
Adds the crc32 hash for one or multiple files
| string | array | $options | 
Definition at line 143 of file Crc32.php.
| addHash | ( | $options | ) | 
Adds the crc32 hash for one or multiple files
| string | array | $options | 
| isValid | ( | $value, | |
| $file = null | |||
| ) | 
Defined by Zend_Validate_Interface
Returns true if and only if the given file confirms the set hash
| string | $value | Filename to check for hash | 
| array | $file | File data from Zend_File_Transfer | 
Definition at line 158 of file Crc32.php.
| setCrc32 | ( | $options | ) | 
Sets the crc32 hash for one or multiple files
| string | array | $options | 
Definition at line 114 of file Crc32.php.
| setHash | ( | $options | ) | 
Sets the crc32 hash for one or multiple files
| string | array | $options | 
| 
 | protected | 
| const DOES_NOT_MATCH = 'fileCrc32DoesNotMatch' |