Свойство | Type | Description | |
---|---|---|---|
$arrChildFilters | MetaModels\Filter\IFilter[] | The list of child filters that shall be evaluated. | |
$stopAfterMatch | boolean | This flag determines if the rule shall return the result of the first child that returns at least one element (a return value of NULL from a rule counts as "all ids" in this context and therefore is considered non empty per definition). |
Méthode | Description | |
---|---|---|
__construct ( boolean $stopAfterMatch = false ) | Create a new FilterRule instance. | |
addChild ( MetaModels\Filter\IFilter $objFilter ) : |
Adds a child filter to this rule that will get evaluated when this rule is evaluated. | |
getMatchingIds ( ) : string[] | null | Fetch the ids from all child filter rules. |
public __construct ( boolean $stopAfterMatch = false ) | ||
$stopAfterMatch | boolean | Flag determining if filtering shall return the first non-empty match. |
public addChild ( MetaModels\Filter\IFilter $objFilter ) : |
||
$objFilter | MetaModels\Filter\IFilter | The filter to add as child. |
Résultat |
public getMatchingIds ( ) : string[] | null | ||
Résultat | string[] | null |
protected IFilter[],MetaModels\Filter $arrChildFilters | ||
Résultat | MetaModels\Filter\IFilter[] |
protected bool $stopAfterMatch | ||
Résultat | boolean |