ProcessPageSearch class

Provides page searching within the ProcessWire admin

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 ProcessPageSearch class also inherits all the methods and properties of: Process, WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
ProcessPageSearch::execute()
NonePerform an interactive search and provide a search form (default)
ProcessPageSearch::executeEditBookmark()
None 
ProcessPageSearch::executeFor()
NonePerform a non-interactive search (based on URL GET vars)
ProcessPageSearch::executeLive()
stringExecute live search 
ProcessPageSearch::executeReset()
None 
ProcessPageSearch::getOperators()
arrayGet operators used for searches, where key is operator and value is description 
ProcessPageSearch::getRepeatersPageID()
intGet ID of the repeaters root page ID or 0 if not installed 
ProcessPageSearch::renderSearchForm()
stringRender search for that submits to this process 
ProcessPageSearch::set($key, $value)
None 
ProcessPageSearch::setDisplayFormat(string $name, string $format)
NoneSet a display format 
ProcessPageSearch::setForSelector(string $name, string $selector)
stringSet a selector to use when $_GET['for_selector_name'] matches given $name 

For hooks

These methods are only useful for hooking and should not be called directly.

NameReturnSummary 
ProcessPageSearch::findReady(string $selector)
stringHookable function to optionally modify selector before it is sent to $pages->find()

Properties

NameReturnSummaryDefault
ProcessPageSearch::adminSearchMode bool int Deprecated/no longer in use? 
ProcessPageSearch::displayField string 
ProcessPageSearch::noSearchTypes array 
ProcessPageSearch::operator string Single-word/partial match operator 
ProcessPageSearch::operator2 string Multi-word operator 
ProcessPageSearch::searchFields string 
ProcessPageSearch::searchFields2 string 
ProcessPageSearch::searchTypesOrder array 

Additional methods and properties

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

API reference based on ProcessWire core version 3.0.251