Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Validator for the hash of given files
 DOES_NOT_MATCH = 'fileHashDoesNotMatch'
      
 Details
 Details NOT_DETECTED = 'fileHashHashNotDetected'
       Details
 Details NOT_FOUND = 'fileHashNotFound'
       Details
 Detailsstring $_hash = ''Hash of the file
 Details
 Detailsarray $_messageTemplates = 'array'
 Details
 Details__construct(
          string|array $options
          )
        
        :
        voidSets validator options
 Details
 Details_throw(
          string $file, string $errorType
          )
        
        :
        falseThrows an error of the given type
 Details
 DetailsaddHash(
          string|array $options
          )
        
        :
        Zend_Validate_File_HashAdds the hash for one or multiple files
 Details
 DetailsgetHash(
          
          )
        
        :
        arrayReturns the set hash values as array, the hash as key and the algorithm the value
 Details
 DetailsisValid(
          string $value, array $file
              =
              null
          )
        
        :
        booleanDefined by Zend_Validate_Interface
Returns true if and only if the given file confirms the set hash
 Details
 DetailssetHash(
          string|array $options
          )
        
        :
        Zend_Validate_File_HashSets the hash for one or multiple files
 Details
 Details