Selectors::init()

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

NameType(s)Description
$selectorstring array

Selectors methods and properties

API reference based on ProcessWire core version 3.0.252