Methods

__construct()

__construct(string $dbName, string $modelName, string $modelAlias)

Initializes internal state of \Thelia\Model\Base\FeatureAvQuery 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'

create()

create(string $modelAlias, \Propel\Runtime\ActiveQuery\Criteria $criteria) : \Thelia\Model\FeatureAvQuery

Returns a new ChildFeatureAvQuery object.

Parameters

string $modelAlias

The alias of a model in the query

\Propel\Runtime\ActiveQuery\Criteria $criteria

Optional Criteria to build the query from

Returns

\Thelia\Model\FeatureAvQuery

findPk()

findPk(mixed $key, \Propel\Runtime\Connection\ConnectionInterface $con) : \Thelia\Model\FeatureAv|array|mixed

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

\Propel\Runtime\Connection\ConnectionInterface $con

an optional connection object

Returns

\Thelia\Model\FeatureAv|array|mixed —

the result, formatted by the current formatter

findPks()

findPks(array $keys, \Propel\Runtime\Connection\ConnectionInterface $con) : \Propel\Runtime\Collection\ObjectCollection|array|mixed

Find objects by primary key <code> $objs = $c->findPks(array(12, 56, 832), $con); </code>

Parameters

array $keys

Primary keys to use for the query

\Propel\Runtime\Connection\ConnectionInterface $con

an optional connection object

Returns

\Propel\Runtime\Collection\ObjectCollection|array|mixed —

the list of results, formatted by the current formatter

filterByPrimaryKey()

filterByPrimaryKey(mixed $key) : \Thelia\Model\FeatureAvQuery

Filter the query by primary key

Parameters

mixed $key

Primary key to use for the query

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

filterByPrimaryKeys()

filterByPrimaryKeys(array $keys) : \Thelia\Model\FeatureAvQuery

Filter the query by a list of primary keys

Parameters

array $keys

The list of primary key to use for the query

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

filterById()

filterById(mixed $id, string $comparison) : \Thelia\Model\FeatureAvQuery

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

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

filterByFeatureId()

filterByFeatureId(mixed $featureId, string $comparison) : \Thelia\Model\FeatureAvQuery

Filter the query on the feature_id column

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

Parameters

mixed $featureId

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

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

filterByPosition()

filterByPosition(mixed $position, string $comparison) : \Thelia\Model\FeatureAvQuery

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

Parameters

mixed $position

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

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

filterByCreatedAt()

filterByCreatedAt(mixed $createdAt, string $comparison) : \Thelia\Model\FeatureAvQuery

Filter the query on the created_at column

Example usage: $query->filterByCreatedAt('2011-03-14'); // WHERE created_at = '2011-03-14' $query->filterByCreatedAt('now'); // WHERE created_at = '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

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

filterByUpdatedAt()

filterByUpdatedAt(mixed $updatedAt, string $comparison) : \Thelia\Model\FeatureAvQuery

Filter the query on the updated_at column

Example usage: $query->filterByUpdatedAt('2011-03-14'); // WHERE updated_at = '2011-03-14' $query->filterByUpdatedAt('now'); // WHERE updated_at = '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

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

filterByFeature()

filterByFeature(\Thelia\Model\Feature|\Propel\Runtime\Collection\ObjectCollection $feature, string $comparison) : \Thelia\Model\FeatureAvQuery

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

Parameters

\Thelia\Model\Feature|\Propel\Runtime\Collection\ObjectCollection $feature

The related object(s) to use as filter

string $comparison

Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

joinFeature()

joinFeature(string $relationAlias, string $joinType) : \Thelia\Model\FeatureAvQuery

Adds a JOIN clause to the query using the Feature relation

Parameters

string $relationAlias

optional alias for the relation

string $joinType

Accepted values are null, 'left join', 'right join', 'inner join'

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

useFeatureQuery()

useFeatureQuery(string $relationAlias, string $joinType) : \Thelia\Model\FeatureQuery

Use the Feature relation Feature 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'

Returns

\Thelia\Model\FeatureQuery

A secondary query class using the current class as primary query

filterByFeatureProduct()

filterByFeatureProduct(\Thelia\Model\FeatureProduct|\Propel\Runtime\Collection\ObjectCollection $featureProduct, string $comparison) : \Thelia\Model\FeatureAvQuery

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

Parameters

\Thelia\Model\FeatureProduct|\Propel\Runtime\Collection\ObjectCollection $featureProduct

the related object to use as filter

string $comparison

Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

joinFeatureProduct()

joinFeatureProduct(string $relationAlias, string $joinType) : \Thelia\Model\FeatureAvQuery

Adds a JOIN clause to the query using the FeatureProduct relation

Parameters

string $relationAlias

optional alias for the relation

string $joinType

Accepted values are null, 'left join', 'right join', 'inner join'

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

useFeatureProductQuery()

useFeatureProductQuery(string $relationAlias, string $joinType) : \Thelia\Model\FeatureProductQuery

Use the FeatureProduct relation FeatureProduct 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'

Returns

\Thelia\Model\FeatureProductQuery

A secondary query class using the current class as primary query

