Copied!

AttributeDefinitionQuery

AttributeDefinitionQuery.php : 25

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 - -

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 : 78
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 : 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

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 : 83
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 : 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> - -