ArchiveHelper
in package
Helper class for working with dates.
Table of Contents
Methods
- Create() : string
- Create archive from binary data and file name
- Extract() : string
- Extract and archive from binary data
- IsArchive() : bool
- Check if the file is zip archive
Methods
Create()
Create archive from binary data and file name
public
static Create(string $binary, string $file) : string
Parameters
- $binary : string
- $file : string
Return values
stringExtract()
Extract and archive from binary data
public
static Extract(string $binary) : string
Parameters
- $binary : string
Return values
stringIsArchive()
Check if the file is zip archive
public
static IsArchive(string $filename) : bool
Parameters
- $filename : string