class BrandQuery extends BrandQuery

Skeleton subclass for performing query and update operations on the 'brand' 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\\Brand', string $modelAlias = null)

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

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

Returns a new ChildBrandQuery object.

from  BrandQuery
Brand|array|mixed
findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

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

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

from  BrandQuery
filterByPrimaryKey( mixed $key)

Filter the query by primary key

from  BrandQuery
filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

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

Filter the query on the id column

from  BrandQuery
filterByVisible( mixed $visible = null, string $comparison = null)

Filter the query on the visible column

from  BrandQuery
filterByPosition( mixed $position = null, string $comparison = null)

Filter the query on the position column

from  BrandQuery
filterByLogoImageId( mixed $logoImageId = null, string $comparison = null)

Filter the query on the logoimageid column

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

Filter the query on the created_at column

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

Filter the query on the updated_at column

from  BrandQuery
filterByBrandImageRelatedByLogoImageId( BrandImage|ObjectCollection $brandImage, string $comparison = null)

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

from  BrandQuery
joinBrandImageRelatedByLogoImageId( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the BrandImageRelatedByLogoImageId relation

from  BrandQuery
useBrandImageRelatedByLogoImageIdQuery( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the BrandImageRelatedByLogoImageId relation BrandImage object

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

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

from  BrandQuery
joinProduct( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the Product relation

from  BrandQuery
useProductQuery( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the Product relation Product object

from  BrandQuery
filterByBrandDocument( BrandDocument|ObjectCollection $brandDocument, string $comparison = null)

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

from  BrandQuery
joinBrandDocument( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the BrandDocument relation

from  BrandQuery
useBrandDocumentQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the BrandDocument relation BrandDocument object

from  BrandQuery
filterByBrandImageRelatedByBrandId( BrandImage|ObjectCollection $brandImage, string $comparison = null)

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

from  BrandQuery
joinBrandImageRelatedByBrandId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the BrandImageRelatedByBrandId relation

from  BrandQuery
useBrandImageRelatedByBrandIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the BrandImageRelatedByBrandId relation BrandImage object

from  BrandQuery
filterByBrandI18n( BrandI18n|ObjectCollection $brandI18n, string $comparison = null)

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

from  BrandQuery
joinBrandI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the BrandI18n relation

from  BrandQuery
useBrandI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Use the BrandI18n relation BrandI18n object

from  BrandQuery
prune( Brand $brand = null)

Exclude object from result

from  BrandQuery
int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the brand table.

from  BrandQuery
int
delete( ConnectionInterface $con = null)

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

from  BrandQuery
recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

from  BrandQuery
recentlyCreated( int $nbDays = 7)

Filter by the latest created

from  BrandQuery
lastUpdatedFirst()

Order by update date desc

from  BrandQuery
firstUpdatedFirst()

Order by update date asc

from  BrandQuery
lastCreatedFirst()

Order by create date desc

from  BrandQuery
firstCreatedFirst()

Order by create date asc

from  BrandQuery
joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the i18n relation

from  BrandQuery
joinWithI18n( string $locale = 'en_US', string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query and hydrates the related I18n object.

from  BrandQuery
useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the I18n relation query object

from  BrandQuery
ChildBrandQuery
orderById($order = Criteria::ASC)

Order by the id column

from  BrandQuery
ChildBrandQuery
orderByVisible($order = Criteria::ASC)

Order by the visible column

from  BrandQuery
ChildBrandQuery
orderByPosition($order = Criteria::ASC)

Order by the position column

from  BrandQuery
ChildBrandQuery
orderByLogoImageId($order = Criteria::ASC)

Order by the logoimageid column

from  BrandQuery
ChildBrandQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

from  BrandQuery
ChildBrandQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

from  BrandQuery
ChildBrandQuery
groupById()

Group by the id column

from  BrandQuery
ChildBrandQuery
groupByVisible()

Group by the visible column

from  BrandQuery
ChildBrandQuery
groupByPosition()

Group by the position column

from  BrandQuery
ChildBrandQuery
groupByLogoImageId()

Group by the logoimageid column

from  BrandQuery
ChildBrandQuery
groupByCreatedAt()

Group by the created_at column

from  BrandQuery
ChildBrandQuery
groupByUpdatedAt()

Group by the updated_at column

from  BrandQuery
ChildBrandQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

from  BrandQuery
ChildBrandQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

from  BrandQuery
ChildBrandQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

from  BrandQuery
ChildBrandQuery
leftJoinBrandImageRelatedByLogoImageId($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
rightJoinBrandImageRelatedByLogoImageId($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
innerJoinBrandImageRelatedByLogoImageId($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
leftJoinProduct($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
rightJoinProduct($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
innerJoinProduct($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
leftJoinBrandDocument($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
rightJoinBrandDocument($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
innerJoinBrandDocument($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
leftJoinBrandImageRelatedByBrandId($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
rightJoinBrandImageRelatedByBrandId($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
innerJoinBrandImageRelatedByBrandId($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
leftJoinBrandI18n($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
rightJoinBrandI18n($relationAlias = null)

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

from  BrandQuery
ChildBrandQuery
innerJoinBrandI18n($relationAlias = null)

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

from  BrandQuery
ChildBrand
findOne( ConnectionInterface $con = null)

Return the first ChildBrand matching the query

from  BrandQuery
ChildBrand
findOneOrCreate( ConnectionInterface $con = null)

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

from  BrandQuery
ChildBrand
findOneById( int $id)

Return the first ChildBrand filtered by the id column

from  BrandQuery
ChildBrand
findOneByVisible( int $visible)

Return the first ChildBrand filtered by the visible column

from  BrandQuery
ChildBrand
findOneByPosition( int $position)

Return the first ChildBrand filtered by the position column

from  BrandQuery
ChildBrand
findOneByLogoImageId( int $logo_image_id)

Return the first ChildBrand filtered by the logoimageid column

from  BrandQuery
ChildBrand
findOneByCreatedAt( string $created_at)

Return the first ChildBrand filtered by the created_at column

from  BrandQuery
ChildBrand
findOneByUpdatedAt( string $updated_at)

Return the first ChildBrand filtered by the updated_at column

from  BrandQuery
array
findById( int $id)

Return ChildBrand objects filtered by the id column

from  BrandQuery
array
findByVisible( int $visible)

Return ChildBrand objects filtered by the visible column

from  BrandQuery
array
findByPosition( int $position)

Return ChildBrand objects filtered by the position column

from  BrandQuery
array
findByLogoImageId( int $logo_image_id)

Return ChildBrand objects filtered by the logoimageid column

from  BrandQuery
array
findByCreatedAt( string $created_at)

Return ChildBrand objects filtered by the created_at column

from  BrandQuery
array
findByUpdatedAt( string $updated_at)

Return ChildBrand objects filtered by the updated_at column

from  BrandQuery

Details

in BrandQuery at line 91
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Brand', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\BrandQuery 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 BrandQuery at line 104
static BrandQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildBrandQuery object.

Parameters

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

Return Value

BrandQuery

in BrandQuery at line 134
Brand|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

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

in BrandQuery at line 216
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 BrandQuery at line 237
BrandQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 250
BrandQuery 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

BrandQuery The current query, for fluid interface

in BrandQuery at line 274
BrandQuery 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

BrandQuery The current query, for fluid interface

in BrandQuery at line 315
BrandQuery 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

Parameters

mixed $visible 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

BrandQuery The current query, for fluid interface

in BrandQuery at line 356
BrandQuery 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

Parameters

mixed $position 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

BrandQuery The current query, for fluid interface

in BrandQuery at line 399
BrandQuery filterByLogoImageId( mixed $logoImageId = null, string $comparison = null)

Filter the query on the logoimageid column

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

Parameters

mixed $logoImageId 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

BrandQuery The current query, for fluid interface

See also

filterByBrandImageRelatedByLogoImageId()

in BrandQuery at line 442
BrandQuery 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

BrandQuery The current query, for fluid interface

in BrandQuery at line 485
BrandQuery 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

BrandQuery The current query, for fluid interface

in BrandQuery at line 516
BrandQuery filterByBrandImageRelatedByLogoImageId( BrandImage|ObjectCollection $brandImage, string $comparison = null)

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

Parameters

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

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 541
BrandQuery joinBrandImageRelatedByLogoImageId( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the BrandImageRelatedByLogoImageId relation

Parameters

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

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 576
BrandImageQuery useBrandImageRelatedByLogoImageIdQuery( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the BrandImageRelatedByLogoImageId relation BrandImage 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

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

See also

useQuery()

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

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

Parameters

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

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 614
BrandQuery joinProduct( string $relationAlias = null, string $joinType = Criteria::LEFT_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

BrandQuery The current query, for fluid interface

in BrandQuery at line 649
ProductQuery useProductQuery( string $relationAlias = null, string $joinType = Criteria::LEFT_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 BrandQuery at line 664
BrandQuery filterByBrandDocument( BrandDocument|ObjectCollection $brandDocument, string $comparison = null)

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

Parameters

BrandDocument|ObjectCollection $brandDocument the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 687
BrandQuery joinBrandDocument( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the BrandDocument relation

Parameters

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

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 722
BrandDocumentQuery useBrandDocumentQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the BrandDocument relation BrandDocument 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

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

See also

useQuery()

in BrandQuery at line 737
BrandQuery filterByBrandImageRelatedByBrandId( BrandImage|ObjectCollection $brandImage, string $comparison = null)

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

Parameters

BrandImage|ObjectCollection $brandImage the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 760
BrandQuery joinBrandImageRelatedByBrandId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the BrandImageRelatedByBrandId relation

Parameters

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

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 795
BrandImageQuery useBrandImageRelatedByBrandIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the BrandImageRelatedByBrandId relation BrandImage 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

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

See also

useQuery()

in BrandQuery at line 810
BrandQuery filterByBrandI18n( BrandI18n|ObjectCollection $brandI18n, string $comparison = null)

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

Parameters

BrandI18n|ObjectCollection $brandI18n the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 833
BrandQuery joinBrandI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the BrandI18n relation

Parameters

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

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 868
BrandI18nQuery useBrandI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Use the BrandI18n relation BrandI18n 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

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

See also

useQuery()

in BrandQuery at line 882
BrandQuery prune( Brand $brand = null)

Exclude object from result

Parameters

Brand $brand Object to remove from the list of results

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 897
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the brand table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

in BrandQuery at line 934
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildBrand 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 BrandQuery at line 975
BrandQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 987
BrandQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 997
BrandQuery lastUpdatedFirst()

Order by update date desc

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 1007
BrandQuery firstUpdatedFirst()

Order by update date asc

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 1017
BrandQuery lastCreatedFirst()

Order by create date desc

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 1027
BrandQuery firstCreatedFirst()

Order by create date asc

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 1043
BrandQuery joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the i18n relation

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 1061
BrandQuery 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()

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

BrandQuery The current query, for fluid interface

in BrandQuery at line 1082
BrandI18nQuery useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the I18n relation query object

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

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

See also

useQuery()

in BrandQuery at line 81
ChildBrandQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery orderByVisible($order = Criteria::ASC)

Order by the visible column

Parameters

$order

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery orderByPosition($order = Criteria::ASC)

Order by the position column

Parameters

$order

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery orderByLogoImageId($order = Criteria::ASC)

Order by the logoimageid column

Parameters

$order

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery groupById()

Group by the id column

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery groupByVisible()

Group by the visible column

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery groupByPosition()

Group by the position column

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery groupByLogoImageId()

Group by the logoimageid column

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery leftJoinBrandImageRelatedByLogoImageId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery rightJoinBrandImageRelatedByLogoImageId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery innerJoinBrandImageRelatedByLogoImageId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery leftJoinProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery rightJoinProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery innerJoinProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery leftJoinBrandDocument($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery rightJoinBrandDocument($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery innerJoinBrandDocument($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery leftJoinBrandImageRelatedByBrandId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery rightJoinBrandImageRelatedByBrandId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery innerJoinBrandImageRelatedByBrandId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery leftJoinBrandI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery rightJoinBrandI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrandQuery innerJoinBrandI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildBrandQuery

in BrandQuery at line 81
ChildBrand findOne( ConnectionInterface $con = null)

Return the first ChildBrand matching the query

Parameters

ConnectionInterface $con

Return Value

ChildBrand

in BrandQuery at line 81
ChildBrand findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildBrand

in BrandQuery at line 81
ChildBrand findOneById( int $id)

Return the first ChildBrand filtered by the id column

Parameters

int $id

Return Value

ChildBrand

in BrandQuery at line 81
ChildBrand findOneByVisible( int $visible)

Return the first ChildBrand filtered by the visible column

Parameters

int $visible

Return Value

ChildBrand

in BrandQuery at line 81
ChildBrand findOneByPosition( int $position)

Return the first ChildBrand filtered by the position column

Parameters

int $position

Return Value

ChildBrand

in BrandQuery at line 81
ChildBrand findOneByLogoImageId( int $logo_image_id)

Return the first ChildBrand filtered by the logoimageid column

Parameters

int $logo_image_id

Return Value

ChildBrand

in BrandQuery at line 81
ChildBrand findOneByCreatedAt( string $created_at)

Return the first ChildBrand filtered by the created_at column

Parameters

string $created_at

Return Value

ChildBrand

in BrandQuery at line 81
ChildBrand findOneByUpdatedAt( string $updated_at)

Return the first ChildBrand filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildBrand

in BrandQuery at line 81
array findById( int $id)

Return ChildBrand objects filtered by the id column

Parameters

int $id

Return Value

array

in BrandQuery at line 81
array findByVisible( int $visible)

Return ChildBrand objects filtered by the visible column

Parameters

int $visible

Return Value

array

in BrandQuery at line 81
array findByPosition( int $position)

Return ChildBrand objects filtered by the position column

Parameters

int $position

Return Value

array

in BrandQuery at line 81
array findByLogoImageId( int $logo_image_id)

Return ChildBrand objects filtered by the logoimageid column

Parameters

int $logo_image_id

Return Value

array

in BrandQuery at line 81
array findByCreatedAt( string $created_at)

Return ChildBrand objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in BrandQuery at line 81
array findByUpdatedAt( string $updated_at)

Return ChildBrand objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array