SortKey
Read onlyYes
FinalYes
One reference's sort key over a batch: a rank per row (0 null, 1 value, 2 NaN) and the value it orders by within rank 1, compared with $flag (SORT_NUMERIC, SORT_STRING or SORT_REGULAR).
Properties
- $descending : bool
- $flag : int
- $ranks : array<string|int, mixed>
- $values : array<string|int, mixed>
Methods
- __construct() : mixed
Properties
$descending
public
bool
$descending
$flag
public
int
$flag
$ranks
public
array<string|int, mixed>
$ranks
$values
public
array<string|int, mixed>
$values
Methods
__construct()
public
__construct(array<int, int> $ranks, array<int, mixed> $values, int $flag, bool $descending) : mixed
Parameters
- $ranks : array<int, int>
- $values : array<int, mixed>
- $flag : int
- $descending : bool