update : 2015.11.03
php.shukuma.com
|
The ZipArchive class
(PHP 5 >= 5.2.0, PECL zip >= 1.1.0)
소개
A file archive, compressed with Zip.
클래스 개요
ZipArchive
{
bool addFile
( string $filename
[, string $localname = NULL
[, int $start = 0
[, int $length = 0
]]] )
bool addGlob
( string $pattern
[, int $flags = 0
[, array $options = array()
]] )
bool addPattern
( string $pattern
[, string $path = "."
[, array $options = array()
]] )
string getFromIndex
( int $index
[, int $length = 0
[, int $flags
]] )
string getFromName
( string $name
[, int $length = 0
[, int $flags
]] )
mixed open
( string $filename
[, int $flags
] )
bool renameName
( string $name
, string $newname
)
array statIndex
( int $index
[, int $flags
] )
array statName
( string $name
[, int $flags
] )
}
프로퍼티
- status
-
Status of the Zip Archive
- statusSys
-
System status of the Zip Archive
- numFiles
-
Number of files in archive
- filename
-
File name in the file system
-
Comment for the archive
Table of Contents
|
|