AttributeCombinationQuery
class AttributeCombinationQuery extends ModelCriteria
Base class that represents a query for the 'attribute_combination' table.
Methods
Initializes internal state of \Thelia\Model\Base\AttributeCombinationQuery object.
Returns a new ChildAttributeCombinationQuery object.
Find object by primary key.
Find objects by primary key
$objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
Filter the query by primary key
Filter the query by a list of primary keys
Filter the query on the attribute_id column
Filter the query on the attributeavid column
Filter the query on the productsaleelements_id column
Filter the query on the position column
Filter the query on the created_at column
Filter the query on the updated_at column
Filter the query by a related \Thelia\Model\Attribute object
Adds a JOIN clause to the query using the Attribute relation
Use the Attribute relation Attribute object
Filter the query by a related \Thelia\Model\AttributeAv object
Adds a JOIN clause to the query using the AttributeAv relation
Use the AttributeAv relation AttributeAv object
Filter the query by a related \Thelia\Model\ProductSaleElements object
Adds a JOIN clause to the query using the ProductSaleElements relation
Use the ProductSaleElements relation ProductSaleElements object
Deletes all rows from the attribute_combination table.
Performs a DELETE on the database, given a ChildAttributeCombination or Criteria object OR a primary key value.
Filter by the latest updated
Filter by the latest created
Order by update date desc
Order by update date asc
Order by create date desc
Order by create date asc
Order by the attribute_id column
Order by the attributeavid column
Order by the productsaleelements_id column
Order by the position column
Order by the created_at column
Order by the updated_at column
Group by the attribute_id column
Group by the attributeavid column
Group by the productsaleelements_id column
Group by the position column
Group by the created_at column
Group by the updated_at column
Adds a LEFT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Adds a INNER JOIN clause to the query
Adds a LEFT JOIN clause to the query using the Attribute relation
Adds a RIGHT JOIN clause to the query using the Attribute relation
Adds a INNER JOIN clause to the query using the Attribute relation
Adds a LEFT JOIN clause to the query using the AttributeAv relation
Adds a RIGHT JOIN clause to the query using the AttributeAv relation
Adds a INNER JOIN clause to the query using the AttributeAv relation
Adds a LEFT JOIN clause to the query using the ProductSaleElements relation
Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation
Adds a INNER JOIN clause to the query using the ProductSaleElements relation
Return the first ChildAttributeCombination matching the query
Return the first ChildAttributeCombination matching the query, or a new ChildAttributeCombination object populated from the query conditions when no match is found
Return the first ChildAttributeCombination filtered by the attribute_id column
Return the first ChildAttributeCombination filtered by the attributeavid column
Return the first ChildAttributeCombination filtered by the productsaleelements_id column
Return the first ChildAttributeCombination filtered by the position column
Return the first ChildAttributeCombination filtered by the created_at column
Return the first ChildAttributeCombination filtered by the updated_at column
Return ChildAttributeCombination objects filtered by the attribute_id column
Return ChildAttributeCombination objects filtered by the attributeavid column
Return ChildAttributeCombination objects filtered by the productsaleelements_id column
Return ChildAttributeCombination objects filtered by the position column
Return ChildAttributeCombination objects filtered by the created_at column
Return ChildAttributeCombination objects filtered by the updated_at column
Details
at line 82
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\AttributeCombination',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\AttributeCombinationQuery object.
at line 95
static
AttributeCombinationQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildAttributeCombinationQuery object.
at line 125
AttributeCombination|array|mixed
findPk($key, $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(array(12, 34, 56), $con);
at line 209
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
at line 230
AttributeCombinationQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 246
AttributeCombinationQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 283
AttributeCombinationQuery
filterByAttributeId(
mixed $attributeId = null,
string $comparison = null)
Filter the query on the attribute_id column
Example usage:
$query->filterByAttributeId(1234); // WHERE attributeid = 1234
$query->filterByAttributeId(array(12, 34)); // WHERE attributeid IN (12, 34)
$query->filterByAttributeId(array('min' => 12)); // WHERE attribute_id > 12
at line 326
AttributeCombinationQuery
filterByAttributeAvId(
mixed $attributeAvId = null,
string $comparison = null)
Filter the query on the attributeavid column
Example usage:
$query->filterByAttributeAvId(1234); // WHERE attributeavid = 1234
$query->filterByAttributeAvId(array(12, 34)); // WHERE attributeavid IN (12, 34)
$query->filterByAttributeAvId(array('min' => 12)); // WHERE attributeavid > 12
at line 369
AttributeCombinationQuery
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
at line 410
AttributeCombinationQuery
filterByPosition(
mixed $position = null,
string $comparison = null)
Filter the query on the position column
Example usage:
$query->filterByPosition(1234); // WHERE position = 1234
$query->filterByPosition(array(12, 34)); // WHERE position IN (12, 34)
$query->filterByPosition(array('min' => 12)); // WHERE position > 12
at line 453
AttributeCombinationQuery
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'
at line 496
AttributeCombinationQuery
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'
at line 527
AttributeCombinationQuery
filterByAttribute(
Attribute|ObjectCollection $attribute,
string $comparison = null)
Filter the query by a related \Thelia\Model\Attribute object
at line 552
AttributeCombinationQuery
joinAttribute(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Attribute relation
at line 587
AttributeQuery
useAttributeQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Attribute relation Attribute object
at line 602
AttributeCombinationQuery
filterByAttributeAv(
AttributeAv|ObjectCollection $attributeAv,
string $comparison = null)
Filter the query by a related \Thelia\Model\AttributeAv object
at line 627
AttributeCombinationQuery
joinAttributeAv(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the AttributeAv relation
at line 662
AttributeAvQuery
useAttributeAvQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the AttributeAv relation AttributeAv object
at line 677
AttributeCombinationQuery
filterByProductSaleElements(
ProductSaleElements|ObjectCollection $productSaleElements,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductSaleElements object
at line 702
AttributeCombinationQuery
joinProductSaleElements(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductSaleElements relation
at line 737
ProductSaleElementsQuery
useProductSaleElementsQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductSaleElements relation ProductSaleElements object
at line 751
AttributeCombinationQuery
prune(
AttributeCombination $attributeCombination = null)
Exclude object from result
at line 769
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the attribute_combination table.
at line 806
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildAttributeCombination or Criteria object OR a primary key value.
at line 847
AttributeCombinationQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 859
AttributeCombinationQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 869
AttributeCombinationQuery
lastUpdatedFirst()
Order by update date desc
at line 879
AttributeCombinationQuery
firstUpdatedFirst()
Order by update date asc
at line 889
AttributeCombinationQuery
lastCreatedFirst()
Order by create date desc
at line 899
AttributeCombinationQuery
firstCreatedFirst()
Order by create date asc
at line 72
ChildAttributeCombinationQuery
orderByAttributeId($order = Criteria::ASC)
Order by the attribute_id column
at line 72
ChildAttributeCombinationQuery
orderByAttributeAvId($order = Criteria::ASC)
Order by the attributeavid column
at line 72
ChildAttributeCombinationQuery
orderByProductSaleElementsId($order = Criteria::ASC)
Order by the productsaleelements_id column
at line 72
ChildAttributeCombinationQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
at line 72
ChildAttributeCombinationQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 72
ChildAttributeCombinationQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 72
ChildAttributeCombinationQuery
groupByAttributeId()
Group by the attribute_id column
at line 72
ChildAttributeCombinationQuery
groupByAttributeAvId()
Group by the attributeavid column
at line 72
ChildAttributeCombinationQuery
groupByProductSaleElementsId()
Group by the productsaleelements_id column
at line 72
ChildAttributeCombinationQuery
groupByPosition()
Group by the position column
at line 72
ChildAttributeCombinationQuery
groupByCreatedAt()
Group by the created_at column
at line 72
ChildAttributeCombinationQuery
groupByUpdatedAt()
Group by the updated_at column
at line 72
ChildAttributeCombinationQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 72
ChildAttributeCombinationQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 72
ChildAttributeCombinationQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 72
ChildAttributeCombinationQuery
leftJoinAttribute($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Attribute relation
at line 72
ChildAttributeCombinationQuery
rightJoinAttribute($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Attribute relation
at line 72
ChildAttributeCombinationQuery
innerJoinAttribute($relationAlias = null)
Adds a INNER JOIN clause to the query using the Attribute relation
at line 72
ChildAttributeCombinationQuery
leftJoinAttributeAv($relationAlias = null)
Adds a LEFT JOIN clause to the query using the AttributeAv relation
at line 72
ChildAttributeCombinationQuery
rightJoinAttributeAv($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the AttributeAv relation
at line 72
ChildAttributeCombinationQuery
innerJoinAttributeAv($relationAlias = null)
Adds a INNER JOIN clause to the query using the AttributeAv relation
at line 72
ChildAttributeCombinationQuery
leftJoinProductSaleElements($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductSaleElements relation
at line 72
ChildAttributeCombinationQuery
rightJoinProductSaleElements($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation
at line 72
ChildAttributeCombinationQuery
innerJoinProductSaleElements($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductSaleElements relation
at line 72
ChildAttributeCombination
findOne(
ConnectionInterface $con = null)
Return the first ChildAttributeCombination matching the query
at line 72
ChildAttributeCombination
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildAttributeCombination matching the query, or a new ChildAttributeCombination object populated from the query conditions when no match is found
at line 72
ChildAttributeCombination
findOneByAttributeId(
int $attribute_id)
Return the first ChildAttributeCombination filtered by the attribute_id column
at line 72
ChildAttributeCombination
findOneByAttributeAvId(
int $attribute_av_id)
Return the first ChildAttributeCombination filtered by the attributeavid column
at line 72
ChildAttributeCombination
findOneByProductSaleElementsId(
int $product_sale_elements_id)
Return the first ChildAttributeCombination filtered by the productsaleelements_id column
at line 72
ChildAttributeCombination
findOneByPosition(
int $position)
Return the first ChildAttributeCombination filtered by the position column
at line 72
ChildAttributeCombination
findOneByCreatedAt(
string $created_at)
Return the first ChildAttributeCombination filtered by the created_at column
at line 72
ChildAttributeCombination
findOneByUpdatedAt(
string $updated_at)
Return the first ChildAttributeCombination filtered by the updated_at column
at line 72
array
findByAttributeId(
int $attribute_id)
Return ChildAttributeCombination objects filtered by the attribute_id column
at line 72
array
findByAttributeAvId(
int $attribute_av_id)
Return ChildAttributeCombination objects filtered by the attributeavid column
at line 72
array
findByProductSaleElementsId(
int $product_sale_elements_id)
Return ChildAttributeCombination objects filtered by the productsaleelements_id column
at line 72
array
findByPosition(
int $position)
Return ChildAttributeCombination objects filtered by the position column
at line 72
array
findByCreatedAt(
string $created_at)
Return ChildAttributeCombination objects filtered by the created_at column
at line 72
array
findByUpdatedAt(
string $updated_at)
Return ChildAttributeCombination objects filtered by the updated_at column