Select one or more pages
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Inputfield
class also inherits all the methods and properties of: Inputfield, WireData and Wire.
Common
Name | Return | Summary | |
---|---|---|---|
Inputfield Inputfield Inputfield | Inputfield Inputfield | Add a CSS class name (extends Inputfield::addClass) | |
Inputfield | int bool | ||
Inputfield | int bool | ||
Inputfield Inputfield Inputfield | string array | Create a page finding selector from all configured properties | |
Inputfield | int | ||
Inputfield Inputfield Inputfield | PageArray | Can also be used as property: Inputfield | |
Inputfield | string | Same as findPageSelector, but configured interactively with InputfieldSelector . | |
Inputfield | string | ||
Inputfield Inputfield Inputfield | InputfieldWrapper | Get field configuration Inputfields | |
Inputfield Inputfield Inputfield | array | Get recommended setups for FieldtypePage/Inputfield | |
Inputfield Inputfield Inputfield | Inputfield null | Get delegate Inputfield for page selection | |
Inputfield Inputfield Inputfield | array | Get options available for page selection Inputfields | |
Inputfield Inputfield Inputfield | string | Get a label for the given page | |
Inputfield Inputfield Inputfield | PageArray null | Return PageArray of selectable pages for this input | |
Inputfield Inputfield Inputfield | mixed | Gets a setting (or API variable) from the Inputfield, while ignoring attributes. | |
Inputfield Inputfield Inputfield | array string | Return array or string of configured template IDs | |
Inputfield Inputfield Inputfield | bool | Does this Inputfield have the requested property or attribute? | |
Inputfield | string | Inputfield class used for input | |
Inputfield | string | Public property alias of protected getInputfieldClass() method | |
Inputfield | array | ||
Inputfield Inputfield Inputfield | bool | Does this Inputfield have an empty value? | |
Inputfield Inputfield Inputfield | bool | Is the given $page valid for the given $field? | |
Inputfield | string | Formatting string for $page->getMarkup() as alternative to $labelFieldName | |
Inputfield | string | Field name to use for label (note: this will be "." if $labelFieldFormat is in use). | |
Inputfield | int | ||
Inputfield Inputfield Inputfield | this Inputfield | Process input | |
Inputfield Inputfield Inputfield | (nothing) | ||
Inputfield Inputfield Inputfield | string | Render | |
Inputfield Inputfield Inputfield | string | ||
Inputfield Inputfield Inputfield | bool | Called before render() | |
Inputfield Inputfield Inputfield | string | Render non-editable value | |
Inputfield Inputfield Inputfield | Inputfield Inputfield | Set an input attribute | |
Inputfield | int | ||
Inputfield | array |
For hooks
These methods are only useful for hooking and should not be called directly.
Name | Return | Summary | |
---|---|---|---|
Inputfield Inputfield Inputfield | string | Render a label for the given page |
Additional methods and properties
In addition to the methods and properties above, Inputfield
API reference based on ProcessWire core version 3.0.236