InputfieldPageName class

An Inputfield for handling ProcessWire page “name” fields

optional checkbox associated with the input, for use with language support


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

Show class?     Show args?       Only hookable?    

Properties

NameReturnSummaryDefault
InputfieldPageName::checkboxChecked bool  
InputfieldPageName::checkboxLabel string 
InputfieldPageName::checkboxName string Leave blank to disable  
InputfieldPageName::checkboxSuffix string 
InputfieldPageName::checkboxValue string 
InputfieldPageName::editPage Page null Page being edited 
InputfieldPageName::languageSupportLabel string 
InputfieldPageName::parentPage Page null Parent of page being edited 
InputfieldPageName::sanitizeMethod string Default = 'pageName' 
InputfieldPageName::slashUrls bool int whether a trailing slash should be shown in the URL preview 1

Additional methods and properties

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

API reference based on ProcessWire core version 3.0.251