Documentation

Order
in package
implements ComponentInterface

Table of Contents

Interfaces

ComponentInterface

Properties

$orders  : array<string|int, mixed>

Methods

__construct()  : mixed
__toString()  : string
create()  : Order
empty()  : bool
buildSortField()  : string
parse()  : void

Properties

$orders read-only

private array<string|int, mixed> $orders

Methods

__construct()

public __construct(array<string|int, mixed> $sortFields) : mixed
Parameters
$sortFields : array<string|int, mixed>

__toString()

public __toString() : string
Return values
string

create()

public static create(array<string|int, mixed> $sortFields) : Order
Parameters
$sortFields : array<string|int, mixed>
Return values
Order

empty()

public empty() : bool
Return values
bool

buildSortField()

private buildSortField(string $field, Sort $sort) : string
Parameters
$field : string
$sort : Sort
Return values
string

parse()

private parse(array<string|int, mixed> $sortFields) : void
Parameters
$sortFields : array<string|int, mixed>

        
On this page

Search results