mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 09:44:38 +02:00
Various fixes and improvements related to Selectors and the find operators
This commit is contained in:
@@ -1585,6 +1585,7 @@ class PageFinder extends Wire {
|
||||
$q = $this->wire(new DatabaseQuerySelect());
|
||||
}
|
||||
|
||||
/** @var PageFinderDatabaseQuerySelect $q */
|
||||
$q->set('field', $field); // original field if required by the fieldtype
|
||||
$q->set('group', $group); // original group of the field, if required by the fieldtype
|
||||
$q->set('selector', $selector); // original selector if required by the fieldtype
|
||||
@@ -3214,3 +3215,14 @@ class PageFinder extends Wire {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Typehinting class for DatabaseQuerySelect object passed to Fieldtype::getMatchQuery()
|
||||
*
|
||||
* @property Field $field Original field
|
||||
* @property string $group Original group of the field
|
||||
* @property Selector $selector Original Selector object
|
||||
* @property Selectors $selectors Original Selectors object
|
||||
* @property DatabaseQuerySelect $parentQuery Parent database query
|
||||
*/
|
||||
abstract class PageFinderDatabaseQuerySelect extends DatabaseQuerySelect { }
|
||||
|
||||
|
Reference in New Issue
Block a user