Class ZipArchive
- MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\ZipArchive implements MvcCore\Ext\Forms\Validators\Files\Validations\IBombScanner
Namespace: MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners
Located at ext-form-field-file/src/MvcCore/Ext/Forms/Validators/Files/Validations/BombScanners/ZipArchive.php
Located at ext-form-field-file/src/MvcCore/Ext/Forms/Validators/Files/Validations/BombScanners/ZipArchive.php
public static
boolean
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
string
|
|
public
|
|
public
boolean
|
|
public
string
|
|
public
integer
|
|
public
|
|
public
boolean
|
|
public
integer
|
|
public
string
|
|
public
string|null
|
string |
ERR_NO_ZIP_EXT
|
#
"System extension to detect dangerous ZIP archives is not installed."
|
protected static
array
|
$zipErrors
|
#
[
\ZipArchive::ER_INCONS => "Uploaded file is inconsistent ZIP archive (`{1}`).",
\ZipArchive::ER_MEMORY => "Uploaded file caused memory allocation failure (`{1}`).",
\ZipArchive::ER_NOZIP => "Uploaded file has archive header but it's not an archive (`{1}`).",
\ZipArchive::ER_OPEN => "Uploaded file archive is not possible to open (`{1}`).",
\ZipArchive::ER_READ => "Uploaded file archive is not possible to read (`{1}`).",
\ZipArchive::ER_SEEK => "Uploaded file archive is not possible to seek (`{1}`).",
]
|
protected
|
$validator
|
#
NULL
|
protected
SplFileObject
|
$spl
|
#
NULL
|
protected
string
|
$fullPath
|
#
NULL
|
protected
ZipArchive
|
$zip
|
#
NULL
|
protected
boolean|integer
|
$openResult
|
#
NULL
|
protected
integer
|
$index
|
#
0
|
protected
array
|
$entry
|
#
NULL
|