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