FeatureAvQuery
class FeatureAvQuery extends FeatureAvQuery
Skeleton subclass for performing query and update operations on the 'feature_av' 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\FeatureAvQuery object.
Returns a new ChildFeatureAvQuery object.
Find object by primary key.
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
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 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\FeatureProduct object
Adds a JOIN clause to the query using the FeatureProduct relation
Use the FeatureProduct relation FeatureProduct object
Filter the query by a related \Thelia\Model\FeatureAvI18n object
Adds a JOIN clause to the query using the FeatureAvI18n relation
Use the FeatureAvI18n relation FeatureAvI18n object
Deletes all rows from the feature_av table.
Performs a DELETE on the database, given a ChildFeatureAv 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
Order by the feature_id column
Order by the position column
Order by the created_at column
Order by the updated_at column
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 FeatureProduct relation
Adds a RIGHT JOIN clause to the query using the FeatureProduct relation
Adds a INNER JOIN clause to the query using the FeatureProduct relation
Adds a LEFT JOIN clause to the query using the FeatureAvI18n relation
Adds a RIGHT JOIN clause to the query using the FeatureAvI18n relation
Adds a INNER JOIN clause to the query using the FeatureAvI18n relation
Return the first ChildFeatureAv matching the query
Return the first ChildFeatureAv matching the query, or a new ChildFeatureAv object populated from the query conditions when no match is found
Return the first ChildFeatureAv filtered by the id column
Return the first ChildFeatureAv filtered by the feature_id column
Return the first ChildFeatureAv filtered by the position column
Return the first ChildFeatureAv filtered by the created_at column
Return the first ChildFeatureAv filtered by the updated_at column
Return ChildFeatureAv objects filtered by the id column
Return ChildFeatureAv objects filtered by the feature_id column
Return ChildFeatureAv objects filtered by the position column
Return ChildFeatureAv objects filtered by the created_at column
Return ChildFeatureAv objects filtered by the updated_at column
Details
in
FeatureAvQuery at line 79
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\FeatureAv',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\FeatureAvQuery object.
in
FeatureAvQuery at line 92
static
FeatureAvQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildFeatureAvQuery object.
in
FeatureAvQuery at line 122
FeatureAv|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
FeatureAvQuery at line 204
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
in
FeatureAvQuery at line 225
FeatureAvQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
in
FeatureAvQuery at line 238
FeatureAvQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
in
FeatureAvQuery at line 262
FeatureAvQuery
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
FeatureAvQuery at line 305
FeatureAvQuery
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
FeatureAvQuery at line 346
FeatureAvQuery
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
FeatureAvQuery at line 389
FeatureAvQuery
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
FeatureAvQuery at line 432
FeatureAvQuery
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
FeatureAvQuery at line 463
FeatureAvQuery
filterByFeature(
Feature|ObjectCollection $feature,
string $comparison = null)
Filter the query by a related \Thelia\Model\Feature object
in
FeatureAvQuery at line 488
FeatureAvQuery
joinFeature(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Feature relation
in
FeatureAvQuery at line 523
FeatureQuery
useFeatureQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Feature relation Feature object
in
FeatureAvQuery at line 538
FeatureAvQuery
filterByFeatureProduct(
FeatureProduct|ObjectCollection $featureProduct,
string $comparison = null)
Filter the query by a related \Thelia\Model\FeatureProduct object
in
FeatureAvQuery at line 561
FeatureAvQuery
joinFeatureProduct(
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the FeatureProduct relation
in
FeatureAvQuery at line 596
FeatureProductQuery
useFeatureProductQuery(
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the FeatureProduct relation FeatureProduct object
in
FeatureAvQuery at line 611
FeatureAvQuery
filterByFeatureAvI18n(
FeatureAvI18n|ObjectCollection $featureAvI18n,
string $comparison = null)
Filter the query by a related \Thelia\Model\FeatureAvI18n object
in
FeatureAvQuery at line 634
FeatureAvQuery
joinFeatureAvI18n(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Adds a JOIN clause to the query using the FeatureAvI18n relation
in
FeatureAvQuery at line 669
FeatureAvI18nQuery
useFeatureAvI18nQuery(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Use the FeatureAvI18n relation FeatureAvI18n object
in
FeatureAvQuery at line 683
FeatureAvQuery
prune(
FeatureAv $featureAv = null)
Exclude object from result
in
FeatureAvQuery at line 698
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the feature_av table.
in
FeatureAvQuery at line 735
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildFeatureAv or Criteria object OR a primary key value.
in
FeatureAvQuery at line 776
FeatureAvQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
in
FeatureAvQuery at line 788
FeatureAvQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
in
FeatureAvQuery at line 798
FeatureAvQuery
lastUpdatedFirst()
Order by update date desc
in
FeatureAvQuery at line 808
FeatureAvQuery
firstUpdatedFirst()
Order by update date asc
in
FeatureAvQuery at line 818
FeatureAvQuery
lastCreatedFirst()
Order by create date desc
in
FeatureAvQuery at line 828
FeatureAvQuery
firstCreatedFirst()
Order by create date asc
in
FeatureAvQuery at line 844
FeatureAvQuery
joinI18n(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the i18n relation
in
FeatureAvQuery at line 862
FeatureAvQuery
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()
in
FeatureAvQuery at line 883
FeatureAvI18nQuery
useI18nQuery(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the I18n relation query object
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
orderById($order = Criteria::ASC)
Order by the id column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
orderByFeatureId($order = Criteria::ASC)
Order by the feature_id column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
groupById()
Group by the id column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
groupByFeatureId()
Group by the feature_id column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
groupByPosition()
Group by the position column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
groupByCreatedAt()
Group by the created_at column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
groupByUpdatedAt()
Group by the updated_at column
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
leftJoinFeature($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Feature relation
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
rightJoinFeature($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Feature relation
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
innerJoinFeature($relationAlias = null)
Adds a INNER JOIN clause to the query using the Feature relation
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
leftJoinFeatureProduct($relationAlias = null)
Adds a LEFT JOIN clause to the query using the FeatureProduct relation
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
rightJoinFeatureProduct($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the FeatureProduct relation
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
innerJoinFeatureProduct($relationAlias = null)
Adds a INNER JOIN clause to the query using the FeatureProduct relation
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
leftJoinFeatureAvI18n($relationAlias = null)
Adds a LEFT JOIN clause to the query using the FeatureAvI18n relation
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
rightJoinFeatureAvI18n($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the FeatureAvI18n relation
in
FeatureAvQuery at line 69
ChildFeatureAvQuery
innerJoinFeatureAvI18n($relationAlias = null)
Adds a INNER JOIN clause to the query using the FeatureAvI18n relation
in
FeatureAvQuery at line 69
ChildFeatureAv
findOne(
ConnectionInterface $con = null)
Return the first ChildFeatureAv matching the query
in
FeatureAvQuery at line 69
ChildFeatureAv
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildFeatureAv matching the query, or a new ChildFeatureAv object populated from the query conditions when no match is found
in
FeatureAvQuery at line 69
ChildFeatureAv
findOneById(
int $id)
Return the first ChildFeatureAv filtered by the id column
in
FeatureAvQuery at line 69
ChildFeatureAv
findOneByFeatureId(
int $feature_id)
Return the first ChildFeatureAv filtered by the feature_id column
in
FeatureAvQuery at line 69
ChildFeatureAv
findOneByPosition(
int $position)
Return the first ChildFeatureAv filtered by the position column
in
FeatureAvQuery at line 69
ChildFeatureAv
findOneByCreatedAt(
string $created_at)
Return the first ChildFeatureAv filtered by the created_at column
in
FeatureAvQuery at line 69
ChildFeatureAv
findOneByUpdatedAt(
string $updated_at)
Return the first ChildFeatureAv filtered by the updated_at column
in
FeatureAvQuery at line 69
array
findById(
int $id)
Return ChildFeatureAv objects filtered by the id column
in
FeatureAvQuery at line 69
array
findByFeatureId(
int $feature_id)
Return ChildFeatureAv objects filtered by the feature_id column
in
FeatureAvQuery at line 69
array
findByPosition(
int $position)
Return ChildFeatureAv objects filtered by the position column
in
FeatureAvQuery at line 69
array
findByCreatedAt(
string $created_at)
Return ChildFeatureAv objects filtered by the created_at column
in
FeatureAvQuery at line 69
array
findByUpdatedAt(
string $updated_at)
Return ChildFeatureAv objects filtered by the updated_at column