# Class BaseCustomerTitleI18nQuery

Base class that represents a query for the 'customer_title_i18n' table.

  ModelCriteria
  Thelia\Model\om\BaseCustomerTitleI18nQuery

#### Direct known subclasses

Thelia\Model\CustomerTitleI18nQuery
Abstract
Namespace: Thelia\Model\om
Package: propel\generator\Thelia\Model\om
Located at core/lib/Thelia/Model/om/BaseCustomerTitleI18nQuery.php

Methods summary
`public` | # `__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\CustomerTitleI18n', string $modelAlias = null )` Initializes internal state of BaseCustomerTitleI18nQuery object. Initializes internal state of BaseCustomerTitleI18nQuery 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\CustomerTitleI18nQuery`` | # `create( string $modelAlias = null, `Thelia\Model\CustomerTitleI18nQuery`|Criteria $criteria = null )` Returns a new CustomerTitleI18nQuery object. Returns a new CustomerTitleI18nQuery object. #### Parameters $modelAlias `string` $modelAlias The alias of a model in the query $criteria ``Thelia\Model\CustomerTitleI18nQuery`|Criteria` $criteria Optional Criteria to build the query from #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18n`|`Thelia\Model\CustomerTitleI18n[]`|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 ``Thelia\Model\CustomerTitleI18n`|`Thelia\Model\CustomerTitleI18n[]`|mixed` the result, formatted by the current formatter
`protected `Thelia\Model\CustomerTitleI18n`` | # `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 ``Thelia\Model\CustomerTitleI18n`` A model object, or null if the key is not found #### Throws `PropelException`
`protected `Thelia\Model\CustomerTitleI18n`|`Thelia\Model\CustomerTitleI18n[]`|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 ``Thelia\Model\CustomerTitleI18n`|`Thelia\Model\CustomerTitleI18n[]`|mixed` the result, formatted by the current formatter
`public PropelObjectCollection|`Thelia\Model\CustomerTitleI18n[]`|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 `PropelObjectCollection|`Thelia\Model\CustomerTitleI18n[]`|mixed` the list of results, formatted by the current formatter
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `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 ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `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 ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `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); // WHERE id = 1234
    $query->filterById(array(12, 34)); // WHERE id IN (12, 34)
    $query->filterById(array('min' => 12)); // WHERE id >= 12
    $query->filterById(array('max' => 12)); // WHERE id <= 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 ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface #### See ``Thelia\Model\om\BaseCustomerTitleI18nQuery::filterByCustomerTitle()``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `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');   // WHERE locale = 'fooValue'
    $query->filterByLocale('%fooValue%'); // WHERE locale LIKE '%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 ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `filterByShort( string $short = null, string $comparison = null )` Filter the query on the short column Filter the query on the short column Example usage:
    $query->filterByShort('fooValue');   // WHERE short = 'fooValue'
    $query->filterByShort('%fooValue%'); // WHERE short LIKE '%fooValue%'
#### Parameters $short `string` $short 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 ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `filterByLong( string $long = null, string $comparison = null )` Filter the query on the long column Filter the query on the long column Example usage:
    $query->filterByLong('fooValue');   // WHERE long = 'fooValue'
    $query->filterByLong('%fooValue%'); // WHERE long LIKE '%fooValue%'
#### Parameters $long `string` $long 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 ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `filterByCustomerTitle( `Thelia\Model\CustomerTitle`|PropelObjectCollection $customerTitle, string $comparison = null )` Filter the query by a related CustomerTitle object Filter the query by a related CustomerTitle object #### Parameters $customerTitle ``Thelia\Model\CustomerTitle`|PropelObjectCollection` $customerTitle The related object(s) to use as filter $comparison `string` $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL #### Returns ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `joinCustomerTitle( string $relationAlias = null, string $joinType = 'LEFT JOIN' )` Adds a JOIN clause to the query using the CustomerTitle relation Adds a JOIN clause to the query using the CustomerTitle relation #### Parameters $relationAlias `string` $relationAlias optional alias for the relation $joinType `string` $joinType Accepted values are null, 'left join', 'right join', 'inner join' #### Returns ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface
`public `Thelia\Model\CustomerTitleQuery`` | # `useCustomerTitleQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN' )` Use the CustomerTitle relation CustomerTitle object Use the CustomerTitle relation CustomerTitle 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 ``Thelia\Model\CustomerTitleQuery`` A secondary query class using the current class as primary query #### See useQuery()
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `prune( `Thelia\Model\CustomerTitleI18n` $customerTitleI18n = null )` Exclude object from result Exclude object from result #### Parameters $customerTitleI18n ``Thelia\Model\CustomerTitleI18n`` $customerTitleI18n Object to remove from the list of results #### Returns ``Thelia\Model\CustomerTitleI18nQuery`` The current query, for fluid interface

