PHP 인터페이스 Pop\Archive\Adapter\ArchiveInterface

저자: Nick Sagona, III ([email protected])
파일 보기 프로젝트 열기: nicksagona/PopPHP

공개 메소드들

메소드 설명
__construct ( Archive $archive ) : Pop\Archive\Adapter\ArchiveInterface Method to instantiate an archive adapter object
addFiles ( string | array $files ) : void Method to create an archive file
archive ( ) : mixed Method to return the archive object
extract ( string $to = null ) : void Method to extract an archived and/or compressed file
listFiles ( boolean $full = false ) : array Method to return a listing of the contents of an archived file

메소드 상세

__construct() 공개 메소드

Method to instantiate an archive adapter object
public __construct ( Archive $archive ) : Pop\Archive\Adapter\ArchiveInterface
$archive Pop\Archive\Archive
리턴 Pop\Archive\Adapter\ArchiveInterface

addFiles() 공개 메소드

Method to create an archive file
public addFiles ( string | array $files ) : void
$files string | array
리턴 void

archive() 공개 메소드

Method to return the archive object
public archive ( ) : mixed
리턴 mixed

extract() 공개 메소드

Method to extract an archived and/or compressed file
public extract ( string $to = null ) : void
$to string
리턴 void

listFiles() 공개 메소드

Method to return a listing of the contents of an archived file
public listFiles ( boolean $full = false ) : array
$full boolean
리턴 array