Archive
Table of Contents
Methods
- __construct() : mixed
- Archive constructor.
- addEntry() : mixed
- Add one entry. in current archive.
- isEmpty() : bool
- Returns true if the archive does not have entries.
- send() : void
- Sends content to output stream and sets necessary headers.
Methods
__construct()
Archive constructor.
public
__construct(string $name) : mixed
Parameters
- $name : string
-
Archive name.
addEntry()
Add one entry. in current archive.
public
addEntry(ArchiveEntry $archiveEntry) : mixed
Parameters
- $archiveEntry : ArchiveEntry
-
Entry for archive.
isEmpty()
Returns true if the archive does not have entries.
public
isEmpty() : bool
Return values
boolsend()
Sends content to output stream and sets necessary headers.
public
send() : void