filterByFeatureAvI18n()

filterByFeatureAvI18n(\Thelia\Model\FeatureAvI18n|\Propel\Runtime\Collection\ObjectCollection $featureAvI18n, string $comparison) : \Thelia\Model\FeatureAvQuery

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

Parameters

\Thelia\Model\FeatureAvI18n|\Propel\Runtime\Collection\ObjectCollection $featureAvI18n

the related object to use as filter

string $comparison

Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

joinFeatureAvI18n()

joinFeatureAvI18n(string $relationAlias, string $joinType) : \Thelia\Model\FeatureAvQuery

Adds a JOIN clause to the query using the FeatureAvI18n relation

Parameters

string $relationAlias

optional alias for the relation

string $joinType

Accepted values are null, 'left join', 'right join', 'inner join'

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

useFeatureAvI18nQuery()

useFeatureAvI18nQuery(string $relationAlias, string $joinType) : \Thelia\Model\FeatureAvI18nQuery

Use the FeatureAvI18n relation FeatureAvI18n 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'

Returns

\Thelia\Model\FeatureAvI18nQuery

A secondary query class using the current class as primary query

prune()

prune(\Thelia\Model\FeatureAv $featureAv) : \Thelia\Model\FeatureAvQuery

Exclude object from result

Parameters

\Thelia\Model\FeatureAv $featureAv

Object to remove from the list of results

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

doDeleteAll()

doDeleteAll(\Propel\Runtime\Connection\ConnectionInterface $con) : int

Deletes all rows from the feature_av table.

Parameters

\Propel\Runtime\Connection\ConnectionInterface $con

the connection to use

Returns

int —

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

delete()

delete(\Propel\Runtime\Connection\ConnectionInterface $con) : int

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

Parameters

\Propel\Runtime\Connection\ConnectionInterface $con

the connection to use

Throws

\Propel\Runtime\Exception\PropelException

Any exceptions caught during processing will be rethrown wrapped into a PropelException.

Returns

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.

recentlyUpdated()

recentlyUpdated(int $nbDays) : \Thelia\Model\FeatureAvQuery

Filter by the latest updated

Parameters

int $nbDays

Maximum age of the latest update in days

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

recentlyCreated()

recentlyCreated(int $nbDays) : \Thelia\Model\FeatureAvQuery

Filter by the latest created

Parameters

int $nbDays

Maximum age of in days

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

lastUpdatedFirst()

lastUpdatedFirst() : \Thelia\Model\FeatureAvQuery

Order by update date desc

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

firstUpdatedFirst()

firstUpdatedFirst() : \Thelia\Model\FeatureAvQuery

Order by update date asc

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

lastCreatedFirst()

lastCreatedFirst() : \Thelia\Model\FeatureAvQuery

Order by create date desc

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

firstCreatedFirst()

firstCreatedFirst() : \Thelia\Model\FeatureAvQuery

Order by create date asc

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

joinI18n()

joinI18n(string $locale, string $relationAlias, string $joinType) : \Thelia\Model\FeatureAvQuery

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.

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

joinWithI18n()

joinWithI18n(string $locale, string $joinType) : \Thelia\Model\FeatureAvQuery

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.

Returns

\Thelia\Model\FeatureAvQuery

The current query, for fluid interface

useI18nQuery()

useI18nQuery(string $locale, string $relationAlias, string $joinType) : \Thelia\Model\FeatureAvI18nQuery

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.

Returns

\Thelia\Model\FeatureAvI18nQuery

A secondary query class using the current class as primary query

orderById()

orderById($order =) : \Thelia\Model\FeatureAvQuery

Order by the id column

Parameters

$order =

Returns

\Thelia\Model\FeatureAvQuery

orderByFeatureId()

orderByFeatureId($order =) : \Thelia\Model\FeatureAvQuery

Order by the feature_id column

Parameters

$order =

Returns

\Thelia\Model\FeatureAvQuery

orderByPosition()

orderByPosition($order =) : \Thelia\Model\FeatureAvQuery

Order by the position column

Parameters

$order =

Returns

\Thelia\Model\FeatureAvQuery

orderByCreatedAt()

orderByCreatedAt($order =) : \Thelia\Model\FeatureAvQuery

Order by the created_at column

Parameters

$order =

Returns

\Thelia\Model\FeatureAvQuery

orderByUpdatedAt()

orderByUpdatedAt($order =) : \Thelia\Model\FeatureAvQuery

Order by the updated_at column

Parameters

$order =

Returns

\Thelia\Model\FeatureAvQuery

groupById()

groupById() : \Thelia\Model\FeatureAvQuery

Group by the id column

Returns

\Thelia\Model\FeatureAvQuery

groupByFeatureId()

groupByFeatureId() : \Thelia\Model\FeatureAvQuery

Group by the feature_id column

Returns

\Thelia\Model\FeatureAvQuery

groupByPosition()

groupByPosition() : \Thelia\Model\FeatureAvQuery

Group by the position column

Returns

\Thelia\Model\FeatureAvQuery

groupByCreatedAt()

