onOffice WP Plugin

SortListValidator
in package

Table of Contents

isSortbyValide()  : bool
isSortorderValide()  : bool

Methods

isSortbyValide()

public isSortbyValide(string $sortBy, array<string|int, mixed> $sortbyUserDefinedValues) : bool
Parameters
$sortBy : string
$sortbyUserDefinedValues : array<string|int, mixed>
Return values
bool

isSortorderValide()

public isSortorderValide(string $sortorder) : bool
Parameters
$sortorder : string
Return values
bool

Search results