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

NameType(s)Description
$itemsPageArray
$options (optional)array

Return value

string

Path+filename to ZIP file


$porter methods and properties

API reference based on ProcessWire core version 3.0.252