groupByCreatedAt() : \Thelia\Model\FeatureAvQuery

Group by the created_at column

Returns

\Thelia\Model\FeatureAvQuery

groupByUpdatedAt()

groupByUpdatedAt() : \Thelia\Model\FeatureAvQuery

Group by the updated_at column

Returns

\Thelia\Model\FeatureAvQuery

leftJoin()

leftJoin(mixed $relation) : \Thelia\Model\FeatureAvQuery

Adds a LEFT JOIN clause to the query

Parameters

mixed $relation

Returns

\Thelia\Model\FeatureAvQuery

rightJoin()

rightJoin(mixed $relation) : \Thelia\Model\FeatureAvQuery

Adds a RIGHT JOIN clause to the query

Parameters

mixed $relation

Returns

\Thelia\Model\FeatureAvQuery

innerJoin()

innerJoin(mixed $relation) : \Thelia\Model\FeatureAvQuery

Adds a INNER JOIN clause to the query

Parameters

mixed $relation

Returns

\Thelia\Model\FeatureAvQuery

leftJoinFeature()

leftJoinFeature($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

rightJoinFeature()

rightJoinFeature($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

innerJoinFeature()

innerJoinFeature($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

leftJoinFeatureProduct()

leftJoinFeatureProduct($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

rightJoinFeatureProduct()

rightJoinFeatureProduct($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

innerJoinFeatureProduct()

innerJoinFeatureProduct($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

leftJoinFeatureAvI18n()

leftJoinFeatureAvI18n($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

rightJoinFeatureAvI18n()

rightJoinFeatureAvI18n($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

innerJoinFeatureAvI18n()

innerJoinFeatureAvI18n($relationAlias =) : \Thelia\Model\FeatureAvQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\FeatureAvQuery

findOne()

findOne(ConnectionInterface $con) : \Thelia\Model\FeatureAv

Return the first ChildFeatureAv matching the query

Parameters

ConnectionInterface $con

Returns

\Thelia\Model\FeatureAv

findOneOrCreate()

findOneOrCreate(ConnectionInterface $con) : \Thelia\Model\FeatureAv

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

Parameters

ConnectionInterface $con

Returns

\Thelia\Model\FeatureAv

findOneById()

findOneById(int $id) : \Thelia\Model\FeatureAv

Return the first ChildFeatureAv filtered by the id column

Parameters

int $id

Returns

\Thelia\Model\FeatureAv

findOneByFeatureId()

findOneByFeatureId(int $feature_id) : \Thelia\Model\FeatureAv

Return the first ChildFeatureAv filtered by the feature_id column

Parameters

int $feature_id

Returns

\Thelia\Model\FeatureAv

findOneByPosition()

findOneByPosition(int $position) : \Thelia\Model\FeatureAv

Return the first ChildFeatureAv filtered by the position column

Parameters

int $position

Returns

\Thelia\Model\FeatureAv

findOneByCreatedAt()

findOneByCreatedAt(string $created_at) : \Thelia\Model\FeatureAv

Return the first ChildFeatureAv filtered by the created_at column

Parameters

string $created_at

Returns

\Thelia\Model\FeatureAv

findOneByUpdatedAt()

findOneByUpdatedAt(string $updated_at) : \Thelia\Model\FeatureAv

Return the first ChildFeatureAv filtered by the updated_at column

Parameters

string $updated_at

Returns

\Thelia\Model\FeatureAv

findById()

findById(int $id) : array

Return ChildFeatureAv objects filtered by the id column

Parameters

int $id

Returns

array

findByFeatureId()

findByFeatureId(int $feature_id) : array

Return ChildFeatureAv objects filtered by the feature_id column

Parameters

int $feature_id

Returns

array

findByPosition()

findByPosition(int $position) : array

Return ChildFeatureAv objects filtered by the position column

Parameters

int $position

Returns

array

findByCreatedAt()

findByCreatedAt(string $created_at) : array

Return ChildFeatureAv objects filtered by the created_at column

Parameters

string $created_at

Returns

array

findByUpdatedAt()

findByUpdatedAt(string $updated_at) : array

Return ChildFeatureAv objects filtered by the updated_at column

Parameters

string $updated_at

Returns

array

findPkSimple()

findPkSimple(mixed $key, \Propel\Runtime\Connection\ConnectionInterface $con) : \Thelia\Model\FeatureAv

Find object by primary key using raw SQL to go fast.

Bypass doSelect() and the object formatter by using generated code.

Parameters

mixed $key

Primary key to use for the query

\Propel\Runtime\Connection\ConnectionInterface $con

A connection object

Returns

\Thelia\Model\FeatureAv

A model object, or null if the key is not found

findPkComplex()

findPkComplex(mixed $key, \Propel\Runtime\Connection\ConnectionInterface $con) : \Thelia\Model\FeatureAv|array|mixed

Find object by primary key.

Parameters

mixed $key

Primary key to use for the query

\Propel\Runtime\Connection\ConnectionInterface $con

A connection object

Returns

\Thelia\Model\FeatureAv|array|mixed —

the result, formatted by the current formatter