|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($mimetype=array()) | |
Data Fields | |
| const | FALSE_TYPE = 'fileIsCompressedFalseType' |
| const | NOT_DETECTED = 'fileIsCompressedNotDetected' |
| const | NOT_READABLE = 'fileIsCompressedNotReadable' |
Protected Member Functions | |
| _throw ($file, $errorType) | |
Protected Attributes | |
| $_messageTemplates | |
Definition at line 35 of file IsCompressed.php.
| __construct | ( | $ | mimetype = array() | ) |
Sets validator options
| string | array | Zend_Config | $compression |
Reimplemented from Zend_Validate_File_MimeType.
Definition at line 59 of file IsCompressed.php.
| _throw | ( | $ | file, |
| $ | errorType | ||
| ) | [protected] |
Throws an error of the given type Duplicates parent method due to OOP Problem with late static binding in PHP 5.2
| string | $file | |
| string | $errorType |
Reimplemented from Zend_Validate_File_MimeType.
Definition at line 131 of file IsCompressed.php.

$_messageTemplates [protected] |
array( self::FALSE_TYPE => "File '%value%' is not compressed, '%type%' detected", self::NOT_DETECTED => "The mimetype of file '%value%' could not been detected", self::NOT_READABLE => "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.
| const NOT_DETECTED = 'fileIsCompressedNotDetected' |
Reimplemented from Zend_Validate_File_MimeType.
Definition at line 41 of file IsCompressed.php.
| const NOT_READABLE = 'fileIsCompressedNotReadable' |
Reimplemented from Zend_Validate_File_MimeType.
Definition at line 42 of file IsCompressed.php.