FeatureTemplateQuery
class FeatureTemplateQuery extends ModelCriteria
Base class that represents a query for the 'feature_template' table.
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 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 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 id column
Group by the feature_id column
Group by the template_id column
Group by the position 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
at line 78
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\FeatureTemplate',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\FeatureTemplateQuery object.
at line 91
static
FeatureTemplateQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildFeatureTemplateQuery object.
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);
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);
at line 224
FeatureTemplateQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 237
FeatureTemplateQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
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
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
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
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
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'
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'
at line 505
FeatureTemplateQuery
filterByFeature(
Feature|ObjectCollection $feature,
string $comparison = null)
Filter the query by a related \Thelia\Model\Feature object
at line 530
FeatureTemplateQuery
joinFeature(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Feature relation
at line 565
FeatureQuery
useFeatureQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Feature relation Feature object
at line 580
FeatureTemplateQuery
filterByTemplate(
Template|ObjectCollection $template,
string $comparison = null)
Filter the query by a related \Thelia\Model\Template object
at line 605
FeatureTemplateQuery
joinTemplate(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Template relation
at line 640
TemplateQuery
useTemplateQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Template relation Template object
at line 654
FeatureTemplateQuery
prune(
FeatureTemplate $featureTemplate = null)
Exclude object from result
at line 669
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the feature_template table.
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.
at line 747
FeatureTemplateQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 759
FeatureTemplateQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 769
FeatureTemplateQuery
lastUpdatedFirst()
Order by update date desc
at line 779
FeatureTemplateQuery
firstUpdatedFirst()
Order by update date asc
at line 789
FeatureTemplateQuery
lastCreatedFirst()
Order by create date desc
at line 799
FeatureTemplateQuery
firstCreatedFirst()
Order by create date asc
at line 68
ChildFeatureTemplateQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 68
ChildFeatureTemplateQuery
orderByFeatureId($order = Criteria::ASC)
Order by the feature_id column
at line 68
ChildFeatureTemplateQuery
orderByTemplateId($order = Criteria::ASC)
Order by the template_id column
at line 68
ChildFeatureTemplateQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
at line 68
ChildFeatureTemplateQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 68
ChildFeatureTemplateQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 68
ChildFeatureTemplateQuery
groupById()
Group by the id column
at line 68
ChildFeatureTemplateQuery
groupByFeatureId()
Group by the feature_id column
at line 68
ChildFeatureTemplateQuery
groupByTemplateId()
Group by the template_id column
at line 68
ChildFeatureTemplateQuery
groupByPosition()
Group by the position column
at line 68
ChildFeatureTemplateQuery
groupByCreatedAt()
Group by the created_at column
at line 68
ChildFeatureTemplateQuery
groupByUpdatedAt()
Group by the updated_at column
at line 68
ChildFeatureTemplateQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 68
ChildFeatureTemplateQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 68
ChildFeatureTemplateQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 68
ChildFeatureTemplateQuery
leftJoinFeature($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Feature relation
at line 68
ChildFeatureTemplateQuery
rightJoinFeature($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Feature relation
at line 68
ChildFeatureTemplateQuery
innerJoinFeature($relationAlias = null)
Adds a INNER JOIN clause to the query using the Feature relation
at line 68
ChildFeatureTemplateQuery
leftJoinTemplate($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Template relation
at line 68
ChildFeatureTemplateQuery
rightJoinTemplate($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Template relation
at line 68
ChildFeatureTemplateQuery
innerJoinTemplate($relationAlias = null)
Adds a INNER JOIN clause to the query using the Template relation
at line 68
ChildFeatureTemplate
findOne(
ConnectionInterface $con = null)
Return the first ChildFeatureTemplate matching the query
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
at line 68
ChildFeatureTemplate
findOneById(
int $id)
Return the first ChildFeatureTemplate filtered by the id column
at line 68
ChildFeatureTemplate
findOneByFeatureId(
int $feature_id)
Return the first ChildFeatureTemplate filtered by the feature_id column
at line 68
ChildFeatureTemplate
findOneByTemplateId(
int $template_id)
Return the first ChildFeatureTemplate filtered by the template_id column
at line 68
ChildFeatureTemplate
findOneByPosition(
int $position)
Return the first ChildFeatureTemplate filtered by the position column
at line 68
ChildFeatureTemplate
findOneByCreatedAt(
string $created_at)
Return the first ChildFeatureTemplate filtered by the created_at column
at line 68
ChildFeatureTemplate
findOneByUpdatedAt(
string $updated_at)
Return the first ChildFeatureTemplate filtered by the updated_at column
at line 68
array
findById(
int $id)
Return ChildFeatureTemplate objects filtered by the id column
at line 68
array
findByFeatureId(
int $feature_id)
Return ChildFeatureTemplate objects filtered by the feature_id column
at line 68
array
findByTemplateId(
int $template_id)
Return ChildFeatureTemplate objects filtered by the template_id column
at line 68
array
findByPosition(
int $position)
Return ChildFeatureTemplate objects filtered by the position column
at line 68
array
findByCreatedAt(
string $created_at)
Return ChildFeatureTemplate objects filtered by the created_at column
at line 68
array
findByUpdatedAt(
string $updated_at)
Return ChildFeatureTemplate objects filtered by the updated_at column