PagesExportImport::exportZIP() method
Export given PageArray to a ZIP file
Usage
// basic usage
$string = $porter->exportZIP(PageArray $items);
// usage with all arguments
$string = $porter->exportZIP(PageArray $items, array $options = []);Arguments
| Name | Type(s) | Description |
|---|---|---|
$items | PageArray | |
$options (optional) | array |
Return value
stringPath+filename to ZIP file
$porter methods and properties
API reference based on ProcessWire core version 3.0.255