Get all of the Inputfields for this Fieldgroup associated with the provided Page and populate them.
Usage
// basic usage
$inputfieldWrapper = $fieldgroup->getPageInputfields(Page $page);
// usage with all arguments
$inputfieldWrapper = $fieldgroup->getPageInputfields(Page $page, $contextStr = '', $fieldName = '', string $namespace = '', bool $flat = true);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page | Page that the Inputfields will be for. |
contextStr (optional) | string, array | Optional context string to append to all the Inputfield names, OR array of options.
|
fieldName (optional) | string, array | Limit to a particular fieldName(s) or field IDs (optional).
|
namespace (optional) | string | Additional namespace for the Inputfield context (optional). |
flat (optional) | bool | Returns all Inputfields in a flattened InputfieldWrapper (default=true). |
Return value
InputfieldWrapper
Returns an InputfieldWrapper that acts as a container for multiple Inputfields.
Fieldgroup methods and properties
API reference based on ProcessWire core version 3.0.236