ModuleConfigQuery
class ModuleConfigQuery extends ModelCriteria
Base class that represents a query for the 'module_config' table.
Methods
Initializes internal state of \Thelia\Model\Base\ModuleConfigQuery object.
Returns a new ChildModuleConfigQuery 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 module_id column
Filter the query on the name 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\Module object
Adds a JOIN clause to the query using the Module relation
Use the Module relation Module object
Filter the query by a related \Thelia\Model\ModuleConfigI18n object
Adds a JOIN clause to the query using the ModuleConfigI18n relation
Use the ModuleConfigI18n relation ModuleConfigI18n object
Deletes all rows from the module_config table.
Performs a DELETE on the database, given a ChildModuleConfig or Criteria object OR a primary key value.
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
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
Order by the id column
Order by the module_id column
Order by the name column
Order by the created_at column
Order by the updated_at column
Group by the id column
Group by the module_id column
Group by the name 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 Module relation
Adds a RIGHT JOIN clause to the query using the Module relation
Adds a INNER JOIN clause to the query using the Module relation
Adds a LEFT JOIN clause to the query using the ModuleConfigI18n relation
Adds a RIGHT JOIN clause to the query using the ModuleConfigI18n relation
Adds a INNER JOIN clause to the query using the ModuleConfigI18n relation
Return the first ChildModuleConfig matching the query
Return the first ChildModuleConfig matching the query, or a new ChildModuleConfig object populated from the query conditions when no match is found
Return the first ChildModuleConfig filtered by the id column
Return the first ChildModuleConfig filtered by the module_id column
Return the first ChildModuleConfig filtered by the name column
Return the first ChildModuleConfig filtered by the created_at column
Return the first ChildModuleConfig filtered by the updated_at column
Return ChildModuleConfig objects filtered by the id column
Return ChildModuleConfig objects filtered by the module_id column
Return ChildModuleConfig objects filtered by the name column
Return ChildModuleConfig objects filtered by the created_at column
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.
at line 88
static
ModuleConfigQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildModuleConfigQuery object.
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);
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);
at line 221
ModuleConfigQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 234
ModuleConfigQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
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
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
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%'
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'
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'
at line 447
ModuleConfigQuery
filterByModule(
Module|ObjectCollection $module,
string $comparison = null)
Filter the query by a related \Thelia\Model\Module object
at line 472
ModuleConfigQuery
joinModule(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Module relation
at line 507
ModuleQuery
useModuleQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Module relation Module object
at line 522
ModuleConfigQuery
filterByModuleConfigI18n(
ModuleConfigI18n|ObjectCollection $moduleConfigI18n,
string $comparison = null)
Filter the query by a related \Thelia\Model\ModuleConfigI18n object
at line 545
ModuleConfigQuery
joinModuleConfigI18n(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Adds a JOIN clause to the query using the ModuleConfigI18n relation
at line 580
ModuleConfigI18nQuery
useModuleConfigI18nQuery(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Use the ModuleConfigI18n relation ModuleConfigI18n object
at line 594
ModuleConfigQuery
prune(
ModuleConfig $moduleConfig = null)
Exclude object from result
at line 609
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the module_config table.
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.
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
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()
at line 728
ModuleConfigI18nQuery
useI18nQuery(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the I18n relation query object
at line 744
ModuleConfigQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 756
ModuleConfigQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 766
ModuleConfigQuery
lastUpdatedFirst()
Order by update date desc
at line 776
ModuleConfigQuery
firstUpdatedFirst()
Order by update date asc
at line 786
ModuleConfigQuery
lastCreatedFirst()
Order by create date desc
at line 796
ModuleConfigQuery
firstCreatedFirst()
Order by create date asc
at line 65
ChildModuleConfigQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 65
ChildModuleConfigQuery
orderByModuleId($order = Criteria::ASC)
Order by the module_id column
at line 65
ChildModuleConfigQuery
orderByName($order = Criteria::ASC)
Order by the name column
at line 65
ChildModuleConfigQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 65
ChildModuleConfigQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 65
ChildModuleConfigQuery
groupById()
Group by the id column
at line 65
ChildModuleConfigQuery
groupByModuleId()
Group by the module_id column
at line 65
ChildModuleConfigQuery
groupByName()
Group by the name column
at line 65
ChildModuleConfigQuery
groupByCreatedAt()
Group by the created_at column
at line 65
ChildModuleConfigQuery
groupByUpdatedAt()
Group by the updated_at column
at line 65
ChildModuleConfigQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 65
ChildModuleConfigQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 65
ChildModuleConfigQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 65
ChildModuleConfigQuery
leftJoinModule($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Module relation
at line 65
ChildModuleConfigQuery
rightJoinModule($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Module relation
at line 65
ChildModuleConfigQuery
innerJoinModule($relationAlias = null)
Adds a INNER JOIN clause to the query using the Module relation
at line 65
ChildModuleConfigQuery
leftJoinModuleConfigI18n($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ModuleConfigI18n relation
at line 65
ChildModuleConfigQuery
rightJoinModuleConfigI18n($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ModuleConfigI18n relation
at line 65
ChildModuleConfigQuery
innerJoinModuleConfigI18n($relationAlias = null)
Adds a INNER JOIN clause to the query using the ModuleConfigI18n relation
at line 65
ChildModuleConfig
findOne(
ConnectionInterface $con = null)
Return the first ChildModuleConfig matching the query
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
at line 65
ChildModuleConfig
findOneById(
int $id)
Return the first ChildModuleConfig filtered by the id column
at line 65
ChildModuleConfig
findOneByModuleId(
int $module_id)
Return the first ChildModuleConfig filtered by the module_id column
at line 65
ChildModuleConfig
findOneByName(
string $name)
Return the first ChildModuleConfig filtered by the name column
at line 65
ChildModuleConfig
findOneByCreatedAt(
string $created_at)
Return the first ChildModuleConfig filtered by the created_at column
at line 65
ChildModuleConfig
findOneByUpdatedAt(
string $updated_at)
Return the first ChildModuleConfig filtered by the updated_at column
at line 65
array
findById(
int $id)
Return ChildModuleConfig objects filtered by the id column
at line 65
array
findByModuleId(
int $module_id)
Return ChildModuleConfig objects filtered by the module_id column
at line 65
array
findByName(
string $name)
Return ChildModuleConfig objects filtered by the name column
at line 65
array
findByCreatedAt(
string $created_at)
Return ChildModuleConfig objects filtered by the created_at column
at line 65
array
findByUpdatedAt(
string $updated_at)
Return ChildModuleConfig objects filtered by the updated_at column