Copied!

CatalogQuery

CatalogQuery.php : 19

Constants

publicDEFAULT_LIMIT

AbstractCriterionQuery.php : 19
public mixed DEFAULT_LIMIT = 25

Methods

public__construct()

AbstractCriterionQuery.php : 35
public __construct([TCriterion|null $query = null ][, array<string|int, TSortClause>|null $sortClauses = [] ][, int|null $limit = self::DEFAULT_LIMIT ][, int $offset = 0 ])

Parameters

Name Type Default value Description
$query TCriterion|null null -
$sortClauses array<string|int, TSortClause>|null [] -
$limit int|null AbstractCriterionQuery::DEFAULT_LIMIT -
$offset int 0 -

publicaddSortClause()

AbstractCriterionQuery.php : 99
public final addSortClause(AbstractSortClause $sortClause) : void

Parameters

Name Type Default value Description
$sortClause AbstractSortClause - -

publicgetLimit()

AbstractCriterionQuery.php : 78
public final getLimit() : int|null

Return values

int|null

publicgetOffset()

AbstractCriterionQuery.php : 68
public final getOffset() : int

Return values

int

publicgetQuery()

AbstractCriterionQuery.php : 58
public final getQuery() : TCriterion|null

Return values

TCriterion|null

publicgetSortClauses()

AbstractCriterionQuery.php : 91
public final getSortClauses() : array<string|int, TSortClause>

Return values

array<string|int, TSortClause>

publichasQuery()

AbstractCriterionQuery.php : 63
public final hasQuery() : bool

Return values

bool

publicsetLimit()

AbstractCriterionQuery.php : 83
public final setLimit(int|null $limit) : void

Parameters

Name Type Default value Description
$limit int|null - -

publicsetOffset()

AbstractCriterionQuery.php : 73
public final setOffset(int $offset) : void

Parameters

Name Type Default value Description
$offset int - -

publicsetQuery()

AbstractCriterionQuery.php : 50
public final setQuery(TCriterion|null $criterion) : void

Parameters

Name Type Default value Description
$criterion TCriterion|null - -

publicsetSortClauses()

AbstractCriterionQuery.php : 107
public final setSortClauses(array<string|int, mixed> $sortClauses) : void

Parameters

Name Type Default value Description
$sortClauses array<string|int, mixed> - -