Property | Type | Description | |
---|---|---|---|
$Zip | boolean | ZipArchive | ZipArchive | |
$error | null | error | |
$topArchiveName | null | Top Archive Name |
Method | Description | |
---|---|---|
__construct ( ) | BcZip constructor. | |
__destruct ( ) | Destruct | |
extract ( $source, $target ) : boolean | ZIP を展開する |
Method | Description | |
---|---|---|
_escapePath ( $path ) : string | CUI 向けにパスをエスケープする | |
_extractByCommand ( $source, $target ) : boolean | コマンドによる展開 | |
_extractByPhpLib ( $source, $target ) : boolean | ZipArchive クラスによる展開 |
protected _escapePath ( $path ) : string | ||
$path | ||
return | string |
protected _extractByCommand ( $source, $target ) : boolean | ||
$source | ||
$target | ||
return | boolean |
protected _extractByPhpLib ( $source, $target ) : boolean | ||
$source | ||
$target | ||
return | boolean |