PHP 클래스 rg\broker\customizations\ZipArchive

저자: Baldur Rensch ([email protected])
상속: extends ZipArchive
파일 보기 프로젝트 열기: researchgate/broker 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$archiveBaseDir string Contains the "base path" of the archive. This means that files will be added relative to this base path, instead of with absolute paths.

보호된 프로퍼티들

프로퍼티 타입 설명
$excludeDirectories array Array containing directory names to exclude

공개 메소드들

메소드 설명
addDir ( String $path ) Add directories recursively
addExcludeDirectory ( [type] $dir ) Add a directory name to the list of directories to exclude
getArchiveBaseDir ( ) : String
getExcludeDirectories ( ) : array
setArchiveBaseDir ( $newArchiveBaseDir ) : ZipArchive
setExcludeDirectories ( array $newExcludeDirectories ) : ZipArchive

메소드 상세

addDir() 공개 메소드

Add directories recursively
public addDir ( String $path )
$path String

addExcludeDirectory() 공개 메소드

Add a directory name to the list of directories to exclude
public addExcludeDirectory ( [type] $dir )
$dir [type]

getArchiveBaseDir() 공개 메소드

public getArchiveBaseDir ( ) : String
리턴 String

getExcludeDirectories() 공개 메소드

public getExcludeDirectories ( ) : array
리턴 array

setArchiveBaseDir() 공개 메소드

public setArchiveBaseDir ( $newArchiveBaseDir ) : ZipArchive
리턴 ZipArchive

setExcludeDirectories() 공개 메소드

public setExcludeDirectories ( array $newExcludeDirectories ) : ZipArchive
$newExcludeDirectories array
리턴 ZipArchive

프로퍼티 상세

$archiveBaseDir 공개적으로 프로퍼티

Contains the "base path" of the archive. This means that files will be added relative to this base path, instead of with absolute paths.
public string $archiveBaseDir
리턴 string

$excludeDirectories 보호되어 있는 프로퍼티

Array containing directory names to exclude
protected array $excludeDirectories
리턴 array