Process an ajax clone request
Outputs JSON result and exits
Usage
// basic usage
$array = $processPageClone->processAjax();
// usage with all arguments
$array = $processPageClone->processAjax($original = null, bool $returnArray = false);
Arguments
Name | Type(s) | Description |
---|---|---|
original (optional) | Page, null | |
returnArray (optional) | bool |
Return value
array
null
ProcessPageClone methods and properties
API reference based on ProcessWire core version 3.0.244