Magic methods summary
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `orderById( mixed $order = Thelia\Model\om\Criteria::ASC )` Order by the id column Order by the id column #### Parameters $order `mixed` $order #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `orderByLocale( mixed $order = Thelia\Model\om\Criteria::ASC )` Order by the locale column Order by the locale column #### Parameters $order `mixed` $order #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `orderByShort( mixed $order = Thelia\Model\om\Criteria::ASC )` Order by the short column Order by the short column #### Parameters $order `mixed` $order #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `orderByLong( mixed $order = Thelia\Model\om\Criteria::ASC )` Order by the long column Order by the long column #### Parameters $order `mixed` $order #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `groupById( )` Group by the id column Group by the id column #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `groupByLocale( )` Group by the locale column Group by the locale column #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `groupByShort( )` Group by the short column Group by the short column #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `groupByLong( )` Group by the long column Group by the long column #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `leftJoin( mixed $relation = )` Adds a LEFT JOIN clause to the query Adds a LEFT JOIN clause to the query #### Parameters $relation `mixed` $relation #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `rightJoin( mixed $relation = )` Adds a RIGHT JOIN clause to the query Adds a RIGHT JOIN clause to the query #### Parameters $relation `mixed` $relation #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `innerJoin( mixed $relation = )` Adds a INNER JOIN clause to the query Adds a INNER JOIN clause to the query #### Parameters $relation `mixed` $relation #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `leftJoinCustomerTitle( mixed $relationAlias = null )` Adds a LEFT JOIN clause to the query using the CustomerTitle relation Adds a LEFT JOIN clause to the query using the CustomerTitle relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `rightJoinCustomerTitle( mixed $relationAlias = null )` Adds a RIGHT JOIN clause to the query using the CustomerTitle relation Adds a RIGHT JOIN clause to the query using the CustomerTitle relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18nQuery`` | # `innerJoinCustomerTitle( mixed $relationAlias = null )` Adds a INNER JOIN clause to the query using the CustomerTitle relation Adds a INNER JOIN clause to the query using the CustomerTitle relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\CustomerTitleI18nQuery``
`public `Thelia\Model\CustomerTitleI18n`` | # `findOne( PropelPDO $con = null )` Return the first CustomerTitleI18n matching the query Return the first CustomerTitleI18n matching the query #### Parameters $con `PropelPDO` $con #### Returns ``Thelia\Model\CustomerTitleI18n``
`public `Thelia\Model\CustomerTitleI18n`` | # `findOneOrCreate( PropelPDO $con = null )` Return the first CustomerTitleI18n matching the query, or a new CustomerTitleI18n object populated from the query conditions when no match is found Return the first CustomerTitleI18n matching the query, or a new CustomerTitleI18n object populated from the query conditions when no match is found #### Parameters $con `PropelPDO` $con #### Returns ``Thelia\Model\CustomerTitleI18n``
`public `Thelia\Model\CustomerTitleI18n`` | # `findOneById( integer $id = )` Return the first CustomerTitleI18n filtered by the id column Return the first CustomerTitleI18n filtered by the id column #### Parameters $id `integer` $id #### Returns ``Thelia\Model\CustomerTitleI18n``
`public `Thelia\Model\CustomerTitleI18n`` | # `findOneByLocale( string $locale = )` Return the first CustomerTitleI18n filtered by the locale column Return the first CustomerTitleI18n filtered by the locale column #### Parameters $locale `string` $locale #### Returns ``Thelia\Model\CustomerTitleI18n``
`public `Thelia\Model\CustomerTitleI18n`` | # `findOneByShort( string $short = )` Return the first CustomerTitleI18n filtered by the short column Return the first CustomerTitleI18n filtered by the short column #### Parameters $short `string` $short #### Returns ``Thelia\Model\CustomerTitleI18n``
`public `Thelia\Model\CustomerTitleI18n`` | # `findOneByLong( string $long = )` Return the first CustomerTitleI18n filtered by the long column Return the first CustomerTitleI18n filtered by the long column #### Parameters $long `string` $long #### Returns ``Thelia\Model\CustomerTitleI18n``
`public array` | # `findById( integer $id = )` Return CustomerTitleI18n objects filtered by the id column Return CustomerTitleI18n objects filtered by the id column #### Parameters $id `integer` $id #### Returns `array`
`public array` | # `findByLocale( string $locale = )` Return CustomerTitleI18n objects filtered by the locale column Return CustomerTitleI18n objects filtered by the locale column #### Parameters $locale `string` $locale #### Returns `array`
`public array` | # `findByShort( string $short = )` Return CustomerTitleI18n objects filtered by the short column Return CustomerTitleI18n objects filtered by the short column #### Parameters $short `string` $short #### Returns `array`
`public array` | # `findByLong( string $long = )` Return CustomerTitleI18n objects filtered by the long column Return CustomerTitleI18n objects filtered by the long column #### Parameters $long `string` $long #### Returns `array`