Copied!

Id

Id.php : 13
Extends SortClause

This class is the base for SortClause classes, used to set sorting of URL queries.

Constants

publicSORT_ASC

SortClause.php : 18
public mixed SORT_ASC = 'ascending'

publicSORT_DESC

SortClause.php : 19
public mixed SORT_DESC = 'descending'

Properties

public $direction

SortClause.php : 26

Sort direction.

public string $direction = self::SORT_ASC

public $target

SortClause.php : 33

Sort target.

public string $target

Methods

public__construct()

Id.php : 20

Constructs a new Id SortClause.

public __construct([string $sortDirection = self::SORT_ASC ])

Parameters

Name Type Default value Description
$sortDirection string Id::SORT_ASC -