Copied!

CartQuery

CartQuery.php : 13

Constants

publicDEFAULT_LIMIT

CartQuery.php : 15
public mixed DEFAULT_LIMIT = 25

Methods

public__construct()

CartQuery.php : 25
public __construct([int $offset = 0 ][, int $limit = self::DEFAULT_LIMIT ][, int|null $ownerId = null ][, CriterionInterface|null $query = null ])

Parameters

Name Type Default value Description
$offset int 0 -
$limit int CartQuery::DEFAULT_LIMIT -
$ownerId int|null null -
$query CriterionInterface|null null -

publicgetLimit()

CartQuery.php : 52
public getLimit() : int

Return values

int

publicgetOffset()

CartQuery.php : 42
public getOffset() : int

Return values

int

publicgetOwnerId()

CartQuery.php : 62
public getOwnerId() : int|null

Return values

int|null

publicgetQuery()

CartQuery.php : 37
public getQuery() : CriterionInterface|null

Return values

CriterionInterface|null

publicsetLimit()

CartQuery.php : 57
public setLimit(int $limit) : void

Parameters

Name Type Default value Description
$limit int - -

publicsetOffset()

CartQuery.php : 47
public setOffset(int $offset) : void

Parameters

Name Type Default value Description
$offset int - -

publicsetOwnerId()

CartQuery.php : 67
public setOwnerId(int|null $ownerId) : void

Parameters

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