Methods

__construct()

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

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

Returns a new ChildCustomerTitleI18nQuery 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\CustomerTitleI18nQuery

findPk()

findPk( $key, \Propel\Runtime\Connection\ConnectionInterface $con) : \Thelia\Model\CustomerTitleI18n|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(array(12, 34), $con);

Parameters

$key
\Propel\Runtime\Connection\ConnectionInterface $con

an optional connection object

Returns

\Thelia\Model\CustomerTitleI18n|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(array(12, 56), array(832, 123), array(123, 456)), $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\CustomerTitleI18nQuery

Filter the query by primary key

Parameters

mixed $key

Primary key to use for the query

Returns

\Thelia\Model\CustomerTitleI18nQuery

The current query, for fluid interface

filterByPrimaryKeys()

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

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\CustomerTitleI18nQuery

The current query, for fluid interface

filterById()

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

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\CustomerTitleI18nQuery

The current query, for fluid interface

filterByLocale()

filterByLocale(string $locale, string $comparison) : \Thelia\Model\CustomerTitleI18nQuery

Filter the query on the locale column

Example usage: $query->filterByLocale('fooValue'); // WHERE locale = 'fooValue' $query->filterByLocale('%fooValue%'); // WHERE locale LIKE '%fooValue%'

Parameters

string $locale

The value to use as filter. Accepts wildcards (* and % trigger a LIKE)

string $comparison

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

Returns

\Thelia\Model\CustomerTitleI18nQuery

The current query, for fluid interface

filterByShort()

filterByShort(string $short, string $comparison) : \Thelia\Model\CustomerTitleI18nQuery

Filter the query on the short column

Example usage: $query->filterByShort('fooValue'); // WHERE short = 'fooValue' $query->filterByShort('%fooValue%'); // WHERE short LIKE '%fooValue%'

Parameters

string $short

The value to use as filter. Accepts wildcards (* and % trigger a LIKE)

string $comparison

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

Returns

\Thelia\Model\CustomerTitleI18nQuery

The current query, for fluid interface

filterByLong()

filterByLong(string $long, string $comparison) : \Thelia\Model\CustomerTitleI18nQuery

Filter the query on the long column

Example usage: $query->filterByLong('fooValue'); // WHERE long = 'fooValue' $query->filterByLong('%fooValue%'); // WHERE long LIKE '%fooValue%'

Parameters

string $long

The value to use as filter. Accepts wildcards (* and % trigger a LIKE)

string $comparison

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

Returns

\Thelia\Model\CustomerTitleI18nQuery

The current query, for fluid interface

filterByCustomerTitle()

filterByCustomerTitle(\Thelia\Model\CustomerTitle|\Propel\Runtime\Collection\ObjectCollection $customerTitle, string $comparison) : \Thelia\Model\CustomerTitleI18nQuery

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

Parameters

\Thelia\Model\CustomerTitle|\Propel\Runtime\Collection\ObjectCollection $customerTitle

The related object(s) to use as filter

string $comparison

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

Returns

\Thelia\Model\CustomerTitleI18nQuery

The current query, for fluid interface

joinCustomerTitle()

joinCustomerTitle(string $relationAlias, string $joinType) : \Thelia\Model\CustomerTitleI18nQuery

Adds a JOIN clause to the query using the CustomerTitle relation

Parameters

string $relationAlias

optional alias for the relation

string $joinType

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

Returns

\Thelia\Model\CustomerTitleI18nQuery

The current query, for fluid interface

useCustomerTitleQuery()

useCustomerTitleQuery(string $relationAlias, string $joinType) : \Thelia\Model\CustomerTitleQuery

Use the CustomerTitle relation CustomerTitle 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\CustomerTitleQuery

A secondary query class using the current class as primary query

doDeleteAll()

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

Deletes all rows from the customer_title_i18n 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 ChildCustomerTitleI18n 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.

orderById()

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

Order by the id column

Parameters

$order =

Returns

\Thelia\Model\CustomerTitleI18nQuery

orderByLocale()

orderByLocale($order =) : \Thelia\Model\CustomerTitleI18nQuery

Order by the locale column

Parameters

$order =

Returns

\Thelia\Model\CustomerTitleI18nQuery

orderByShort()

orderByShort($order =) : \Thelia\Model\CustomerTitleI18nQuery

