class CartItemQuery extends CartItemQuery

Skeleton subclass for performing query and update operations on the 'cart_item' table.

You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

Methods

__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\CartItem', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\CartItemQuery object.

static  CartItemQuery
create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildCartItemQuery object.

CartItem|array|mixed
findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

ObjectCollection|array|mixed
findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

filterByPrimaryKey( mixed $key)

Filter the query by primary key

filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

filterById( mixed $id = null, string $comparison = null)

Filter the query on the id column

filterByCartId( mixed $cartId = null, string $comparison = null)

Filter the query on the cart_id column

filterByProductId( mixed $productId = null, string $comparison = null)

Filter the query on the product_id column

filterByQuantity( mixed $quantity = null, string $comparison = null)

Filter the query on the quantity column

filterByProductSaleElementsId( mixed $productSaleElementsId = null, string $comparison = null)

Filter the query on the productsaleelements_id column

filterByPrice( mixed $price = null, string $comparison = null)

Filter the query on the price column

filterByPromoPrice( mixed $promoPrice = null, string $comparison = null)

Filter the query on the promo_price column

filterByPriceEndOfLife( mixed $priceEndOfLife = null, string $comparison = null)

Filter the query on the priceendof_life column

filterByPromo( mixed $promo = null, string $comparison = null)

Filter the query on the promo column

filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

filterByCart( Cart|ObjectCollection $cart, string $comparison = null)

Filter the query by a related \Thelia\Model\Cart object

