equal
deleted
inserted
replaced
12 * obtain it through the world-wide-web, please send an email |
12 * obtain it through the world-wide-web, please send an email |
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Validate |
16 * @package Zend_Validate |
17 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
17 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @version $Id: IsCompressed.php 22668 2010-07-25 14:50:46Z thomas $ |
19 * @version $Id: IsCompressed.php 24702 2012-03-28 20:08:40Z rob $ |
20 */ |
20 */ |
21 |
21 |
22 /** |
22 /** |
23 * @see Zend_Validate_File_MimeType |
23 * @see Zend_Validate_File_MimeType |
24 */ |
24 */ |
27 /** |
27 /** |
28 * Validator which checks if the file already exists in the directory |
28 * Validator which checks if the file already exists in the directory |
29 * |
29 * |
30 * @category Zend |
30 * @category Zend |
31 * @package Zend_Validate |
31 * @package Zend_Validate |
32 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
32 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
33 * @license http://framework.zend.com/license/new-bsd New BSD License |
33 * @license http://framework.zend.com/license/new-bsd New BSD License |
34 */ |
34 */ |
35 class Zend_Validate_File_IsCompressed extends Zend_Validate_File_MimeType |
35 class Zend_Validate_File_IsCompressed extends Zend_Validate_File_MimeType |
36 { |
36 { |
37 /** |
37 /** |
92 'application/x-rar', |
92 'application/x-rar', |
93 'application/x-sit', |
93 'application/x-sit', |
94 'application/x-stuffit', |
94 'application/x-stuffit', |
95 'application/x-tar', |
95 'application/x-tar', |
96 'application/zip', |
96 'application/zip', |
|
97 'application/x-zip', |
97 'application/zoo', |
98 'application/zoo', |
98 'multipart/x-gzip', |
99 'multipart/x-gzip', |
99 ); |
100 ); |
100 |
101 |
101 if (is_array($mimetype)) { |
102 if (is_array($mimetype)) { |