ProcessPageList class

List pages in a hierarchical tree structure

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

Show class?             Show args?        

Common

NameReturnSummary 
ProcessPageList::ajaxAction(string $action)
stringProcess an AJAX action and return JSON string
ProcessPageList::execute()
stringExecute the Page List
ProcessPageList::executeBookmarks()
stringExecute the Page Bookmarks (to be phased out)
ProcessPageList::executeId()
(nothing)
ProcessPageList::executeNavJSON()
string arrayOutput JSON list of navigation items for this module's bookmarks
ProcessPageList::executeOpen()
(nothing)
ProcessPageList::find(string $selectorString, Page $page)
PageArray@param string $selectorString
ProcessPageList::getAfterLoginUrl(Page $page)
stringURL to redirect to after non-authenticated user is logged-in, or false if module does not support 
ProcessPageList::hidePages array Page IDs to hide from root page list. (3.0.202+) 
ProcessPageList::hidePagesNot array Values of 'debug', 'advanced', 'superuser' to not hide above pages when in that state. (3.0.202+) 
ProcessPageList::hoverActionDelay int Milliseconds delay between hover and showing of actions.  
ProcessPageList::hoverActionFade int Milliseconds to spend fading in or out actions.  
ProcessPageList::limit int Items to show per pagination.  
ProcessPageList::pageLabelField string Field name or field names (space separated) that should be used for page label. 
ProcessPageList::qtyType string What to show in children quantity label? 'children', 'total', 'children/total', 'total/children', or 'id' 
ProcessPageList::renderReady()
(nothing)Setup for render 
ProcessPageList::set(string $key, mixed $value)
Process ProcessPageListSet a value to this Page List (see WireData) 
ProcessPageList::setPageLabelField($name, $pageLabelField)
(nothing)Set the page label field 
ProcessPageList::setupBreadcrumbs()
(nothing)Setup the Breadcrumbs for the UI 
ProcessPageList::showRootPage bool Whether root page (like home) should be shown. 
ProcessPageList::speed int Animation speed (in ms) 
ProcessPageList::useBookmarks bool int Allow use of PageList bookmarks? 
ProcessPageList::useHoverActions bool int Whether or not to use hover mode for action links. 
ProcessPageList::useTrash bool int Allow non-superusers to use Trash? 

Additional methods and properties

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

API reference based on ProcessWire core version 3.0.236

Latest news

  • ProcessWire Weekly #556
    In the 556th issue of ProcessWire Weekly we're going to share the latest core development news, highlight a new third party module, and more. Read on!
    Weekly.pw / 4 January 2025
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani