InputfieldPageListSelect class

Selection of a single page from a ProcessWire page tree list

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

Show class?             Show args?        

Common

NameReturnSummary 
cancelLabel string 
getPageLabel(Page $page)
stringGet label to represent given $page 
isEmpty()
boolIs this Inputfield empty? (Value attribute reflects an empty state) 
labelFieldName string 
moreLabel string 
pageListReady(string $name, string $labelFieldName)
(nothing)Render ready 
parent_id int 
processInput($input)
$thisProcess input for this Inputfield directly from the POST (or GET) variables
render()
stringRender the HTML input element(s) markup, ready for insertion in an HTML form.
renderMarkupValue($value)
stringRender markup value for PageListSelect/PageListSelectMultiple 
renderParentError()
string@return string 
renderReady()
boolMethod called right before Inputfield markup is rendered, so that any dependencies can be loaded as well. 
renderValue()
stringRender just the value (not input) in text/markup for presentation purposes.
selectLabel string 
setAttribute($key, $value)
(nothing) 
showPath bool 
startLabel string 
unselectLabel string 

Additional methods and properties

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

API reference based on ProcessWire core version 3.0.244

“We chose ProcessWire because of its excellent architecture, modular extensibility and the internal API. The CMS offers the necessary flexibility and performance for such a complex website like superbude.de. ProcessWire offers options that are only available for larger systems, such as Drupal, and allows a much slimmer development process.” —xport communication GmbH