ProcessPageType class

Manage, edit add pages of a specific type in ProcessWire

For more details about how Process modules work, please see: wire/core/Process.php


Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the ProcessPageType class also inherits all the methods and properties of: Process, WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
ProcessPageType::execute()
string

Main execution method, delegated to listing items in this page type

ProcessPageType::executeActions()
None
ProcessPageType::executeAdd()
string

Add item of this page type

ProcessPageType::executeConfig()
None
ProcessPageType::executeEdit()
string

Edit item of this page type

ProcessPageType::executeEditBookmark()
None
ProcessPageType::executeList()
string

List items in this page type

ProcessPageType::executeNavJSON()
string array

Output JSON list of navigation items for this (intended to for ajax use)

ProcessPageType::executeReset()
None
ProcessPageType::executeSave()
None
ProcessPageType::executeSaveTemplate()
string

Execute saving changes of the "change template" action delegated to ProcessPageEdit

ProcessPageType::executeTemplate()
string

Execute the "change template" action delegated to ProcessPageEdit

ProcessPageType::executeUnknown()
string

Catch-all for bookmarks

ProcessPageType::executeViewport()
None
ProcessPageType::getLister()
ProcessPageLister null

Get an instanceof ProcessPageLister or null if not applicable

 
ProcessPageType::getPage()
NullPage Page

Get page being edited (for WirePageEditor interface)

 
ProcessPageType::search(string $text)
array

Search for items containing $text and return an array representation of them

 

Properties

NameReturnSummary 
ProcessPageType::addLabel string Translated "Add New" label 
ProcessPageType::jsonListLabel string What to use for 'label' property in JSON nav data
DEFAULT: 'name'
 
ProcessPageType::showFields array Names of fields to show in the main list table
DEFAULT: ['name']
 

Additional methods and properties

In addition to the methods and properties above, ProcessPageType also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.253