BrandImageQuery
class BrandImageQuery extends ModelCriteria
Base class that represents a query for the 'brand_image' table.
Methods
Initializes internal state of \Thelia\Model\Base\BrandImageQuery object.
Returns a new ChildBrandImageQuery 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 brand_id column
Filter the query on the file column
Filter the query on the visible 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\Brand object
Adds a JOIN clause to the query using the BrandRelatedByBrandId relation
Use the BrandRelatedByBrandId relation Brand object
Filter the query by a related \Thelia\Model\Brand object
Adds a JOIN clause to the query using the BrandRelatedByLogoImageId relation
Use the BrandRelatedByLogoImageId relation Brand object
Filter the query by a related \Thelia\Model\BrandImageI18n object
Adds a JOIN clause to the query using the BrandImageI18n relation
Use the BrandImageI18n relation BrandImageI18n object
Deletes all rows from the brand_image table.
Performs a DELETE on the database, given a ChildBrandImage 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
Adds a JOIN clause to the query using the i18n relation
Adds a JOIN clause to the query and hydrates the related I18n object.
Use the I18n relation query object
Order by the id column
Order by the brand_id column
Order by the file column
Order by the visible column
Order by the position column
Order by the created_at column
Order by the updated_at column
Group by the id column
Group by the brand_id column
Group by the file column
Group by the visible 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 BrandRelatedByBrandId relation
Adds a RIGHT JOIN clause to the query using the BrandRelatedByBrandId relation
Adds a INNER JOIN clause to the query using the BrandRelatedByBrandId relation
Adds a LEFT JOIN clause to the query using the BrandRelatedByLogoImageId relation
Adds a RIGHT JOIN clause to the query using the BrandRelatedByLogoImageId relation
Adds a INNER JOIN clause to the query using the BrandRelatedByLogoImageId relation
Adds a LEFT JOIN clause to the query using the BrandImageI18n relation
Adds a RIGHT JOIN clause to the query using the BrandImageI18n relation
Adds a INNER JOIN clause to the query using the BrandImageI18n relation
Return the first ChildBrandImage matching the query
Return the first ChildBrandImage matching the query, or a new ChildBrandImage object populated from the query conditions when no match is found
Return the first ChildBrandImage filtered by the id column
Return the first ChildBrandImage filtered by the brand_id column
Return the first ChildBrandImage filtered by the file column
Return the first ChildBrandImage filtered by the visible column
Return the first ChildBrandImage filtered by the position column
Return the first ChildBrandImage filtered by the created_at column
Return the first ChildBrandImage filtered by the updated_at column
Return ChildBrandImage objects filtered by the id column
Return ChildBrandImage objects filtered by the brand_id column
Return ChildBrandImage objects filtered by the file column
Return ChildBrandImage objects filtered by the visible column
Return ChildBrandImage objects filtered by the position column
Return ChildBrandImage objects filtered by the created_at column
Return ChildBrandImage objects filtered by the updated_at column
Details
at line 87
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\BrandImage',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\BrandImageQuery object.
at line 100
static
BrandImageQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildBrandImageQuery object.
at line 130
BrandImage|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 212
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 233
BrandImageQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 246
BrandImageQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 270
BrandImageQuery
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 313
BrandImageQuery
filterByBrandId(
mixed $brandId = null,
string $comparison = null)
Filter the query on the brand_id column
Example usage:
$query->filterByBrandId(1234); // WHERE brandid = 1234
$query->filterByBrandId(array(12, 34)); // WHERE brandid IN (12, 34)
$query->filterByBrandId(array('min' => 12)); // WHERE brand_id > 12
at line 351
BrandImageQuery
filterByFile(
string $file = null,
string $comparison = null)
Filter the query on the file column
Example usage:
$query->filterByFile('fooValue'); // WHERE file = 'fooValue'
$query->filterByFile('%fooValue%'); // WHERE file LIKE '%fooValue%'
at line 383
BrandImageQuery
filterByVisible(
mixed $visible = null,
string $comparison = null)
Filter the query on the visible column
Example usage:
$query->filterByVisible(1234); // WHERE visible = 1234
$query->filterByVisible(array(12, 34)); // WHERE visible IN (12, 34)
$query->filterByVisible(array('min' => 12)); // WHERE visible > 12
at line 424
BrandImageQuery
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 467
BrandImageQuery
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 510
BrandImageQuery
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 541
BrandImageQuery
filterByBrandRelatedByBrandId(
Brand|ObjectCollection $brand,
string $comparison = null)
Filter the query by a related \Thelia\Model\Brand object
at line 566
BrandImageQuery
joinBrandRelatedByBrandId(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the BrandRelatedByBrandId relation
at line 601
BrandQuery
useBrandRelatedByBrandIdQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the BrandRelatedByBrandId relation Brand object
at line 616
BrandImageQuery
filterByBrandRelatedByLogoImageId(
Brand|ObjectCollection $brand,
string $comparison = null)
Filter the query by a related \Thelia\Model\Brand object
at line 639
BrandImageQuery
joinBrandRelatedByLogoImageId(
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the BrandRelatedByLogoImageId relation
at line 674
BrandQuery
useBrandRelatedByLogoImageIdQuery(
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the BrandRelatedByLogoImageId relation Brand object
at line 689
BrandImageQuery
filterByBrandImageI18n(
BrandImageI18n|ObjectCollection $brandImageI18n,
string $comparison = null)
Filter the query by a related \Thelia\Model\BrandImageI18n object
at line 712
BrandImageQuery
joinBrandImageI18n(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Adds a JOIN clause to the query using the BrandImageI18n relation
at line 747
BrandImageI18nQuery
useBrandImageI18nQuery(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Use the BrandImageI18n relation BrandImageI18n object
at line 761
BrandImageQuery
prune(
BrandImage $brandImage = null)
Exclude object from result
at line 776
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the brand_image table.
at line 813
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildBrandImage or Criteria object OR a primary key value.
at line 854
BrandImageQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 866
BrandImageQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 876
BrandImageQuery
lastUpdatedFirst()
Order by update date desc
at line 886
BrandImageQuery
firstUpdatedFirst()
Order by update date asc
at line 896
BrandImageQuery
lastCreatedFirst()
Order by create date desc
at line 906
BrandImageQuery
firstCreatedFirst()
Order by create date asc
at line 922
BrandImageQuery
joinI18n(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the i18n relation
at line 940
BrandImageQuery
joinWithI18n(
string $locale = 'en_US',
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
at line 961
BrandImageI18nQuery
useI18nQuery(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the I18n relation query object
at line 77
ChildBrandImageQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 77
ChildBrandImageQuery
orderByBrandId($order = Criteria::ASC)
Order by the brand_id column
at line 77
ChildBrandImageQuery
orderByFile($order = Criteria::ASC)
Order by the file column
at line 77
ChildBrandImageQuery
orderByVisible($order = Criteria::ASC)
Order by the visible column
at line 77
ChildBrandImageQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
at line 77
ChildBrandImageQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 77
ChildBrandImageQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 77
ChildBrandImageQuery
groupById()
Group by the id column
at line 77
ChildBrandImageQuery
groupByBrandId()
Group by the brand_id column
at line 77
ChildBrandImageQuery
groupByFile()
Group by the file column
at line 77
ChildBrandImageQuery
groupByVisible()
Group by the visible column
at line 77
ChildBrandImageQuery
groupByPosition()
Group by the position column
at line 77
ChildBrandImageQuery
groupByCreatedAt()
Group by the created_at column
at line 77
ChildBrandImageQuery
groupByUpdatedAt()
Group by the updated_at column
at line 77
ChildBrandImageQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 77
ChildBrandImageQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 77
ChildBrandImageQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 77
ChildBrandImageQuery
leftJoinBrandRelatedByBrandId($relationAlias = null)
Adds a LEFT JOIN clause to the query using the BrandRelatedByBrandId relation
at line 77
ChildBrandImageQuery
rightJoinBrandRelatedByBrandId($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the BrandRelatedByBrandId relation
at line 77
ChildBrandImageQuery
innerJoinBrandRelatedByBrandId($relationAlias = null)
Adds a INNER JOIN clause to the query using the BrandRelatedByBrandId relation
at line 77
ChildBrandImageQuery
leftJoinBrandRelatedByLogoImageId($relationAlias = null)
Adds a LEFT JOIN clause to the query using the BrandRelatedByLogoImageId relation
at line 77
ChildBrandImageQuery
rightJoinBrandRelatedByLogoImageId($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the BrandRelatedByLogoImageId relation
at line 77
ChildBrandImageQuery
innerJoinBrandRelatedByLogoImageId($relationAlias = null)
Adds a INNER JOIN clause to the query using the BrandRelatedByLogoImageId relation
at line 77
ChildBrandImageQuery
leftJoinBrandImageI18n($relationAlias = null)
Adds a LEFT JOIN clause to the query using the BrandImageI18n relation
at line 77
ChildBrandImageQuery
rightJoinBrandImageI18n($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the BrandImageI18n relation
at line 77
ChildBrandImageQuery
innerJoinBrandImageI18n($relationAlias = null)
Adds a INNER JOIN clause to the query using the BrandImageI18n relation
at line 77
ChildBrandImage
findOne(
ConnectionInterface $con = null)
Return the first ChildBrandImage matching the query
at line 77
ChildBrandImage
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildBrandImage matching the query, or a new ChildBrandImage object populated from the query conditions when no match is found
at line 77
ChildBrandImage
findOneById(
int $id)
Return the first ChildBrandImage filtered by the id column
at line 77
ChildBrandImage
findOneByBrandId(
int $brand_id)
Return the first ChildBrandImage filtered by the brand_id column
at line 77
ChildBrandImage
findOneByFile(
string $file)
Return the first ChildBrandImage filtered by the file column
at line 77
ChildBrandImage
findOneByVisible(
int $visible)
Return the first ChildBrandImage filtered by the visible column
at line 77
ChildBrandImage
findOneByPosition(
int $position)
Return the first ChildBrandImage filtered by the position column
at line 77
ChildBrandImage
findOneByCreatedAt(
string $created_at)
Return the first ChildBrandImage filtered by the created_at column
at line 77
ChildBrandImage
findOneByUpdatedAt(
string $updated_at)
Return the first ChildBrandImage filtered by the updated_at column
at line 77
array
findById(
int $id)
Return ChildBrandImage objects filtered by the id column
at line 77
array
findByBrandId(
int $brand_id)
Return ChildBrandImage objects filtered by the brand_id column
at line 77
array
findByFile(
string $file)
Return ChildBrandImage objects filtered by the file column
at line 77
array
findByVisible(
int $visible)
Return ChildBrandImage objects filtered by the visible column
at line 77
array
findByPosition(
int $position)
Return ChildBrandImage objects filtered by the position column
at line 77
array
findByCreatedAt(
string $created_at)
Return ChildBrandImage objects filtered by the created_at column
at line 77
array
findByUpdatedAt(
string $updated_at)
Return ChildBrandImage objects filtered by the updated_at column