class ModuleConfigQuery extends ModelCriteria

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

Methods

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

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

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

Returns a new ChildModuleConfigQuery object.

ModuleConfig|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

filterByModuleId( mixed $moduleId = null, string $comparison = null)

Filter the query on the module_id column

filterByName( string $name = null, string $comparison = null)

Filter the query on the name 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

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

filterByModuleConfigI18n( ModuleConfigI18n|ObjectCollection $moduleConfigI18n, string $comparison = null)

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

joinModuleConfigI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the ModuleConfigI18n relation

useModuleConfigI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Use the ModuleConfigI18n relation ModuleConfigI18n object

prune( ModuleConfig $moduleConfig = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the module_config table.

int
delete( ConnectionInterface $con = null)

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

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

Adds a JOIN clause to the query using the i18n relation

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

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

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

Use the I18n relation query object

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

ChildModuleConfigQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildModuleConfigQuery
orderByModuleId($order = Criteria::ASC)

Order by the module_id column

ChildModuleConfigQuery
orderByName($order = Criteria::ASC)

Order by the name column

ChildModuleConfigQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildModuleConfigQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildModuleConfigQuery
groupById()

Group by the id column

ChildModuleConfigQuery
groupByModuleId()

Group by the module_id column

ChildModuleConfigQuery
groupByName()

Group by the name column

ChildModuleConfigQuery
groupByCreatedAt()

Group by the created_at column

ChildModuleConfigQuery
groupByUpdatedAt()

Group by the updated_at column

ChildModuleConfigQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildModuleConfigQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildModuleConfigQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildModuleConfigQuery
leftJoinModule($relationAlias = null)

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

ChildModuleConfigQuery
rightJoinModule($relationAlias = null)

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

ChildModuleConfigQuery
innerJoinModule($relationAlias = null)

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

ChildModuleConfigQuery
leftJoinModuleConfigI18n($relationAlias = null)

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

ChildModuleConfigQuery
rightJoinModuleConfigI18n($relationAlias = null)

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

ChildModuleConfigQuery
innerJoinModuleConfigI18n($relationAlias = null)

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

ChildModuleConfig
findOne( ConnectionInterface $con = null)

Return the first ChildModuleConfig matching the query

ChildModuleConfig
findOneOrCreate( ConnectionInterface $con = null)

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

ChildModuleConfig
findOneById( int $id)

Return the first ChildModuleConfig filtered by the id column

ChildModuleConfig
findOneByModuleId( int $module_id)

Return the first ChildModuleConfig filtered by the module_id column

ChildModuleConfig
findOneByName( string $name)

Return the first ChildModuleConfig filtered by the name column

ChildModuleConfig
findOneByCreatedAt( string $created_at)

Return the first ChildModuleConfig filtered by the created_at column

ChildModuleConfig
findOneByUpdatedAt( string $updated_at)

Return the first ChildModuleConfig filtered by the updated_at column

array
findById( int $id)

Return ChildModuleConfig objects filtered by the id column

array
findByModuleId( int $module_id)

Return ChildModuleConfig objects filtered by the module_id column

array
findByName( string $name)

Return ChildModuleConfig objects filtered by the name column

array
findByCreatedAt( string $created_at)

Return ChildModuleConfig objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildModuleConfig objects filtered by the updated_at column

Details

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

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

Returns a new ChildModuleConfigQuery object.

Parameters

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

Return Value

ModuleConfigQuery

at line 118
ModuleConfig|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

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

at line 200
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 221
ModuleConfigQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 234
ModuleConfigQuery 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

ModuleConfigQuery The current query, for fluid interface

at line 258
ModuleConfigQuery 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

ModuleConfigQuery The current query, for fluid interface

at line 301
ModuleConfigQuery filterByModuleId( mixed $moduleId = null, string $comparison = null)

Filter the query on the module_id column

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

Parameters

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

ModuleConfigQuery The current query, for fluid interface

See also

filterByModule()

at line 339
ModuleConfigQuery filterByName( string $name = null, string $comparison = null)

Filter the query on the name column

Example usage: $query->filterByName('fooValue'); // WHERE name = 'fooValue' $query->filterByName('%fooValue%'); // WHERE name LIKE '%fooValue%'

Parameters

string $name The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 373
ModuleConfigQuery 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

ModuleConfigQuery The current query, for fluid interface

at line 416
ModuleConfigQuery 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

ModuleConfigQuery The current query, for fluid interface

at line 447
ModuleConfigQuery 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

ModuleConfigQuery The current query, for fluid interface

at line 472
ModuleConfigQuery 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

ModuleConfigQuery The current query, for fluid interface

at line 507
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 522
ModuleConfigQuery filterByModuleConfigI18n( ModuleConfigI18n|ObjectCollection $moduleConfigI18n, string $comparison = null)

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

Parameters

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

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 545
ModuleConfigQuery joinModuleConfigI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the ModuleConfigI18n relation

Parameters

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

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 580
ModuleConfigI18nQuery useModuleConfigI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

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

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

See also

useQuery()

at line 594
ModuleConfigQuery prune( ModuleConfig $moduleConfig = null)

Exclude object from result

Parameters

ModuleConfig $moduleConfig Object to remove from the list of results

Return Value

ModuleConfigQuery The current query, for fluid interface

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

Deletes all rows from the module_config table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

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

Performs a DELETE on the database, given a ChildModuleConfig 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 689
ModuleConfigQuery 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

ModuleConfigQuery The current query, for fluid interface

at line 707
ModuleConfigQuery 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

ModuleConfigQuery The current query, for fluid interface

at line 728
ModuleConfigI18nQuery 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

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

See also

useQuery()

at line 744
ModuleConfigQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 756
ModuleConfigQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 766
ModuleConfigQuery lastUpdatedFirst()

Order by update date desc

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 776
ModuleConfigQuery firstUpdatedFirst()

Order by update date asc

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 786
ModuleConfigQuery lastCreatedFirst()

Order by create date desc

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 796
ModuleConfigQuery firstCreatedFirst()

Order by create date asc

Return Value

ModuleConfigQuery The current query, for fluid interface

at line 65
ChildModuleConfigQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery orderByModuleId($order = Criteria::ASC)

Order by the module_id column

Parameters

$order

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery orderByName($order = Criteria::ASC)

Order by the name column

Parameters

$order

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery groupById()

Group by the id column

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery groupByModuleId()

Group by the module_id column

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery groupByName()

Group by the name column

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery leftJoinModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery rightJoinModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery innerJoinModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery leftJoinModuleConfigI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery rightJoinModuleConfigI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfigQuery innerJoinModuleConfigI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildModuleConfigQuery

at line 65
ChildModuleConfig findOne( ConnectionInterface $con = null)

Return the first ChildModuleConfig matching the query

Parameters

ConnectionInterface $con

Return Value

ChildModuleConfig

at line 65
ChildModuleConfig findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildModuleConfig

at line 65
ChildModuleConfig findOneById( int $id)

Return the first ChildModuleConfig filtered by the id column

Parameters

int $id

Return Value

ChildModuleConfig

at line 65
ChildModuleConfig findOneByModuleId( int $module_id)

Return the first ChildModuleConfig filtered by the module_id column

Parameters

int $module_id

Return Value

ChildModuleConfig

at line 65
ChildModuleConfig findOneByName( string $name)

Return the first ChildModuleConfig filtered by the name column

Parameters

string $name

Return Value

ChildModuleConfig

at line 65
ChildModuleConfig findOneByCreatedAt( string $created_at)

Return the first ChildModuleConfig filtered by the created_at column

Parameters

string $created_at

Return Value

ChildModuleConfig

at line 65
ChildModuleConfig findOneByUpdatedAt( string $updated_at)

Return the first ChildModuleConfig filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildModuleConfig

at line 65
array findById( int $id)

Return ChildModuleConfig objects filtered by the id column

Parameters

int $id

Return Value

array

at line 65
array findByModuleId( int $module_id)

Return ChildModuleConfig objects filtered by the module_id column

Parameters

int $module_id

Return Value

array

at line 65
array findByName( string $name)

Return ChildModuleConfig objects filtered by the name column

Parameters

string $name

Return Value

array

at line 65
array findByCreatedAt( string $created_at)

Return ChildModuleConfig objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

at line 65
array findByUpdatedAt( string $updated_at)

Return ChildModuleConfig objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array