1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 09:44:38 +02:00
This commit is contained in:
Ryan Cramer
2020-11-13 10:18:18 -05:00
parent 65bcf7fe40
commit 9d0cf061ed

View File

@@ -187,14 +187,13 @@ abstract class Selector extends WireData {
*
*/
public function __construct($field, $value) {
$this->setField($field);
$this->setValue($value);
$this->set('not', false);
$this->set('not', false);
$this->set('group', null); // group name identified with 'group_name@' before a field name
$this->set('quote', ''); // if $value in quotes, this contains either: ', ", [, {, or (, indicating quote type (set by Selectors class)
$this->set('forceMatch', null); // boolean true to force match, false to force non-match
parent::set('altOperators', array()); // optional alternate operators
$this->setField($field);
$this->setValue($value);
}
/**