Given a PageArray export it to a portable PHP array
Usage
// basic usage
$array = $pagesExportImport->pagesToArray(PageArray $items);
// usage with all arguments
$array = $pagesExportImport->pagesToArray(PageArray $items, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
items | PageArray | |
options (optional) | array | Additional options to modify behavior |
Return value
array
PagesExportImport methods and properties
API reference based on ProcessWire core version 3.0.236