Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\CountryI18n', string $modelAlias = null )
Initializes internal state of BaseCountryI18nQuery object.
Initializes internal state of BaseCountryI18nQuery 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\CountryI18nQuery
|
#
create( string $modelAlias = null, Thelia\Model\CountryI18nQuery|Criteria $criteria = null )
Returns a new CountryI18nQuery object.
Returns a new CountryI18nQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\CountryI18nQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\CountryI18n|Thelia\Model\CountryI18n[]|mixed
|
#
findPk( array $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(array(12, 34), $con);
Parameters
- $key
array $key Primary key to use for the query A Primary key composition: [$id, $locale]
- $con
PropelPDO $con an optional connection object
Returns
|
protected
Thelia\Model\CountryI18n
|
#
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\CountryI18n|Thelia\Model\CountryI18n[]|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\CountryI18n[]|mixed
|
#
findPks( array $keys, PropelPDO $con = null )
Find objects by primary key
$objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
Find objects by primary key
$objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
Parameters
- $keys
array $keys Primary keys to use for the query
- $con
PropelPDO $con an optional connection object
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
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\CountryI18nQuery
|
#
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\CountryI18nQuery
|
#
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));
$query->filterById(array('max' => 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
See
|
public
Thelia\Model\CountryI18nQuery
|
#
filterByLocale( string $locale = null, string $comparison = null )
Filter the query on the locale column
Filter the query on the locale column
Example usage:
$query->filterByLocale('fooValue');
$query->filterByLocale('%fooValue%');
Parameters
- $locale
string $locale The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
filterByTitle( string $title = null, string $comparison = null )
Filter the query on the title column
Filter the query on the title column
Example usage:
$query->filterByTitle('fooValue');
$query->filterByTitle('%fooValue%');
Parameters
- $title
string $title The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
filterByDescription( string $description = null, string $comparison = null )
Filter the query on the description column
Filter the query on the description column
Example usage:
$query->filterByDescription('fooValue');
$query->filterByDescription('%fooValue%');
Parameters
- $description
string $description The value to use as filter. Accepts wildcards (* and % trigger a
LIKE)
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
filterByChapo( string $chapo = null, string $comparison = null )
Filter the query on the chapo column
Filter the query on the chapo column
Example usage:
$query->filterByChapo('fooValue');
$query->filterByChapo('%fooValue%');
Parameters
- $chapo
string $chapo The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
filterByPostscriptum( string $postscriptum = null, string $comparison = null )
Filter the query on the postscriptum column
Filter the query on the postscriptum column
Example usage:
$query->filterByPostscriptum('fooValue');
$query->filterByPostscriptum('%fooValue%');
Parameters
- $postscriptum
string $postscriptum The value to use as filter. Accepts wildcards (* and % trigger a
LIKE)
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
filterByCountry( Thelia\Model\Country|PropelObjectCollection $country, string $comparison = null )
Filter the query by a related Country object
Filter the query by a related Country object
Parameters
- $country
Thelia\Model\Country|PropelObjectCollection $country The related object(s) 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\CountryI18nQuery
|
#
joinCountry( string $relationAlias = null, string $joinType = 'LEFT JOIN' )
Adds a JOIN clause to the query using the Country relation
Adds a JOIN clause to the query using the Country 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\CountryQuery
|
#
useCountryQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN' )
Use the Country relation Country object
Use the Country relation Country 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\CountryI18nQuery
|
|
Magic methods summary
public
Thelia\Model\CountryI18nQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
orderByLocale( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the locale column
Order by the locale column
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
orderByTitle( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the title column
Order by the title column
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
orderByDescription( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the description column
Order by the description column
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
orderByChapo( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the chapo column
Order by the chapo column
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
orderByPostscriptum( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the postscriptum column
Order by the postscriptum column
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
|
public
Thelia\Model\CountryI18nQuery
|
#
groupByLocale( )
Group by the locale column
Group by the locale column
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
groupByTitle( )
Group by the title column
Group by the title column
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
groupByDescription( )
Group by the description column
Group by the description column
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
groupByChapo( )
Group by the chapo column
Group by the chapo column
Returns
|
public
Thelia\Model\CountryI18nQuery
|
|
public
Thelia\Model\CountryI18nQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
leftJoinCountry( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the Country relation
Adds a LEFT JOIN clause to the query using the Country relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
rightJoinCountry( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the Country relation
Adds a RIGHT JOIN clause to the query using the Country relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\CountryI18nQuery
|
#
innerJoinCountry( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the Country relation
Adds a INNER JOIN clause to the query using the Country relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\CountryI18n
|
#
findOne( PropelPDO $con = null )
Return the first CountryI18n matching the query
Return the first CountryI18n matching the query
Parameters
Returns
|
public
Thelia\Model\CountryI18n
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first CountryI18n matching the query, or a new CountryI18n object
populated from the query conditions when no match is found
Return the first CountryI18n matching the query, or a new CountryI18n object
populated from the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\CountryI18n
|
#
findOneById( integer $id = )
Return the first CountryI18n filtered by the id column
Return the first CountryI18n filtered by the id column
Parameters
Returns
|
public
Thelia\Model\CountryI18n
|
#
findOneByLocale( string $locale = )
Return the first CountryI18n filtered by the locale column
Return the first CountryI18n filtered by the locale column
Parameters
Returns
|
public
Thelia\Model\CountryI18n
|
#
findOneByTitle( string $title = )
Return the first CountryI18n filtered by the title column
Return the first CountryI18n filtered by the title column
Parameters
Returns
|
public
Thelia\Model\CountryI18n
|
#
findOneByDescription( string $description = )
Return the first CountryI18n filtered by the description column
Return the first CountryI18n filtered by the description column
Parameters
- $description
string $description
Returns
|
public
Thelia\Model\CountryI18n
|
#
findOneByChapo( string $chapo = )
Return the first CountryI18n filtered by the chapo column
Return the first CountryI18n filtered by the chapo column
Parameters
Returns
|
public
Thelia\Model\CountryI18n
|
#
findOneByPostscriptum( string $postscriptum = )
Return the first CountryI18n filtered by the postscriptum column
Return the first CountryI18n filtered by the postscriptum column
Parameters
- $postscriptum
string $postscriptum
Returns
|
public
array
|
#
findById( integer $id = )
Return CountryI18n objects filtered by the id column
Return CountryI18n objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByLocale( string $locale = )
Return CountryI18n objects filtered by the locale column
Return CountryI18n objects filtered by the locale column
Parameters
Returns
array
|
public
array
|
#
findByTitle( string $title = )
Return CountryI18n objects filtered by the title column
Return CountryI18n objects filtered by the title column
Parameters
Returns
array
|
public
array
|
#
findByDescription( string $description = )
Return CountryI18n objects filtered by the description column
Return CountryI18n objects filtered by the description column
Parameters
- $description
string $description
Returns
array
|
public
array
|
#
findByChapo( string $chapo = )
Return CountryI18n objects filtered by the chapo column
Return CountryI18n objects filtered by the chapo column
Parameters
Returns
array
|
public
array
|
#
findByPostscriptum( string $postscriptum = )
Return CountryI18n objects filtered by the postscriptum column
Return CountryI18n objects filtered by the postscriptum column
Parameters
- $postscriptum
string $postscriptum
Returns
array
|