joinCart( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Cart relation

useCartQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Cart relation Cart object

filterByProduct( Product|ObjectCollection $product, string $comparison = null)

Filter the query by a related \Thelia\Model\Product object

joinProduct( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Product relation

useProductQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Product relation Product object

filterByProductSaleElements( ProductSaleElements|ObjectCollection $productSaleElements, string $comparison = null)

Filter the query by a related \Thelia\Model\ProductSaleElements object

joinProductSaleElements( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ProductSaleElements relation

useProductSaleElementsQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ProductSaleElements relation ProductSaleElements object

prune( CartItem $cartItem = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the cart_item table.

int
delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildCartItem or Criteria object OR a primary key value.

recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

recentlyCreated( int $nbDays = 7)

Filter by the latest created

lastUpdatedFirst()

Order by update date desc

firstUpdatedFirst()

Order by update date asc

lastCreatedFirst()

Order by create date desc

firstCreatedFirst()

Order by create date asc

ChildCartItemQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildCartItemQuery
orderByCartId($order = Criteria::ASC)

Order by the cart_id column

ChildCartItemQuery
orderByProductId($order = Criteria::ASC)

Order by the product_id column

ChildCartItemQuery
orderByQuantity($order = Criteria::ASC)

Order by the quantity column

ChildCartItemQuery
orderByProductSaleElementsId($order = Criteria::ASC)

Order by the productsaleelements_id column

ChildCartItemQuery
orderByPrice($order = Criteria::ASC)

Order by the price column

ChildCartItemQuery
orderByPromoPrice($order = Criteria::ASC)

Order by the promo_price column

ChildCartItemQuery
orderByPriceEndOfLife($order = Criteria::ASC)

Order by the priceendof_life column

ChildCartItemQuery
orderByPromo($order = Criteria::ASC)

Order by the promo column

ChildCartItemQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildCartItemQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildCartItemQuery
groupById()

Group by the id column

ChildCartItemQuery
groupByCartId()

Group by the cart_id column

ChildCartItemQuery
groupByProductId()

Group by the product_id column

ChildCartItemQuery
groupByQuantity()

Group by the quantity column

ChildCartItemQuery
groupByProductSaleElementsId()

Group by the productsaleelements_id column

ChildCartItemQuery
groupByPrice()

Group by the price column

ChildCartItemQuery
groupByPromoPrice()

Group by the promo_price column

ChildCartItemQuery
groupByPriceEndOfLife()

Group by the priceendof_life column

ChildCartItemQuery
groupByPromo()

Group by the promo column

ChildCartItemQuery
groupByCreatedAt()

Group by the created_at column

ChildCartItemQuery
groupByUpdatedAt()

Group by the updated_at column

ChildCartItemQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildCartItemQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildCartItemQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildCartItemQuery
leftJoinCart($relationAlias = null)

Adds a LEFT JOIN clause to the query using the Cart relation

ChildCartItemQuery
rightJoinCart($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the Cart relation

ChildCartItemQuery
innerJoinCart($relationAlias = null)

Adds a INNER JOIN clause to the query using the Cart relation

ChildCartItemQuery
leftJoinProduct($relationAlias = null)

Adds a LEFT JOIN clause to the query using the Product relation

ChildCartItemQuery
rightJoinProduct($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the Product relation

ChildCartItemQuery
innerJoinProduct($relationAlias = null)

Adds a INNER JOIN clause to the query using the Product relation

ChildCartItemQuery
leftJoinProductSaleElements($relationAlias = null)

Adds a LEFT JOIN clause to the query using the ProductSaleElements relation

ChildCartItemQuery
rightJoinProductSaleElements($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation

ChildCartItemQuery
innerJoinProductSaleElements($relationAlias = null)

Adds a INNER JOIN clause to the query using the ProductSaleElements relation

ChildCartItem
findOne( ConnectionInterface $con = null)

Return the first ChildCartItem matching the query

ChildCartItem
findOneOrCreate( ConnectionInterface $con = null)

Return the first ChildCartItem matching the query, or a new ChildCartItem object populated from the query conditions when no match is found

ChildCartItem
findOneById( int $id)

Return the first ChildCartItem filtered by the id column

ChildCartItem
findOneByCartId( int $cart_id)

Return the first ChildCartItem filtered by the cart_id column

ChildCartItem
findOneByProductId( int $product_id)

Return the first ChildCartItem filtered by the product_id column

ChildCartItem
findOneByQuantity( double $quantity)

Return the first ChildCartItem filtered by the quantity column

ChildCartItem
findOneByProductSaleElementsId( int $product_sale_elements_id)

Return the first ChildCartItem filtered by the productsaleelements_id column

ChildCartItem
findOneByPrice( string $price)

Return the first ChildCartItem filtered by the price column

ChildCartItem
findOneByPromoPrice( string $promo_price)

Return the first ChildCartItem filtered by the promo_price column

ChildCartItem
findOneByPriceEndOfLife( string $price_end_of_life)

Return the first ChildCartItem filtered by the priceendof_life column

ChildCartItem
findOneByPromo( int $promo)

Return the first ChildCartItem filtered by the promo column

ChildCartItem
findOneByCreatedAt( string $created_at)

Return the first ChildCartItem filtered by the created_at column

ChildCartItem
findOneByUpdatedAt( string $updated_at)

Return the first ChildCartItem filtered by the updated_at column

array
findById( int $id)

Return ChildCartItem objects filtered by the id column

array
findByCartId( int $cart_id)

Return ChildCartItem objects filtered by the cart_id column

array
findByProductId( int $product_id)

Return ChildCartItem objects filtered by the product_id column

array
findByQuantity( double $quantity)

Return ChildCartItem objects filtered by the quantity column

array
findByProductSaleElementsId( int $product_sale_elements_id)

Return ChildCartItem objects filtered by the productsaleelements_id column

array
findByPrice( string $price)

Return ChildCartItem objects filtered by the price column

array
findByPromoPrice( string $promo_price)

Return ChildCartItem objects filtered by the promo_price column

array
findByPriceEndOfLife( string $price_end_of_life)

Return ChildCartItem objects filtered by the priceendof_life column

array
findByPromo( int $promo)

Return ChildCartItem objects filtered by the promo column

array
findByCreatedAt( string $created_at)

Return ChildCartItem objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildCartItem objects filtered by the updated_at column

Details

in CartItemQuery at line 102
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\CartItem', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\CartItemQuery object.

Parameters

string $dbName The database name
string $modelName The phpName of a model, e.g. 'Book'
string $modelAlias The alias for the model in this query, e.g. 'b'

in CartItemQuery at line 115
static CartItemQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildCartItemQuery object.

Parameters

string $modelAlias The alias of a model in the query
Criteria $criteria Optional Criteria to build the query from

Return Value

CartItemQuery

in CartItemQuery at line 145
CartItem|array|mixed findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

Propel uses the instance pool to skip the database if the object exists. Go fast if the query is untouched.

$obj = $c->findPk(12, $con);

Parameters

mixed $key Primary key to use for the query
ConnectionInterface $con an optional connection object

Return Value

CartItem|array|mixed the result, formatted by the current formatter

in CartItemQuery at line 227
ObjectCollection|array|mixed findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

Parameters

array $keys Primary keys to use for the query
ConnectionInterface $con an optional connection object

Return Value

ObjectCollection|array|mixed the list of results, formatted by the current formatter

in CartItemQuery at line 248
CartItemQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 261
CartItemQuery filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

Parameters

array $keys The list of primary key to use for the query

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 285
CartItemQuery filterById( mixed $id = null, string $comparison = null)

Filter the query on the id column

Example usage: $query->filterById(1234); // WHERE id = 1234 $query->filterById(array(12, 34)); // WHERE id IN (12, 34) $query->filterById(array('min' => 12)); // WHERE id > 12

Parameters

mixed $id The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 328
CartItemQuery filterByCartId( mixed $cartId = null, string $comparison = null)

Filter the query on the cart_id column

Example usage: $query->filterByCartId(1234); // WHERE cartid = 1234 $query->filterByCartId(array(12, 34)); // WHERE cartid IN (12, 34) $query->filterByCartId(array('min' => 12)); // WHERE cart_id > 12

Parameters

mixed $cartId The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

See also

filterByCart()

in CartItemQuery at line 371
CartItemQuery filterByProductId( mixed $productId = null, string $comparison = null)

Filter the query on the product_id column

Example usage: $query->filterByProductId(1234); // WHERE productid = 1234 $query->filterByProductId(array(12, 34)); // WHERE productid IN (12, 34) $query->filterByProductId(array('min' => 12)); // WHERE product_id > 12

Parameters

mixed $productId The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

See also

filterByProduct()

in CartItemQuery at line 412
CartItemQuery filterByQuantity( mixed $quantity = null, string $comparison = null)

Filter the query on the quantity column

Example usage: $query->filterByQuantity(1234); // WHERE quantity = 1234 $query->filterByQuantity(array(12, 34)); // WHERE quantity IN (12, 34) $query->filterByQuantity(array('min' => 12)); // WHERE quantity > 12

Parameters

mixed $quantity The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 455
CartItemQuery filterByProductSaleElementsId( mixed $productSaleElementsId = null, string $comparison = null)

Filter the query on the productsaleelements_id column

Example usage: $query->filterByProductSaleElementsId(1234); // WHERE productsaleelementsid = 1234 $query->filterByProductSaleElementsId(array(12, 34)); // WHERE productsaleelementsid IN (12, 34) $query->filterByProductSaleElementsId(array('min' => 12)); // WHERE productsaleelements_id > 12

Parameters

mixed $productSaleElementsId The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

See also

filterByProductSaleElements()

in CartItemQuery at line 496
CartItemQuery filterByPrice( mixed $price = null, string $comparison = null)

Filter the query on the price column

Example usage: $query->filterByPrice(1234); // WHERE price = 1234 $query->filterByPrice(array(12, 34)); // WHERE price IN (12, 34) $query->filterByPrice(array('min' => 12)); // WHERE price > 12

Parameters

mixed $price The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 537
CartItemQuery filterByPromoPrice( mixed $promoPrice = null, string $comparison = null)

Filter the query on the promo_price column

Example usage: $query->filterByPromoPrice(1234); // WHERE promoprice = 1234 $query->filterByPromoPrice(array(12, 34)); // WHERE promoprice IN (12, 34) $query->filterByPromoPrice(array('min' => 12)); // WHERE promo_price > 12

Parameters

mixed $promoPrice The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 580
CartItemQuery filterByPriceEndOfLife( mixed $priceEndOfLife = null, string $comparison = null)

Filter the query on the priceendof_life column

Example usage: $query->filterByPriceEndOfLife('2011-03-14'); // WHERE priceendoflife = '2011-03-14' $query->filterByPriceEndOfLife('now'); // WHERE priceendoflife = '2011-03-14' $query->filterByPriceEndOfLife(array('max' => 'yesterday')); // WHERE priceendof_life > '2011-03-13'

Parameters

mixed $priceEndOfLife The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 621
CartItemQuery filterByPromo( mixed $promo = null, string $comparison = null)

Filter the query on the promo column

Example usage: $query->filterByPromo(1234); // WHERE promo = 1234 $query->filterByPromo(array(12, 34)); // WHERE promo IN (12, 34) $query->filterByPromo(array('min' => 12)); // WHERE promo > 12

Parameters

mixed $promo The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 664
CartItemQuery filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

Example usage: $query->filterByCreatedAt('2011-03-14'); // WHERE createdat = '2011-03-14' $query->filterByCreatedAt('now'); // WHERE createdat = '2011-03-14' $query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at > '2011-03-13'

Parameters

mixed $createdAt The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 707
CartItemQuery filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

Example usage: $query->filterByUpdatedAt('2011-03-14'); // WHERE updatedat = '2011-03-14' $query->filterByUpdatedAt('now'); // WHERE updatedat = '2011-03-14' $query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'

Parameters

mixed $updatedAt The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 738
CartItemQuery filterByCart( Cart|ObjectCollection $cart, string $comparison = null)

Filter the query by a related \Thelia\Model\Cart object

Parameters

Cart|ObjectCollection $cart The related object(s) to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 763
CartItemQuery joinCart( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Cart relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 798
CartQuery useCartQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Cart relation Cart object

Parameters

string $relationAlias optional alias for the relation, to be used as main alias in the secondary query
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

CartQuery A secondary query class using the current class as primary query

See also

useQuery()

in CartItemQuery at line 813
CartItemQuery filterByProduct( Product|ObjectCollection $product, string $comparison = null)

Filter the query by a related \Thelia\Model\Product object

Parameters

Product|ObjectCollection $product The related object(s) to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 838
CartItemQuery joinProduct( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Product relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 873
ProductQuery useProductQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Product relation Product object

Parameters

string $relationAlias optional alias for the relation, to be used as main alias in the secondary query
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

ProductQuery A secondary query class using the current class as primary query

See also

useQuery()

in CartItemQuery at line 888
CartItemQuery filterByProductSaleElements( ProductSaleElements|ObjectCollection $productSaleElements, string $comparison = null)

Filter the query by a related \Thelia\Model\ProductSaleElements object

Parameters

ProductSaleElements|ObjectCollection $productSaleElements The related object(s) to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 913
CartItemQuery joinProductSaleElements( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ProductSaleElements relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 948
ProductSaleElementsQuery useProductSaleElementsQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ProductSaleElements relation ProductSaleElements object

Parameters

string $relationAlias optional alias for the relation, to be used as main alias in the secondary query
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

ProductSaleElementsQuery A secondary query class using the current class as primary query

See also

useQuery()

in CartItemQuery at line 962
CartItemQuery prune( CartItem $cartItem = null)

Exclude object from result

Parameters

CartItem $cartItem Object to remove from the list of results

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 977
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the cart_item table.

Parameters

ConnectionInterface $con the connection to use

Return Value

int The number of affected rows (if supported by underlying database driver).

in CartItemQuery at line 1014
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildCartItem or Criteria object OR a primary key value.

Parameters

ConnectionInterface $con

Return Value

int The number of affected rows (if supported by underlying database driver). This includes CASCADE-related rows if supported by native driver or if emulated using Propel.

Exceptions

PropelException Any exceptions caught during processing will be rethrown wrapped into a PropelException.

in CartItemQuery at line 1055
CartItemQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 1067
CartItemQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 1077
CartItemQuery lastUpdatedFirst()

Order by update date desc

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 1087
CartItemQuery firstUpdatedFirst()

Order by update date asc

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 1097
CartItemQuery lastCreatedFirst()

Order by create date desc

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 1107
CartItemQuery firstCreatedFirst()

Order by create date asc

Return Value

CartItemQuery The current query, for fluid interface

in CartItemQuery at line 92
ChildCartItemQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByCartId($order = Criteria::ASC)

Order by the cart_id column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByProductId($order = Criteria::ASC)

Order by the product_id column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByQuantity($order = Criteria::ASC)

Order by the quantity column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByProductSaleElementsId($order = Criteria::ASC)

Order by the productsaleelements_id column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByPrice($order = Criteria::ASC)

Order by the price column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByPromoPrice($order = Criteria::ASC)

Order by the promo_price column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByPriceEndOfLife($order = Criteria::ASC)

Order by the priceendof_life column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByPromo($order = Criteria::ASC)

Order by the promo column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupById()

Group by the id column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByCartId()

Group by the cart_id column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByProductId()

Group by the product_id column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByQuantity()

Group by the quantity column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByProductSaleElementsId()

Group by the productsaleelements_id column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByPrice()

Group by the price column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByPromoPrice()

Group by the promo_price column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByPriceEndOfLife()

Group by the priceendof_life column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByPromo()

Group by the promo column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery leftJoinCart($relationAlias = null)

Adds a LEFT JOIN clause to the query using the Cart relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery rightJoinCart($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the Cart relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery innerJoinCart($relationAlias = null)

Adds a INNER JOIN clause to the query using the Cart relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery leftJoinProduct($relationAlias = null)

Adds a LEFT JOIN clause to the query using the Product relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery rightJoinProduct($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the Product relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery innerJoinProduct($relationAlias = null)

Adds a INNER JOIN clause to the query using the Product relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery leftJoinProductSaleElements($relationAlias = null)

Adds a LEFT JOIN clause to the query using the ProductSaleElements relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery rightJoinProductSaleElements($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItemQuery innerJoinProductSaleElements($relationAlias = null)

Adds a INNER JOIN clause to the query using the ProductSaleElements relation

Parameters

$relationAlias

Return Value

ChildCartItemQuery

in CartItemQuery at line 92
ChildCartItem findOne( ConnectionInterface $con = null)

Return the first ChildCartItem matching the query

Parameters

ConnectionInterface $con

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneOrCreate( ConnectionInterface $con = null)

Return the first ChildCartItem matching the query, or a new ChildCartItem object populated from the query conditions when no match is found

Parameters

ConnectionInterface $con

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneById( int $id)

Return the first ChildCartItem filtered by the id column

Parameters

int $id

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByCartId( int $cart_id)

Return the first ChildCartItem filtered by the cart_id column

Parameters

int $cart_id

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByProductId( int $product_id)

Return the first ChildCartItem filtered by the product_id column

Parameters

int $product_id

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByQuantity( double $quantity)

Return the first ChildCartItem filtered by the quantity column

Parameters

double $quantity

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByProductSaleElementsId( int $product_sale_elements_id)

Return the first ChildCartItem filtered by the productsaleelements_id column

Parameters

int $product_sale_elements_id

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByPrice( string $price)

Return the first ChildCartItem filtered by the price column

Parameters

string $price

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByPromoPrice( string $promo_price)

Return the first ChildCartItem filtered by the promo_price column

Parameters

string $promo_price

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByPriceEndOfLife( string $price_end_of_life)

Return the first ChildCartItem filtered by the priceendof_life column

Parameters

string $price_end_of_life

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByPromo( int $promo)

Return the first ChildCartItem filtered by the promo column

Parameters

int $promo

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByCreatedAt( string $created_at)

Return the first ChildCartItem filtered by the created_at column

Parameters

string $created_at

Return Value

ChildCartItem

in CartItemQuery at line 92
ChildCartItem findOneByUpdatedAt( string $updated_at)

Return the first ChildCartItem filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildCartItem

in CartItemQuery at line 92
array findById( int $id)

Return ChildCartItem objects filtered by the id column

Parameters

int $id

Return Value

array

in CartItemQuery at line 92
array findByCartId( int $cart_id)

Return ChildCartItem objects filtered by the cart_id column

Parameters

int $cart_id

Return Value

array

in CartItemQuery at line 92
array findByProductId( int $product_id)

Return ChildCartItem objects filtered by the product_id column

Parameters

int $product_id

Return Value

array

in CartItemQuery at line 92
array findByQuantity( double $quantity)

Return ChildCartItem objects filtered by the quantity column

Parameters

double $quantity

Return Value

array

in CartItemQuery at line 92
array findByProductSaleElementsId( int $product_sale_elements_id)

Return ChildCartItem objects filtered by the productsaleelements_id column

Parameters

int $product_sale_elements_id

Return Value

array

in CartItemQuery at line 92
array findByPrice( string $price)

Return ChildCartItem objects filtered by the price column

Parameters

string $price

Return Value

array

in CartItemQuery at line 92
array findByPromoPrice( string $promo_price)

Return ChildCartItem objects filtered by the promo_price column

Parameters

string $promo_price

Return Value

array

in CartItemQuery at line 92
array findByPriceEndOfLife( string $price_end_of_life)

Return ChildCartItem objects filtered by the priceendof_life column

Parameters

string $price_end_of_life

Return Value

array

in CartItemQuery at line 92
array findByPromo( int $promo)

Return ChildCartItem objects filtered by the promo column

Parameters

int $promo

Return Value

array

in CartItemQuery at line 92
array findByCreatedAt( string $created_at)

Return ChildCartItem objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in CartItemQuery at line 92
array findByUpdatedAt( string $updated_at)

Return ChildCartItem objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array