Order by the short column

Parameters

$order =

Returns

\Thelia\Model\CustomerTitleI18nQuery

orderByLong()

orderByLong($order =) : \Thelia\Model\CustomerTitleI18nQuery

Order by the long column

Parameters

$order =

Returns

\Thelia\Model\CustomerTitleI18nQuery

groupById()

groupById() : \Thelia\Model\CustomerTitleI18nQuery

Group by the id column

Returns

\Thelia\Model\CustomerTitleI18nQuery

groupByLocale()

groupByLocale() : \Thelia\Model\CustomerTitleI18nQuery

Group by the locale column

Returns

\Thelia\Model\CustomerTitleI18nQuery

groupByShort()

groupByShort() : \Thelia\Model\CustomerTitleI18nQuery

Group by the short column

Returns

\Thelia\Model\CustomerTitleI18nQuery

groupByLong()

groupByLong() : \Thelia\Model\CustomerTitleI18nQuery

Group by the long column

Returns

\Thelia\Model\CustomerTitleI18nQuery

leftJoin()

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

Adds a LEFT JOIN clause to the query

Parameters

mixed $relation

Returns

\Thelia\Model\CustomerTitleI18nQuery

rightJoin()

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

Adds a RIGHT JOIN clause to the query

Parameters

mixed $relation

Returns

\Thelia\Model\CustomerTitleI18nQuery

innerJoin()

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

Adds a INNER JOIN clause to the query

Parameters

mixed $relation

Returns

\Thelia\Model\CustomerTitleI18nQuery

leftJoinCustomerTitle()

leftJoinCustomerTitle($relationAlias =) : \Thelia\Model\CustomerTitleI18nQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\CustomerTitleI18nQuery

rightJoinCustomerTitle()

rightJoinCustomerTitle($relationAlias =) : \Thelia\Model\CustomerTitleI18nQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\CustomerTitleI18nQuery

innerJoinCustomerTitle()

innerJoinCustomerTitle($relationAlias =) : \Thelia\Model\CustomerTitleI18nQuery

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

Parameters

$relationAlias =

Returns

\Thelia\Model\CustomerTitleI18nQuery

findOne()

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

Return the first ChildCustomerTitleI18n matching the query

Parameters

ConnectionInterface $con

Returns

\Thelia\Model\CustomerTitleI18n

findOneOrCreate()

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

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

Parameters

ConnectionInterface $con

Returns

\Thelia\Model\CustomerTitleI18n

findOneById()

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

Return the first ChildCustomerTitleI18n filtered by the id column

Parameters

int $id

Returns

\Thelia\Model\CustomerTitleI18n

findOneByLocale()

findOneByLocale(string $locale) : \Thelia\Model\CustomerTitleI18n

Return the first ChildCustomerTitleI18n filtered by the locale column

Parameters

string $locale

Returns

\Thelia\Model\CustomerTitleI18n

findOneByShort()

findOneByShort(string $short) : \Thelia\Model\CustomerTitleI18n

Return the first ChildCustomerTitleI18n filtered by the short column

Parameters

string $short

Returns

\Thelia\Model\CustomerTitleI18n

findOneByLong()

findOneByLong(string $long) : \Thelia\Model\CustomerTitleI18n

Return the first ChildCustomerTitleI18n filtered by the long column

Parameters

string $long

Returns

\Thelia\Model\CustomerTitleI18n

findById()

findById(int $id) : array

Return ChildCustomerTitleI18n objects filtered by the id column

Parameters

int $id

Returns

array

findByLocale()

findByLocale(string $locale) : array

Return ChildCustomerTitleI18n objects filtered by the locale column

Parameters

string $locale

Returns

array

findByShort()

findByShort(string $short) : array

Return ChildCustomerTitleI18n objects filtered by the short column

Parameters

string $short

Returns

array

findByLong()

findByLong(string $long) : array

Return ChildCustomerTitleI18n objects filtered by the long column

Parameters

string $long

Returns

array

findPkSimple()

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

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\CustomerTitleI18n

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

findPkComplex()

findPkComplex(mixed $key, \Propel\Runtime\Connection\ConnectionInterface $con) : \Thelia\Model\CustomerTitleI18n|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\CustomerTitleI18n|array|mixed —

the result, formatted by the current formatter