Determine allowed templates from selector string
If a template is specified in the selector, keep track of it so that we may use it for determining what fields to show and 'add new' page features.
Usage
// basic usage
$array = $processPageLister->getSelectorTemplates(string $selector);
// usage with all arguments
$array = $processPageLister->getSelectorTemplates(string $selector, bool $getArray = true);
Arguments
Name | Type(s) | Description |
---|---|---|
selector | string | |
getArray (optional) | bool |
Return value
array
ProcessPageLister methods and properties
API reference based on ProcessWire core version 3.0.236