NodeFilter
class NodeFilter (View source)
Service to determine if a given node matches a series of filters given by configuration.
Properties
protected ObjectManagerInterface | $objectManager | ||
protected array | $filterConjunctions |
Methods
Return array with Doctrine expressions
No description
No description
Resolves the class name for the filter by first assuming it is a full qualified class name and otherwise searching in this package (so filters delivered in Neos.ContentRepository can be used by simply giving the class name without namespace).
Details
array
getFilterExpressions(array $filterConfigurations, Query $baseQuery)
Return array with Doctrine expressions
bool
matchFilters(NodeData $nodeData, array $filterConfiguration)
Apply local filters to result.
protected FilterInterface[]
buildFilterConjunction(array $filterConfigurations)
No description
protected FilterInterface|DoctrineFilterInterface
constructFilterObject(array $filterConfiguration)
No description
protected string
resolveFilterClass(string $name)
Resolves the class name for the filter by first assuming it is a full qualified class name and otherwise searching in this package (so filters delivered in Neos.ContentRepository can be used by simply giving the class name without namespace).