Copied!

AttributeDefinitionQuery

AttributeDefinitionQuery.php : 25

Constants

publicDEFAULT_LIMIT

AbstractCriterionQuery.php : 19
public mixed DEFAULT_LIMIT = 25

Methods

public__construct()

AbstractCriterionQuery.php : 41
public __construct([CriterionInterface|null $query = null ][, array<int, AbstractSortClause>|null $sortClauses = [] ][, int|null $limit = self::DEFAULT_LIMIT ][, int $offset = 0 ])

Parameters

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

publicaddSortClause()

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

Parameters

Name Type Default value Description
$sortClause AbstractSortClause - -

publicand()

AttributeDefinitionQuery.php : 27
public and(CriterionInterface ...$criteria) : void

Parameters

Name Type Default value Description
$criteria CriterionInterface - -

publicgetAttributesGroups()

AttributeDefinitionQuery.php : 56

Always returns null, because it is not feasible to recreate Attribute Group from an identifier in a Query object.

public getAttributesGroups() : array<string|int, AttributeGroupInterface>|null

Return values

array<string|int, AttributeGroupInterface>|null

Tags
Deprecated

no replacement is provided.

publicgetLimit()

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

Return values

int|null

publicgetNamePrefix()

AttributeDefinitionQuery.php : 111
public getNamePrefix() : string|null

Return values

string|null

Tags
Deprecated

no replacement is provided.

publicgetOffset()

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

Return values

int

publicgetQuery()

AbstractCriterionQuery.php : 64
public final getQuery() : CriterionInterface|null

Return values

CriterionInterface|null

publicgetSortClauses()

AbstractCriterionQuery.php : 99
public final getSortClauses() : array<int, AbstractSortClause>

Return values

array<int, AbstractSortClause>

publichasQuery()

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

Return values

bool

publicsetAttributesGroups()

AttributeDefinitionQuery.php : 75
public setAttributesGroups(array<string|int, AttributeGroupInterface>|null $attributesGroups) : void

Parameters

Name Type Default value Description
$attributesGroups array<string|int, AttributeGroupInterface>|null - -
Tags
Deprecated

use AttributeDefinitionQuery::and() method with AttributeGroupIdentifierCriterion instead.

publicsetLimit()

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

Parameters

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

publicsetNamePrefix()

AttributeDefinitionQuery.php : 130
public setNamePrefix(string|null $namePrefix) : void

Parameters

Name Type Default value Description
$namePrefix string|null - -
Tags
Deprecated

use AttributeDefinitionQuery::and() method with NameCriterion instead.

publicsetOffset()

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

Parameters

Name Type Default value Description
$offset int - -

publicsetQuery()

AbstractCriterionQuery.php : 56
public final setQuery(CriterionInterface|null $criterion) : void

Parameters

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

publicsetSortClauses()

AbstractCriterionQuery.php : 117
public final setSortClauses(array<int, AbstractSortClause$sortClauses) : void

Parameters

Name Type Default value Description
$sortClauses array<int, AbstractSortClause> - -