Sanitize a selector string and return it
Usage
// basic usage
$string = $inputfieldSelector->sanitizeSelectorString($selectorString);
// usage with all arguments
$string = $inputfieldSelector->sanitizeSelectorString($selectorString, bool $parseVars = true);
Arguments
Name | Type(s) | Description |
---|---|---|
selectorString | ||
parseVars (optional) | bool | Whether variables like [user.id] should be converted to actual value |
Return value
string
InputfieldSelector methods and properties
API reference based on ProcessWire core version 3.0.236