ProcessPageClone class
For more details about how Process modules work, please see:
wire/core/Process.php
Optional GET variables:
- redirect_page (int): Contains ID of page to redirect to after clone.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Process class also inherits all the methods and properties of: Process, WireData and Wire.
Common
| Name | Return | Summary | |
|---|---|---|---|
Process Process Process | None | Main execution: Display Copy Page form or process it | |
Process Process Process | null Page | Get Page being cloned | |
Process Process Process | bool | Check if the current user has permission to clone the given page | |
Process Process Process | array null | Process an ajax clone request |
Properties
| Name | Return | Summary | |
|---|---|---|---|
| Process | bool int | Disable the ajax shortcut for cloning pages and always use full form? 3.0.238+ |
Additional methods and properties
In addition to the methods and properties above, Process
API reference based on ProcessWire core version 3.0.255