Public Member Functions | Data Fields | Protected Attributes

Zend_Validate_File_IsCompressed Class Reference

Inheritance diagram for Zend_Validate_File_IsCompressed:
Zend_Validate_File_MimeType Zend_Validate_Abstract Zend_Validate_Interface

Public Member Functions

 __construct ($mimetype=array())

Data Fields

const FALSE_TYPE = 'fileIsCompressedFalseType'
const NOT_DETECTED = 'fileIsCompressedNotDetected'
const NOT_READABLE = 'fileIsCompressedNotReadable'

Protected Attributes

 $_messageTemplates

Detailed Description

Definition at line 35 of file IsCompressed.php.


Constructor & Destructor Documentation

__construct ( mimetype = array() )

Sets validator options

Parameters:
string | array | Zend_Config$compression
Returns:
void

Reimplemented from Zend_Validate_File_MimeType.

Definition at line 59 of file IsCompressed.php.


Field Documentation

$_messageTemplates [protected]
Initial value:
 array(
        self::FALSE_TYPE   => "The file '%value%' is not compressed, '%type%' detected",
        self::NOT_DETECTED => "The mimetype of file '%value%' has not been detected",
        self::NOT_READABLE => "The file '%value%' can not be read"
    )

Reimplemented from Zend_Validate_File_MimeType.

Definition at line 47 of file IsCompressed.php.

const FALSE_TYPE = 'fileIsCompressedFalseType'

string Error constants

Reimplemented from Zend_Validate_File_MimeType.

Definition at line 40 of file IsCompressed.php.


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