Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\Feature', string $modelAlias = null )
Initializes internal state of BaseFeatureQuery object.
Initializes internal state of BaseFeatureQuery object.
Parameters
- $dbName
string $dbName The dabase name
- $modelName
string $modelName The phpName of a model, e.g. 'Book'
- $modelAlias
string $modelAlias The alias for the model in this query, e.g. 'b'
|
public static
Thelia\Model\FeatureQuery
|
#
create( string $modelAlias = null, Thelia\Model\FeatureQuery|Criteria $criteria = null )
Returns a new FeatureQuery object.
Returns a new FeatureQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\FeatureQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\Feature|Thelia\Model\Feature[]|mixed
|
#
findPk( mixed $key, PropelPDO $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.
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
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con an optional connection object
Returns
|
protected
Thelia\Model\Feature
|
#
findPkSimple( mixed $key, PropelPDO $con )
Find object by primary key using raw SQL to go fast. Bypass doSelect() and
the object formatter by using generated code.
Find object by primary key using raw SQL to go fast. Bypass doSelect() and
the object formatter by using generated code.
Parameters
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con A connection object
Returns
Throws
PropelException
|
protected
Thelia\Model\Feature|Thelia\Model\Feature[]|mixed
|
#
findPkComplex( mixed $key, PropelPDO $con )
Find object by primary key.
Find object by primary key.
Parameters
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con A connection object
Returns
|
public
PropelObjectCollection|Thelia\Model\Feature[]|mixed
|
#
findPks( array $keys, PropelPDO $con = null )
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Parameters
- $keys
array $keys Primary keys to use for the query
- $con
PropelPDO $con an optional connection object
Returns
PropelObjectCollection|Thelia\Model\Feature[]|mixedthe list of results, formatted by the current formatter
|
public
Thelia\Model\FeatureQuery
|
#
filterByPrimaryKey( mixed $key )
Filter the query by primary key
Filter the query by primary key
Parameters
- $key
mixed $key Primary key to use for the query
Returns
|
public
Thelia\Model\FeatureQuery
|
#
filterByPrimaryKeys( array $keys )
Filter the query by a list of primary keys
Filter the query by a list of primary keys
Parameters
- $keys
array $keys The list of primary key to use for the query
Returns
|
public
Thelia\Model\FeatureQuery
|
#
filterById( mixed $id = null, string $comparison = null )
Filter the query on the id column
Filter the query on the id column
Example usage:
$query->filterById(1234);
$query->filterById(array(12, 34));
$query->filterById(array('min' => 12));
Parameters
- $id
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\FeatureQuery
|
#
filterByVisible( mixed $visible = null, string $comparison = null )
Filter the query on the visible column
Filter the query on the visible column
Example usage:
$query->filterByVisible(1234);
$query->filterByVisible(array(12, 34));
$query->filterByVisible(array('min' => 12));
Parameters
- $visible
mixed $visible 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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\FeatureQuery
|
#
filterByPosition( mixed $position = null, string $comparison = null )
Filter the query on the position column
Filter the query on the position column
Example usage:
$query->filterByPosition(1234);
$query->filterByPosition(array(12, 34));
$query->filterByPosition(array('min' => 12));
Parameters
- $position
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\FeatureQuery
|
#
filterByCreatedAt( mixed $createdAt = null, string $comparison = null )
Filter the query on the created_at column
Filter the query on the created_at column
Example usage:
$query->filterByCreatedAt('2011-03-14');
$query->filterByCreatedAt('now');
$query->filterByCreatedAt(array('max' => 'yesterday'));
Parameters
- $createdAt
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\FeatureQuery
|
#
filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null )
Filter the query on the updated_at column
Filter the query on the updated_at column
Example usage:
$query->filterByUpdatedAt('2011-03-14');
$query->filterByUpdatedAt('now');
$query->filterByUpdatedAt(array('max' => 'yesterday'));
Parameters
- $updatedAt
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\FeatureQuery
|
#
filterByFeatureAv( Thelia\Model\FeatureAv|PropelObjectCollection $featureAv, string $comparison = null )
Filter the query by a related FeatureAv object
Filter the query by a related FeatureAv object
Parameters
- $featureAv
Thelia\Model\FeatureAv|PropelObjectCollection $featureAv the related object to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
Thelia\Model\FeatureQuery
|
#
joinFeatureAv( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the FeatureAv relation
Adds a JOIN clause to the query using the FeatureAv relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
Thelia\Model\FeatureAvQuery
|
#
useFeatureAvQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Use the FeatureAv relation FeatureAv object
Use the FeatureAv relation FeatureAv object
Parameters
- $relationAlias
string $relationAlias optional alias for the relation, to be used as main alias in the
secondary query
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
See
useQuery()
|
public
Thelia\Model\FeatureQuery
|
#
filterByFeatureProd( Thelia\Model\FeatureProd|PropelObjectCollection $featureProd, string $comparison = null )
Filter the query by a related FeatureProd object
Filter the query by a related FeatureProd object
Parameters
- $featureProd
Thelia\Model\FeatureProd|PropelObjectCollection $featureProd the related object to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
Thelia\Model\FeatureQuery
|
#
joinFeatureProd( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the FeatureProd relation
Adds a JOIN clause to the query using the FeatureProd relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
Thelia\Model\FeatureProdQuery
|
#
useFeatureProdQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Use the FeatureProd relation FeatureProd object
Use the FeatureProd relation FeatureProd object
Parameters
- $relationAlias
string $relationAlias optional alias for the relation, to be used as main alias in the
secondary query
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
See
useQuery()
|
public
Thelia\Model\FeatureQuery
|
#
filterByFeatureCategory( Thelia\Model\FeatureCategory|PropelObjectCollection $featureCategory, string $comparison = null )
Filter the query by a related FeatureCategory object
Filter the query by a related FeatureCategory object
Parameters
- $featureCategory
Thelia\Model\FeatureCategory|PropelObjectCollection $featureCategory the related object to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
Thelia\Model\FeatureQuery
|
#
joinFeatureCategory( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the FeatureCategory relation
Adds a JOIN clause to the query using the FeatureCategory relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
Thelia\Model\FeatureCategoryQuery
|
#
useFeatureCategoryQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Use the FeatureCategory relation FeatureCategory object
Use the FeatureCategory relation FeatureCategory object
Parameters
- $relationAlias
string $relationAlias optional alias for the relation, to be used as main alias in the
secondary query
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
See
useQuery()
|
public
Thelia\Model\FeatureQuery
|
#
filterByFeatureI18n( Thelia\Model\FeatureI18n|PropelObjectCollection $featureI18n, string $comparison = null )
Filter the query by a related FeatureI18n object
Filter the query by a related FeatureI18n object
Parameters
- $featureI18n
Thelia\Model\FeatureI18n|PropelObjectCollection $featureI18n the related object to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
Thelia\Model\FeatureQuery
|
#
joinFeatureI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN' )
Adds a JOIN clause to the query using the FeatureI18n relation
Adds a JOIN clause to the query using the FeatureI18n relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
Thelia\Model\FeatureI18nQuery
|
#
useFeatureI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN' )
Use the FeatureI18n relation FeatureI18n object
Use the FeatureI18n relation FeatureI18n object
Parameters
- $relationAlias
string $relationAlias optional alias for the relation, to be used as main alias in the
secondary query
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
See
useQuery()
|
public
Thelia\Model\FeatureQuery
|
|
public
Thelia\Model\FeatureQuery
|
#
recentlyUpdated( integer $nbDays = 7 )
Filter by the latest updated
Filter by the latest updated
Parameters
- $nbDays
integer $nbDays Maximum age of the latest update in days
Returns
|
public
Thelia\Model\FeatureQuery
|
|
public
Thelia\Model\FeatureQuery
|
|
public
Thelia\Model\FeatureQuery
|
#
recentlyCreated( integer $nbDays = 7 )
Filter by the latest created
Filter by the latest created
Parameters
- $nbDays
integer $nbDays Maximum age of in days
Returns
|
public
Thelia\Model\FeatureQuery
|
|
public
Thelia\Model\FeatureQuery
|
|
public
Thelia\Model\FeatureQuery
|
#
joinI18n( string $locale = 'en_EN', string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the i18n relation
Adds a JOIN clause to the query using the i18n relation
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
|
public
Thelia\Model\FeatureQuery
|
#
joinWithI18n( string $locale = 'en_EN', string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
|
public
FeatureI18nQuery
|
#
useI18nQuery( string $locale = 'en_EN', string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the I18n relation query object
Use the I18n relation query object
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
FeatureI18nQuery A secondary query class using the current class as primary query
See
useQuery()
|
Magic methods summary
public
Thelia\Model\FeatureQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\FeatureQuery
|
#
orderByVisible( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the visible column
Order by the visible column
Parameters
Returns
|
public
Thelia\Model\FeatureQuery
|
#
orderByPosition( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the position column
Order by the position column
Parameters
Returns
|
public
Thelia\Model\FeatureQuery
|
#
orderByCreatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the created_at column
Order by the created_at column
Parameters
Returns
|
public
Thelia\Model\FeatureQuery
|
#
orderByUpdatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the updated_at column
Order by the updated_at column
Parameters
Returns
|
public
Thelia\Model\FeatureQuery
|
|
public
Thelia\Model\FeatureQuery
|
#
groupByVisible( )
Group by the visible column
Group by the visible column
Returns
|
public
Thelia\Model\FeatureQuery
|
#
groupByPosition( )
Group by the position column
Group by the position column
Returns
|
public
Thelia\Model\FeatureQuery
|
#
groupByCreatedAt( )
Group by the created_at column
Group by the created_at column
Returns
|
public
Thelia\Model\FeatureQuery
|
#
groupByUpdatedAt( )
Group by the updated_at column
Group by the updated_at column
Returns
|
public
Thelia\Model\FeatureQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\FeatureQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\FeatureQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\FeatureQuery
|
#
leftJoinFeatureAv( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the FeatureAv relation
Adds a LEFT JOIN clause to the query using the FeatureAv relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
rightJoinFeatureAv( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the FeatureAv relation
Adds a RIGHT JOIN clause to the query using the FeatureAv relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
innerJoinFeatureAv( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the FeatureAv relation
Adds a INNER JOIN clause to the query using the FeatureAv relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
leftJoinFeatureProd( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the FeatureProd relation
Adds a LEFT JOIN clause to the query using the FeatureProd relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
rightJoinFeatureProd( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the FeatureProd relation
Adds a RIGHT JOIN clause to the query using the FeatureProd relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
innerJoinFeatureProd( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the FeatureProd relation
Adds a INNER JOIN clause to the query using the FeatureProd relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
leftJoinFeatureCategory( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the FeatureCategory relation
Adds a LEFT JOIN clause to the query using the FeatureCategory relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
rightJoinFeatureCategory( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the FeatureCategory relation
Adds a RIGHT JOIN clause to the query using the FeatureCategory relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
innerJoinFeatureCategory( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the FeatureCategory relation
Adds a INNER JOIN clause to the query using the FeatureCategory relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
leftJoinFeatureI18n( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the FeatureI18n relation
Adds a LEFT JOIN clause to the query using the FeatureI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
rightJoinFeatureI18n( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the FeatureI18n relation
Adds a RIGHT JOIN clause to the query using the FeatureI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\FeatureQuery
|
#
innerJoinFeatureI18n( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the FeatureI18n relation
Adds a INNER JOIN clause to the query using the FeatureI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\Feature
|
#
findOne( PropelPDO $con = null )
Return the first Feature matching the query
Return the first Feature matching the query
Parameters
Returns
|
public
Thelia\Model\Feature
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first Feature matching the query, or a new Feature object
populated from the query conditions when no match is found
Return the first Feature matching the query, or a new Feature object
populated from the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\Feature
|
#
findOneById( integer $id = )
Return the first Feature filtered by the id column
Return the first Feature filtered by the id column
Parameters
Returns
|
public
Thelia\Model\Feature
|
#
findOneByVisible( integer $visible = )
Return the first Feature filtered by the visible column
Return the first Feature filtered by the visible column
Parameters
Returns
|
public
Thelia\Model\Feature
|
#
findOneByPosition( integer $position = )
Return the first Feature filtered by the position column
Return the first Feature filtered by the position column
Parameters
- $position
integer $position
Returns
|
public
Thelia\Model\Feature
|
#
findOneByCreatedAt( string $created_at = )
Return the first Feature filtered by the created_at column
Return the first Feature filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
|
public
Thelia\Model\Feature
|
#
findOneByUpdatedAt( string $updated_at = )
Return the first Feature filtered by the updated_at column
Return the first Feature filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
|
public
array
|
#
findById( integer $id = )
Return Feature objects filtered by the id column
Return Feature objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByVisible( integer $visible = )
Return Feature objects filtered by the visible column
Return Feature objects filtered by the visible column
Parameters
Returns
array
|
public
array
|
#
findByPosition( integer $position = )
Return Feature objects filtered by the position column
Return Feature objects filtered by the position column
Parameters
- $position
integer $position
Returns
array
|
public
array
|
#
findByCreatedAt( string $created_at = )
Return Feature objects filtered by the created_at column
Return Feature objects filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
array
|
public
array
|
#
findByUpdatedAt( string $updated_at = )
Return Feature objects filtered by the updated_at column
Return Feature objects filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
array
|