Return array or string of configured template IDs
Usage
// basic usage
$array = $inputfieldPage->getTemplateIDs();
// usage with all arguments
$array = $inputfieldPage->getTemplateIDs(bool $getString = false);
Arguments
Name | Type(s) | Description |
---|---|---|
getString (optional) | bool | Specify true to return a 1|2|3 style string rather than an array |
Return value
array
string
InputfieldPage methods and properties
API reference based on ProcessWire core version 3.0.236