ProductSaleElementsProductImageQuery
class ProductSaleElementsProductImageQuery extends ModelCriteria
Base class that represents a query for the 'productsaleelementsproductimage' table.
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
at line 66
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\ProductSaleElementsProductImage',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\ProductSaleElementsProductImageQuery object.
at line 79
static
ProductSaleElementsProductImageQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildProductSaleElementsProductImageQuery object.
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);
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);
at line 212
ProductSaleElementsProductImageQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 225
ProductSaleElementsProductImageQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
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
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
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
at line 366
ProductSaleElementsProductImageQuery
filterByProductSaleElements(
ProductSaleElements|ObjectCollection $productSaleElements,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductSaleElements object
at line 391
ProductSaleElementsProductImageQuery
joinProductSaleElements(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductSaleElements relation
at line 426
ProductSaleElementsQuery
useProductSaleElementsQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductSaleElements relation ProductSaleElements object
at line 441
ProductSaleElementsProductImageQuery
filterByProductImage(
ProductImage|ObjectCollection $productImage,
string $comparison = null)
Filter the query by a related \Thelia\Model\ProductImage object
at line 466
ProductSaleElementsProductImageQuery
joinProductImage(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ProductImage relation
at line 501
ProductImageQuery
useProductImageQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ProductImage relation ProductImage object
at line 515
ProductSaleElementsProductImageQuery
prune(
ProductSaleElementsProductImage $productSaleElementsProductImage = null)
Exclude object from result
at line 530
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the productsaleelementsproductimage table.
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.
at line 56
ChildProductSaleElementsProductImageQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 56
ChildProductSaleElementsProductImageQuery
orderByProductSaleElementsId($order = Criteria::ASC)
Order by the productsaleelements_id column
at line 56
ChildProductSaleElementsProductImageQuery
orderByProductImageId($order = Criteria::ASC)
Order by the productimageid column
at line 56
ChildProductSaleElementsProductImageQuery
groupById()
Group by the id column
at line 56
ChildProductSaleElementsProductImageQuery
groupByProductSaleElementsId()
Group by the productsaleelements_id column
at line 56
ChildProductSaleElementsProductImageQuery
groupByProductImageId()
Group by the productimageid column
at line 56
ChildProductSaleElementsProductImageQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 56
ChildProductSaleElementsProductImageQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 56
ChildProductSaleElementsProductImageQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 56
ChildProductSaleElementsProductImageQuery
leftJoinProductSaleElements($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductSaleElements relation
at line 56
ChildProductSaleElementsProductImageQuery
rightJoinProductSaleElements($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductSaleElements relation
at line 56
ChildProductSaleElementsProductImageQuery
innerJoinProductSaleElements($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductSaleElements relation
at line 56
ChildProductSaleElementsProductImageQuery
leftJoinProductImage($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ProductImage relation
at line 56
ChildProductSaleElementsProductImageQuery
rightJoinProductImage($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ProductImage relation
at line 56
ChildProductSaleElementsProductImageQuery
innerJoinProductImage($relationAlias = null)
Adds a INNER JOIN clause to the query using the ProductImage relation
at line 56
ChildProductSaleElementsProductImage
findOne(
ConnectionInterface $con = null)
Return the first ChildProductSaleElementsProductImage matching the query
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
at line 56
ChildProductSaleElementsProductImage
findOneById(
int $id)
Return the first ChildProductSaleElementsProductImage filtered by the id column
at line 56
ChildProductSaleElementsProductImage
findOneByProductSaleElementsId(
int $product_sale_elements_id)
Return the first ChildProductSaleElementsProductImage filtered by the productsaleelements_id column
at line 56
ChildProductSaleElementsProductImage
findOneByProductImageId(
int $product_image_id)
Return the first ChildProductSaleElementsProductImage filtered by the productimageid column
at line 56
array
findById(
int $id)
Return ChildProductSaleElementsProductImage objects filtered by the id column
at line 56
array
findByProductSaleElementsId(
int $product_sale_elements_id)
Return ChildProductSaleElementsProductImage objects filtered by the productsaleelements_id column
at line 56
array
findByProductImageId(
int $product_image_id)
Return ChildProductSaleElementsProductImage objects filtered by the productimageid column