class AreaDeliveryModuleQuery extends ModelCriteria

Base class that represents a query for the 'areadeliverymodule' table.

Methods

__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\AreaDeliveryModule', string $modelAlias = null)

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

create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildAreaDeliveryModuleQuery object.

AreaDeliveryModule|array|mixed
findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

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

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

filterByPrimaryKey( mixed $key)

Filter the query by primary key

filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

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

Filter the query on the id column

filterByAreaId( mixed $areaId = null, string $comparison = null)

Filter the query on the area_id column

filterByDeliveryModuleId( mixed $deliveryModuleId = null, string $comparison = null)

Filter the query on the deliverymoduleid column

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

Filter the query on the created_at column

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

Filter the query on the updated_at column

filterByArea( Area|ObjectCollection $area, string $comparison = null)

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

joinArea( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Area relation

useAreaQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Area relation Area object

filterByModule( Module|ObjectCollection $module, string $comparison = null)

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

joinModule( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Module relation

useModuleQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Module relation Module object

prune( AreaDeliveryModule $areaDeliveryModule = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the areadeliverymodule table.

int
delete( ConnectionInterface $con = null)

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

recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

recentlyCreated( int $nbDays = 7)

Filter by the latest created

lastUpdatedFirst()

Order by update date desc

firstUpdatedFirst()

Order by update date asc

lastCreatedFirst()

Order by create date desc

firstCreatedFirst()

Order by create date asc

ChildAreaDeliveryModuleQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildAreaDeliveryModuleQuery
orderByAreaId($order = Criteria::ASC)

Order by the area_id column

ChildAreaDeliveryModuleQuery
orderByDeliveryModuleId($order = Criteria::ASC)

Order by the deliverymoduleid column

ChildAreaDeliveryModuleQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildAreaDeliveryModuleQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildAreaDeliveryModuleQuery
groupById()

Group by the id column

ChildAreaDeliveryModuleQuery
groupByAreaId()

Group by the area_id column

ChildAreaDeliveryModuleQuery
groupByDeliveryModuleId()

Group by the deliverymoduleid column

ChildAreaDeliveryModuleQuery
groupByCreatedAt()

Group by the created_at column

ChildAreaDeliveryModuleQuery
groupByUpdatedAt()

Group by the updated_at column

ChildAreaDeliveryModuleQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildAreaDeliveryModuleQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildAreaDeliveryModuleQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildAreaDeliveryModuleQuery
leftJoinArea($relationAlias = null)

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

ChildAreaDeliveryModuleQuery
rightJoinArea($relationAlias = null)

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

ChildAreaDeliveryModuleQuery
innerJoinArea($relationAlias = null)

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

ChildAreaDeliveryModuleQuery
leftJoinModule($relationAlias = null)

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

ChildAreaDeliveryModuleQuery
rightJoinModule($relationAlias = null)

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

ChildAreaDeliveryModuleQuery
innerJoinModule($relationAlias = null)

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

ChildAreaDeliveryModule
findOne( ConnectionInterface $con = null)

Return the first ChildAreaDeliveryModule matching the query

ChildAreaDeliveryModule
findOneOrCreate( ConnectionInterface $con = null)

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

ChildAreaDeliveryModule
findOneById( int $id)

Return the first ChildAreaDeliveryModule filtered by the id column

ChildAreaDeliveryModule
findOneByAreaId( int $area_id)

Return the first ChildAreaDeliveryModule filtered by the area_id column

ChildAreaDeliveryModule
findOneByDeliveryModuleId( int $delivery_module_id)

Return the first ChildAreaDeliveryModule filtered by the deliverymoduleid column

ChildAreaDeliveryModule
findOneByCreatedAt( string $created_at)

Return the first ChildAreaDeliveryModule filtered by the created_at column

ChildAreaDeliveryModule
findOneByUpdatedAt( string $updated_at)

Return the first ChildAreaDeliveryModule filtered by the updated_at column

array
findById( int $id)

Return ChildAreaDeliveryModule objects filtered by the id column

array
findByAreaId( int $area_id)

Return ChildAreaDeliveryModule objects filtered by the area_id column

array
findByDeliveryModuleId( int $delivery_module_id)

Return ChildAreaDeliveryModule objects filtered by the deliverymoduleid column

array
findByCreatedAt( string $created_at)

Return ChildAreaDeliveryModule objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildAreaDeliveryModule objects filtered by the updated_at column

Details

at line 74
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\AreaDeliveryModule', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\AreaDeliveryModuleQuery 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'

at line 87
static AreaDeliveryModuleQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildAreaDeliveryModuleQuery object.

Parameters

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

Return Value

AreaDeliveryModuleQuery

at line 117
AreaDeliveryModule|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

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

at line 199
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

at line 220
AreaDeliveryModuleQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 233
AreaDeliveryModuleQuery 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

AreaDeliveryModuleQuery The current query, for fluid interface

at line 257
AreaDeliveryModuleQuery 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

AreaDeliveryModuleQuery The current query, for fluid interface

at line 300
AreaDeliveryModuleQuery filterByAreaId( mixed $areaId = null, string $comparison = null)

Filter the query on the area_id column

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

Parameters

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

AreaDeliveryModuleQuery The current query, for fluid interface

See also

filterByArea()

at line 343
AreaDeliveryModuleQuery filterByDeliveryModuleId( mixed $deliveryModuleId = null, string $comparison = null)

Filter the query on the deliverymoduleid column

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

Parameters

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

AreaDeliveryModuleQuery The current query, for fluid interface

See also

filterByModule()

at line 386
AreaDeliveryModuleQuery 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

AreaDeliveryModuleQuery The current query, for fluid interface

at line 429
AreaDeliveryModuleQuery 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

AreaDeliveryModuleQuery The current query, for fluid interface

at line 460
AreaDeliveryModuleQuery filterByArea( Area|ObjectCollection $area, string $comparison = null)

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

Parameters

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

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 485
AreaDeliveryModuleQuery joinArea( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Area relation

Parameters

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

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 520
AreaQuery useAreaQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

at line 535
AreaDeliveryModuleQuery filterByModule( Module|ObjectCollection $module, string $comparison = null)

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

Parameters

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

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 560
AreaDeliveryModuleQuery joinModule( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Module relation

Parameters

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

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 595
ModuleQuery useModuleQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

at line 609
AreaDeliveryModuleQuery prune( AreaDeliveryModule $areaDeliveryModule = null)

Exclude object from result

Parameters

AreaDeliveryModule $areaDeliveryModule Object to remove from the list of results

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 624
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the areadeliverymodule table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

at line 661
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildAreaDeliveryModule 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.

at line 702
AreaDeliveryModuleQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 714
AreaDeliveryModuleQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 724
AreaDeliveryModuleQuery lastUpdatedFirst()

Order by update date desc

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 734
AreaDeliveryModuleQuery firstUpdatedFirst()

Order by update date asc

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 744
AreaDeliveryModuleQuery lastCreatedFirst()

Order by create date desc

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 754
AreaDeliveryModuleQuery firstCreatedFirst()

Order by create date asc

Return Value

AreaDeliveryModuleQuery The current query, for fluid interface

at line 64
ChildAreaDeliveryModuleQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery orderByAreaId($order = Criteria::ASC)

Order by the area_id column

Parameters

$order

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery orderByDeliveryModuleId($order = Criteria::ASC)

Order by the deliverymoduleid column

Parameters

$order

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery groupById()

Group by the id column

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery groupByAreaId()

Group by the area_id column

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery groupByDeliveryModuleId()

Group by the deliverymoduleid column

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery leftJoinArea($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery rightJoinArea($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery innerJoinArea($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery leftJoinModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery rightJoinModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModuleQuery innerJoinModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildAreaDeliveryModuleQuery

at line 64
ChildAreaDeliveryModule findOne( ConnectionInterface $con = null)

Return the first ChildAreaDeliveryModule matching the query

Parameters

ConnectionInterface $con

Return Value

ChildAreaDeliveryModule

at line 64
ChildAreaDeliveryModule findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildAreaDeliveryModule

at line 64
ChildAreaDeliveryModule findOneById( int $id)

Return the first ChildAreaDeliveryModule filtered by the id column

Parameters

int $id

Return Value

ChildAreaDeliveryModule

at line 64
ChildAreaDeliveryModule findOneByAreaId( int $area_id)

Return the first ChildAreaDeliveryModule filtered by the area_id column

Parameters

int $area_id

Return Value

ChildAreaDeliveryModule

at line 64
ChildAreaDeliveryModule findOneByDeliveryModuleId( int $delivery_module_id)

Return the first ChildAreaDeliveryModule filtered by the deliverymoduleid column

Parameters

int $delivery_module_id

Return Value

ChildAreaDeliveryModule

at line 64
ChildAreaDeliveryModule findOneByCreatedAt( string $created_at)

Return the first ChildAreaDeliveryModule filtered by the created_at column

Parameters

string $created_at

Return Value

ChildAreaDeliveryModule

at line 64
ChildAreaDeliveryModule findOneByUpdatedAt( string $updated_at)

Return the first ChildAreaDeliveryModule filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildAreaDeliveryModule

at line 64
array findById( int $id)

Return ChildAreaDeliveryModule objects filtered by the id column

Parameters

int $id

Return Value

array

at line 64
array findByAreaId( int $area_id)

Return ChildAreaDeliveryModule objects filtered by the area_id column

Parameters

int $area_id

Return Value

array

at line 64
array findByDeliveryModuleId( int $delivery_module_id)

Return ChildAreaDeliveryModule objects filtered by the deliverymoduleid column

Parameters

int $delivery_module_id

Return Value

array

at line 64
array findByCreatedAt( string $created_at)

Return ChildAreaDeliveryModule objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

at line 64
array findByUpdatedAt( string $updated_at)

Return ChildAreaDeliveryModule objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array