Get URL (or form action attribute) for editing this page
Usage
// basic usage
$string = $processPageEdit->getEditUrl();
// usage with all arguments
$string = $processPageEdit->getEditUrl(array $options = []);
Arguments
Name | Type(s) | Description |
---|
options (optional) | array | id (int): Page ID to editmodal (int|string): Modal mode, when applicablecontext (string): Additional request context string, when applicablelanguage (int|Language|string): Language for editor, if different from user’s languagefield (string): Only edit field with this namefields (string): CSV string of fields to edit, rather than all fields on apgefnsx (string): Field name suffix, applicable only when field or fields (above) is also set, in specific situations like repeaters- `uploadOnlyMode (string|int): Upload only mode (internal use)
|
Return value
ProcessPageEdit methods and properties
API reference based on ProcessWire core version 3.0.236