Documentation

UtilArrayQuery
in package

Table of Contents

$closures  : mixed
buildCondition()  : string
check()  : bool
closureCall()  : mixed
evaluate()  : mixed

Properties

$closures

protected static mixed $closures = []

Methods

buildCondition()

public static buildCondition(mixed $criteria[, string $concat = ' && ' ]) : string
Parameters
$criteria : mixed
$concat : string = ' && '
Return values
string

check()

public static check(mixed $value, array<string|int, mixed> $condition) : bool
Parameters
$value : mixed
$condition : array<string|int, mixed>
Return values
bool

closureCall()

public static closureCall(string $uid, mixed $doc) : mixed
Parameters
$uid : string
$doc : mixed
Return values
mixed

evaluate()

private static evaluate(string $func, mixed $a, mixed $b) : mixed
Parameters
$func : string
$a : mixed
$b : mixed
Return values
mixed

Search results