HumHub Documentation (unofficial)

QueryMatchFilter extends AbstractFilter
in package

Table of Contents

Constants

MATCH_QUERY_OPERATORS  = ' @(\.(?<key>[^\s<>!=]+)|\[["\']?(?<keySquare>.*?)["\']?\]) (\s*(?<operator>==|=~|=|<>|!==|!=|>=|<=|>|<|in|!in|nin)\s*(?<comparisonValue>.+))? '

Properties

$magicIsAllowed  : bool
$token  : JSONPathToken

Methods

__construct()  : mixed
filter()  : array<string|int, mixed>

Constants

MATCH_QUERY_OPERATORS

protected mixed MATCH_QUERY_OPERATORS = ' @(\.(?<key>[^\s<>!=]+)|\[["\']?(?<keySquare>.*?)["\']?\]) (\s*(?<operator>==|=~|=|<>|!==|!=|>=|<=|>|<|in|!in|nin)\s*(?<comparisonValue>.+))? '

Properties

Methods

filter()

public filter(mixed $collection) : array<string|int, mixed>
Parameters
$collection : mixed
Tags
inheritDoc
Return values
array<string|int, mixed>

        
On this page

Search results