ProductSaleElementsProductImageQuery
class ProductSaleElementsProductImageQuery extends ProductSaleElementsProductImageQuery
Skeleton subclass for performing query and update operations on the 'productsaleelementsproductimage' 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
Initializes internal state of \Thelia\Model\Base\ProductSaleElementsProductImageQuery object.
Returns a new ChildProductSaleElementsProductImageQuery object.
Find object by primary key.
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Filter the query by primary key
Filter the query by a list of primary keys
Filter the query on the id column
Filter the query on the productsaleelements_id column
Filter the query on the productimageid column
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
Filter the query by a related \Thelia\Model\ProductImage object
Adds a JOIN clause to the query using the ProductImage relation
Use the ProductImage relation ProductImage object
Exclude object from result
Deletes all rows from the productsaleelementsproductimage table.
Performs a DELETE on the database, given a ChildProductSaleElementsProductImage or Criteria object OR a primary key value.
Order by the id column
Order by the productsaleelements_id column
Order by the productimageid column
Group by the id column
Group by the productsaleelements_id column
Group by the productimageid 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 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
Adds a LEFT JOIN clause to the query using the ProductImage relation
Adds a RIGHT JOIN clause to the query using the ProductImage relation
Adds a INNER JOIN clause to the query using the ProductImage relation
Return the first ChildProductSaleElementsProductImage matching the query
Return the first ChildProductSaleElementsProductImage matching the query, or a new ChildProductSaleElementsProductImage object populated from the query conditions when no match is found
Return the first ChildProductSaleElementsProductImage filtered by the id column
Return the first ChildProductSaleElementsProductImage filtered by the productsaleelements_id column
Return the first ChildProductSaleElementsProductImage filtered by the productimageid column
Return ChildProductSaleElementsProductImage objects filtered by the id column
Return ChildProductSaleElementsProductImage objects filtered by the productsaleelements_id column
Return ChildProductSaleElementsProductImage objects filtered by the productimageid column
Details
in
ProductSaleElementsProductImageQuery at line 66
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\ProductSaleElementsProductImage',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\ProductSaleElementsProductImageQuery object.
in
ProductSaleElementsProductImageQuery at line 79
static
ProductSaleElementsProductImageQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildProductSaleElementsProductImageQuery object.
in
ProductSaleElementsProductImageQuery at line 109
ProductSaleElementsProductImage|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);
in
ProductSaleElementsProductImageQuery at line 191
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
in
ProductSaleElementsProductImageQuery at line 212
ProductSaleElementsProductImageQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
in
ProductSaleElementsProductImageQuery at line 225
ProductSaleElementsProductImageQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
in
ProductSaleElementsProductImageQuery at line 249
ProductSaleElementsProductImageQuery
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
in
ProductSaleElementsProductImageQuery at line 292
ProductSaleElementsProductImageQuery
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
in
ProductSaleElementsProductImageQuery at line 335
ProductSaleElementsProductImageQuery
filterByProductImageId(
mixed $productImageId = null,
string $comparison = null)
Filter the query on the productimageid column
Example usage:
$query->filterByProductImageId(1234); // WHERE productimageid = 1234
$query->filterByProductImageId(array(12, 34)); // WHERE productimageid IN (12, 34)
$query->filterByProductImageId(array('min' => 12)); // WHERE productimageid > 12
in
ProductSaleElementsProductImageQuery at line 366
ProductSaleElementsProductImageQuery
filterByProductSaleElements(
ProductSaleElements|ObjectCollection $productSaleElements,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductSaleElements object
in
ProductSaleElementsProductImageQuery at line 391
ProductSaleElementsProductImageQuery
joinProductSaleElements(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductSaleElements relation
in
ProductSaleElementsProductImageQuery at line 426
ProductSaleElementsQuery
useProductSaleElementsQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductSaleElements relation ProductSaleElements object
in
ProductSaleElementsProductImageQuery at line 441
ProductSaleElementsProductImageQuery
filterByProductImage(
ProductImage|ObjectCollection $productImage,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductImage object
in
ProductSaleElementsProductImageQuery at line 466
ProductSaleElementsProductImageQuery
joinProductImage(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductImage relation
in
ProductSaleElementsProductImageQuery at line 501
ProductImageQuery
useProductImageQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductImage relation ProductImage object
in
ProductSaleElementsProductImageQuery at line 515
ProductSaleElementsProductImageQuery
prune(
ProductSaleElementsProductImage $productSaleElementsProductImage = null)
Exclude object from result
in
ProductSaleElementsProductImageQuery at line 530
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the productsaleelementsproductimage table.
in
ProductSaleElementsProductImageQuery at line 567
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildProductSaleElementsProductImage or Criteria object OR a primary key value.
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
orderById($order = Criteria::ASC)
Order by the id column
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
orderByProductSaleElementsId($order = Criteria::ASC)
Order by the productsaleelements_id column
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
orderByProductImageId($order = Criteria::ASC)
Order by the productimageid column
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
groupById()
Group by the id column
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
groupByProductSaleElementsId()
Group by the productsaleelements_id column
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
groupByProductImageId()
Group by the productimageid column
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
leftJoinProductSaleElements($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductSaleElements relation
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
rightJoinProductSaleElements($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
innerJoinProductSaleElements($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductSaleElements relation
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
leftJoinProductImage($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductImage relation
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
rightJoinProductImage($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductImage relation
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImageQuery
innerJoinProductImage($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductImage relation
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImage
findOne(
ConnectionInterface $con = null)
Return the first ChildProductSaleElementsProductImage matching the query
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImage
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildProductSaleElementsProductImage matching the query, or a new ChildProductSaleElementsProductImage object populated from the query conditions when no match is found
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImage
findOneById(
int $id)
Return the first ChildProductSaleElementsProductImage filtered by the id column
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImage
findOneByProductSaleElementsId(
int $product_sale_elements_id)
Return the first ChildProductSaleElementsProductImage filtered by the productsaleelements_id column
in
ProductSaleElementsProductImageQuery at line 56
ChildProductSaleElementsProductImage
findOneByProductImageId(
int $product_image_id)
Return the first ChildProductSaleElementsProductImage filtered by the productimageid column
in
ProductSaleElementsProductImageQuery at line 56
array
findById(
int $id)
Return ChildProductSaleElementsProductImage objects filtered by the id column
in
ProductSaleElementsProductImageQuery at line 56
array
findByProductSaleElementsId(
int $product_sale_elements_id)
Return ChildProductSaleElementsProductImage objects filtered by the productsaleelements_id column
in
ProductSaleElementsProductImageQuery at line 56
array
findByProductImageId(
int $product_image_id)
Return ChildProductSaleElementsProductImage objects filtered by the productimageid column