Set the selector string or array (if not set already from the constructor)
Example
$selectors = new Selectors();
$selectors->init("sale_price|retail_price>100, currency=USD|EUR");
Usage
$selectors->init($selector);
Arguments
Name | Type(s) | Description |
---|---|---|
selector | string, array |
Selectors methods and properties
API reference based on ProcessWire core version 3.0.236