API Documentation

Validate/File/IsCompressed.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
version
$Id: IsCompressed.php 22697 2010-07-26 21:14:47Z alexander $
Classes
Zend_Validate_File_IsCompressed

Description

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.

Zend_Validate_File_IsCompressed

Extends from
Zend_Validate_File_MimeType
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
Constants
FALSE_TYPE
NOT_DETECTED
NOT_READABLE
Properties
$_messageTemplates
Methods
__construct
_throw

Description

Validator which checks if the file already exists in the directory

Constants

FALSE_TYPE

 FALSE_TYPE = 'fileIsCompressedFalseType'

Details

value
fileIsCompressedFalseType
const
string Error constants

NOT_DETECTED

 NOT_DETECTED = 'fileIsCompressedNotDetected'

Details

value
fileIsCompressedNotDetected

NOT_READABLE

 NOT_READABLE = 'fileIsCompressedNotReadable'

Details

value
fileIsCompressedNotReadable

Properties

$_messageTemplates

array $_messageTemplates = 'array'

Details

$_messageTemplates
array
Error message templates
visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct(  $mimetype = array ) : void

Sets validator options

Arguments
$mimetype
Details
visibility
public
final
false
static
false

_throw

_throw( string $file, string $errorType ) : false

Throws an error of the given type Duplicates parent method due to OOP Problem with late static binding in PHP 5.2

Arguments
$file
string
$errorType
string
Output
false
Details
visibility
protected
final
false
static
false
Documentation was generated by DocBlox.