FeatureTemplateQuery
class FeatureTemplateQuery extends FeatureTemplateQuery
Skeleton subclass for performing query and update operations on the 'feature_template' 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
Initializes internal state of \Thelia\Model\Base\FeatureTemplateQuery object.
Returns a new ChildFeatureTemplateQuery 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 feature_id column
Filter the query on the template_id column
Filter the query on the position column
Filter the query on the created_at column
Filter the query on the updated_at column
Filter the query by a related \Thelia\Model\Feature object
Adds a JOIN clause to the query using the Feature relation
Use the Feature relation Feature object
Filter the query by a related \Thelia\Model\Template object
Adds a JOIN clause to the query using the Template relation
Use the Template relation Template object
Deletes all rows from the feature_template table.
Performs a DELETE on the database, given a ChildFeatureTemplate or Criteria object OR a primary key value.
Filter by the latest updated
Filter by the latest created
Order by the id column
Order by the feature_id column
Order by the template_id column
Order by the position column
Order by the created_at column
Order by the updated_at column
Group by the feature_id column
Group by the template_id 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 Feature relation
Adds a RIGHT JOIN clause to the query using the Feature relation
Adds a INNER JOIN clause to the query using the Feature relation
Adds a LEFT JOIN clause to the query using the Template relation
Adds a RIGHT JOIN clause to the query using the Template relation
Adds a INNER JOIN clause to the query using the Template relation
Return the first ChildFeatureTemplate matching the query
Return the first ChildFeatureTemplate matching the query, or a new ChildFeatureTemplate object populated from the query conditions when no match is found
Return the first ChildFeatureTemplate filtered by the id column
Return the first ChildFeatureTemplate filtered by the feature_id column
Return the first ChildFeatureTemplate filtered by the template_id column
Return the first ChildFeatureTemplate filtered by the position column
Return the first ChildFeatureTemplate filtered by the created_at column
Return the first ChildFeatureTemplate filtered by the updated_at column
Return ChildFeatureTemplate objects filtered by the id column
Return ChildFeatureTemplate objects filtered by the feature_id column
Return ChildFeatureTemplate objects filtered by the template_id column
Return ChildFeatureTemplate objects filtered by the position column
Return ChildFeatureTemplate objects filtered by the created_at column
Return ChildFeatureTemplate objects filtered by the updated_at column
Details
in
FeatureTemplateQuery at line 78
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\FeatureTemplate',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\FeatureTemplateQuery object.
in
FeatureTemplateQuery at line 91
static
FeatureTemplateQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildFeatureTemplateQuery object.
in
FeatureTemplateQuery at line 121
FeatureTemplate|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);
in
FeatureTemplateQuery at line 203
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
in
FeatureTemplateQuery at line 224
FeatureTemplateQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
in
FeatureTemplateQuery at line 237
FeatureTemplateQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
in
FeatureTemplateQuery at line 261
FeatureTemplateQuery
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
in
FeatureTemplateQuery at line 304
FeatureTemplateQuery
filterByFeatureId(
mixed $featureId = null,
string $comparison = null)
Filter the query on the feature_id column
Example usage:
$query->filterByFeatureId(1234); // WHERE featureid = 1234
$query->filterByFeatureId(array(12, 34)); // WHERE featureid IN (12, 34)
$query->filterByFeatureId(array('min' => 12)); // WHERE feature_id > 12
in
FeatureTemplateQuery at line 347
FeatureTemplateQuery
filterByTemplateId(
mixed $templateId = null,
string $comparison = null)
Filter the query on the template_id column
Example usage:
$query->filterByTemplateId(1234); // WHERE templateid = 1234
$query->filterByTemplateId(array(12, 34)); // WHERE templateid IN (12, 34)
$query->filterByTemplateId(array('min' => 12)); // WHERE template_id > 12
in
FeatureTemplateQuery at line 388
FeatureTemplateQuery
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
in
FeatureTemplateQuery at line 431
FeatureTemplateQuery
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'
in
FeatureTemplateQuery at line 474
FeatureTemplateQuery
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'
in
FeatureTemplateQuery at line 505
FeatureTemplateQuery
filterByFeature(
Feature|ObjectCollection $feature,
string $comparison = null)
Filter the query by a related \Thelia\Model\Feature object
in
FeatureTemplateQuery at line 530
FeatureTemplateQuery
joinFeature(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Feature relation
in
FeatureTemplateQuery at line 565
FeatureQuery
useFeatureQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Feature relation Feature object
in
FeatureTemplateQuery at line 580
FeatureTemplateQuery
filterByTemplate(
Template|ObjectCollection $template,
string $comparison = null)
Filter the query by a related \Thelia\Model\Template object
in
FeatureTemplateQuery at line 605
FeatureTemplateQuery
joinTemplate(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Template relation
in
FeatureTemplateQuery at line 640
TemplateQuery
useTemplateQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Template relation Template object
in
FeatureTemplateQuery at line 654
FeatureTemplateQuery
prune(
FeatureTemplate $featureTemplate = null)
Exclude object from result
in
FeatureTemplateQuery at line 669
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the feature_template table.
in
FeatureTemplateQuery at line 706
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildFeatureTemplate or Criteria object OR a primary key value.
in
FeatureTemplateQuery at line 747
FeatureTemplateQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
in
FeatureTemplateQuery at line 759
FeatureTemplateQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
in
FeatureTemplateQuery at line 769
FeatureTemplateQuery
lastUpdatedFirst()
Order by update date desc
in
FeatureTemplateQuery at line 779
FeatureTemplateQuery
firstUpdatedFirst()
Order by update date asc
in
FeatureTemplateQuery at line 789
FeatureTemplateQuery
lastCreatedFirst()
Order by create date desc
in
FeatureTemplateQuery at line 799
FeatureTemplateQuery
firstCreatedFirst()
Order by create date asc
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
orderById($order = Criteria::ASC)
Order by the id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
orderByFeatureId($order = Criteria::ASC)
Order by the feature_id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
orderByTemplateId($order = Criteria::ASC)
Order by the template_id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
groupById()
Group by the id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
groupByFeatureId()
Group by the feature_id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
groupByTemplateId()
Group by the template_id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
groupByPosition()
Group by the position column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
groupByCreatedAt()
Group by the created_at column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
groupByUpdatedAt()
Group by the updated_at column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
leftJoinFeature($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Feature relation
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
rightJoinFeature($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Feature relation
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
innerJoinFeature($relationAlias = null)
Adds a INNER JOIN clause to the query using the Feature relation
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
leftJoinTemplate($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Template relation
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
rightJoinTemplate($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Template relation
in
FeatureTemplateQuery at line 68
ChildFeatureTemplateQuery
innerJoinTemplate($relationAlias = null)
Adds a INNER JOIN clause to the query using the Template relation
in
FeatureTemplateQuery at line 68
ChildFeatureTemplate
findOne(
ConnectionInterface $con = null)
Return the first ChildFeatureTemplate matching the query
in
FeatureTemplateQuery at line 68
ChildFeatureTemplate
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildFeatureTemplate matching the query, or a new ChildFeatureTemplate object populated from the query conditions when no match is found
in
FeatureTemplateQuery at line 68
ChildFeatureTemplate
findOneById(
int $id)
Return the first ChildFeatureTemplate filtered by the id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplate
findOneByFeatureId(
int $feature_id)
Return the first ChildFeatureTemplate filtered by the feature_id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplate
findOneByTemplateId(
int $template_id)
Return the first ChildFeatureTemplate filtered by the template_id column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplate
findOneByPosition(
int $position)
Return the first ChildFeatureTemplate filtered by the position column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplate
findOneByCreatedAt(
string $created_at)
Return the first ChildFeatureTemplate filtered by the created_at column
in
FeatureTemplateQuery at line 68
ChildFeatureTemplate
findOneByUpdatedAt(
string $updated_at)
Return the first ChildFeatureTemplate filtered by the updated_at column
in
FeatureTemplateQuery at line 68
array
findById(
int $id)
Return ChildFeatureTemplate objects filtered by the id column
in
FeatureTemplateQuery at line 68
array
findByFeatureId(
int $feature_id)
Return ChildFeatureTemplate objects filtered by the feature_id column
in
FeatureTemplateQuery at line 68
array
findByTemplateId(
int $template_id)
Return ChildFeatureTemplate objects filtered by the template_id column
in
FeatureTemplateQuery at line 68
array
findByPosition(
int $position)
Return ChildFeatureTemplate objects filtered by the position column
in
FeatureTemplateQuery at line 68
array
findByCreatedAt(
string $created_at)
Return ChildFeatureTemplate objects filtered by the created_at column
in
FeatureTemplateQuery at line 68
array
findByUpdatedAt(
string $updated_at)
Return ChildFeatureTemplate objects filtered by the updated_at column