[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 576 lines (20 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ZipLib:: (16 methods):
get_List()
Add()
Compress()
get_file()
add_dir()
add_File()
DosTime()
Extract()
ReadFileHeader()
ReadCentralFileHeaders()
ReadCentralDir()
ExtractFile()
_mkdir()
ExtractStr()
ExtractStrFile()
_ret_bytes()
get_List($zip_name) X-Ref |
return: array|int param: string $zip_name filename path to file |
Add($files,$compact) X-Ref |
return: array param: array $files array filled with array(string filename, string data) param: bool $compact |
Compress($folder, $basedir=null, $parent=null) X-Ref |
Zips recursively the $folder directory, from the $basedir directory param: string $folder filename path to file param: string|null $basedir param: string|null $parent |
get_file() X-Ref |
Returns the Zip file return: string |
add_dir($name) X-Ref |
param: string $name the name of the directory |
add_File($data, $name, $compact = true) X-Ref |
Add a file named $name from a string $data return: bool param: string $data param: string $name filename param: bool $compact |
DosTime() X-Ref |
return: int |
Extract( $zn, $to, $index = Array(-1) X-Ref |
Extract a zip file $zn to the $to directory return: array|int param: string $zn filename param: string $to filename path to file param: array $index |
ReadFileHeader($zip, $header) X-Ref |
return: array param: resource $zip param: array $header |
ReadCentralFileHeaders($zip) X-Ref |
return: array param: resource $zip |
ReadCentralDir($zip,$zip_name) X-Ref |
return: array param: resource $zip param: string $zip_name filename path to file |
ExtractFile($header,$to,$zip) X-Ref |
return: bool|int param: array $header param: string $to filename path to file param: resource $zip |
_mkdir($d) X-Ref |
centralize mkdir calls and use dokuwiki io functions return: bool|int|string author: Christopher Smith <chris@jalakai.co.uk> param: string $d filename path to file |
ExtractStr($zn, $name) X-Ref |
return: null|string param: string $zn param: string $name |
ExtractStrFile($header,$zip) X-Ref |
return: null|string param: array $header param: resource $zip |
_ret_bytes($val) X-Ref |
return: int|string param: string $val |