class MessageI18nQuery extends MessageI18nQuery

Skeleton subclass for performing query and update operations on the 'message_i18n' table.

You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

Methods

__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\MessageI18n', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\MessageI18nQuery object.

static  MessageI18nQuery
create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildMessageI18nQuery object.

MessageI18n|array|mixed
findPk($key, $con = null)

Find object by primary key.

ObjectCollection|array|mixed
findPks( array $keys, ConnectionInterface $con = null)

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

filterByPrimaryKey( mixed $key)

Filter the query by primary key

filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

filterById( mixed $id = null, string $comparison = null)

Filter the query on the id column

filterByLocale( string $locale = null, string $comparison = null)

Filter the query on the locale column

filterByTitle( string $title = null, string $comparison = null)

Filter the query on the title column

filterBySubject( string $subject = null, string $comparison = null)

Filter the query on the subject column

filterByTextMessage( string $textMessage = null, string $comparison = null)

Filter the query on the text_message column

filterByHtmlMessage( string $htmlMessage = null, string $comparison = null)

Filter the query on the html_message column

filterByMessage( Message|ObjectCollection $message, string $comparison = null)

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

joinMessage( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the Message relation

useMessageQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Use the Message relation Message object

prune( MessageI18n $messageI18n = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the message_i18n table.

int
delete( ConnectionInterface $con = null)

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

ChildMessageI18nQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildMessageI18nQuery
orderByLocale($order = Criteria::ASC)

Order by the locale column

ChildMessageI18nQuery
orderByTitle($order = Criteria::ASC)

Order by the title column

ChildMessageI18nQuery
orderBySubject($order = Criteria::ASC)

Order by the subject column

ChildMessageI18nQuery
orderByTextMessage($order = Criteria::ASC)

Order by the text_message column

ChildMessageI18nQuery
orderByHtmlMessage($order = Criteria::ASC)

Order by the html_message column

ChildMessageI18nQuery
groupById()

Group by the id column

ChildMessageI18nQuery
groupByLocale()

Group by the locale column

ChildMessageI18nQuery
groupByTitle()

Group by the title column

ChildMessageI18nQuery
groupBySubject()

Group by the subject column

ChildMessageI18nQuery
groupByTextMessage()

Group by the text_message column

ChildMessageI18nQuery
groupByHtmlMessage()

Group by the html_message column

ChildMessageI18nQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildMessageI18nQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildMessageI18nQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildMessageI18nQuery
leftJoinMessage($relationAlias = null)

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

ChildMessageI18nQuery
rightJoinMessage($relationAlias = null)

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

ChildMessageI18nQuery
innerJoinMessage($relationAlias = null)

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

ChildMessageI18n
findOne( ConnectionInterface $con = null)

Return the first ChildMessageI18n matching the query

ChildMessageI18n
findOneOrCreate( ConnectionInterface $con = null)

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

ChildMessageI18n
findOneById( int $id)

Return the first ChildMessageI18n filtered by the id column

ChildMessageI18n
findOneByLocale( string $locale)

Return the first ChildMessageI18n filtered by the locale column

ChildMessageI18n
findOneByTitle( string $title)

Return the first ChildMessageI18n filtered by the title column

ChildMessageI18n
findOneBySubject( string $subject)

Return the first ChildMessageI18n filtered by the subject column

ChildMessageI18n
findOneByTextMessage( string $text_message)

Return the first ChildMessageI18n filtered by the text_message column

ChildMessageI18n
findOneByHtmlMessage( string $html_message)

Return the first ChildMessageI18n filtered by the html_message column

array
findById( int $id)

Return ChildMessageI18n objects filtered by the id column

array
findByLocale( string $locale)

Return ChildMessageI18n objects filtered by the locale column

array
findByTitle( string $title)

Return ChildMessageI18n objects filtered by the title column

array
findBySubject( string $subject)

Return ChildMessageI18n objects filtered by the subject column

array
findByTextMessage( string $text_message)

Return ChildMessageI18n objects filtered by the text_message column

array
findByHtmlMessage( string $html_message)

Return ChildMessageI18n objects filtered by the html_message column

Details

in MessageI18nQuery at line 74
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\MessageI18n', string $modelAlias = null)

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

in MessageI18nQuery at line 87
static MessageI18nQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildMessageI18nQuery object.

Parameters

string $modelAlias The alias of a model in the query
Criteria $criteria Optional Criteria to build the query from

Return Value

MessageI18nQuery

in MessageI18nQuery at line 117
MessageI18n|array|mixed findPk($key, $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.

$obj = $c->findPk(array(12, 34), $con);

Parameters

$key
$con

Return Value

MessageI18n|array|mixed the result, formatted by the current formatter

in MessageI18nQuery at line 200
ObjectCollection|array|mixed findPks( array $keys, ConnectionInterface $con = null)

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

Parameters

array $keys Primary keys to use for the query
ConnectionInterface $con an optional connection object

Return Value

ObjectCollection|array|mixed the list of results, formatted by the current formatter

in MessageI18nQuery at line 221
MessageI18nQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 236
MessageI18nQuery filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

Parameters

array $keys The list of primary key to use for the query

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 271
MessageI18nQuery filterById( mixed $id = null, string $comparison = null)

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

Return Value

MessageI18nQuery The current query, for fluid interface

See also

filterByMessage()

in MessageI18nQuery at line 309
MessageI18nQuery filterByLocale( string $locale = null, string $comparison = null)

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

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 338
MessageI18nQuery filterByTitle( string $title = null, string $comparison = null)

Filter the query on the title column

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

Parameters

string $title 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

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 367
MessageI18nQuery filterBySubject( string $subject = null, string $comparison = null)

Filter the query on the subject column

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

Parameters

string $subject 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

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 396
MessageI18nQuery filterByTextMessage( string $textMessage = null, string $comparison = null)

Filter the query on the text_message column

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

Parameters

string $textMessage 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

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 425
MessageI18nQuery filterByHtmlMessage( string $htmlMessage = null, string $comparison = null)

Filter the query on the html_message column

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

Parameters

string $htmlMessage 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

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 447
MessageI18nQuery filterByMessage( Message|ObjectCollection $message, string $comparison = null)

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

Parameters

Message|ObjectCollection $message The related object(s) to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 472
MessageI18nQuery joinMessage( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the Message relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 507
MessageQuery useMessageQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

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

Return Value

MessageQuery A secondary query class using the current class as primary query

See also

useQuery()

in MessageI18nQuery at line 521
MessageI18nQuery prune( MessageI18n $messageI18n = null)

Exclude object from result

Parameters

MessageI18n $messageI18n Object to remove from the list of results

Return Value

MessageI18nQuery The current query, for fluid interface

in MessageI18nQuery at line 538
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the message_i18n table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

in MessageI18nQuery at line 575
int delete( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

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.

Exceptions

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

in MessageI18nQuery at line 64
ChildMessageI18nQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery orderByLocale($order = Criteria::ASC)

Order by the locale column

Parameters

$order

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery orderByTitle($order = Criteria::ASC)

Order by the title column

Parameters

$order

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery orderBySubject($order = Criteria::ASC)

Order by the subject column

Parameters

$order

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery orderByTextMessage($order = Criteria::ASC)

Order by the text_message column

Parameters

$order

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery orderByHtmlMessage($order = Criteria::ASC)

Order by the html_message column

Parameters

$order

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery groupById()

Group by the id column

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery groupByLocale()

Group by the locale column

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery groupByTitle()

Group by the title column

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery groupBySubject()

Group by the subject column

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery groupByTextMessage()

Group by the text_message column

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery groupByHtmlMessage()

Group by the html_message column

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery leftJoinMessage($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery rightJoinMessage($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18nQuery innerJoinMessage($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageI18nQuery

in MessageI18nQuery at line 64
ChildMessageI18n findOne( ConnectionInterface $con = null)

Return the first ChildMessageI18n matching the query

Parameters

ConnectionInterface $con

Return Value

ChildMessageI18n

in MessageI18nQuery at line 64
ChildMessageI18n findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildMessageI18n

in MessageI18nQuery at line 64
ChildMessageI18n findOneById( int $id)

Return the first ChildMessageI18n filtered by the id column

Parameters

int $id

Return Value

ChildMessageI18n

in MessageI18nQuery at line 64
ChildMessageI18n findOneByLocale( string $locale)

Return the first ChildMessageI18n filtered by the locale column

Parameters

string $locale

Return Value

ChildMessageI18n

in MessageI18nQuery at line 64
ChildMessageI18n findOneByTitle( string $title)

Return the first ChildMessageI18n filtered by the title column

Parameters

string $title

Return Value

ChildMessageI18n

in MessageI18nQuery at line 64
ChildMessageI18n findOneBySubject( string $subject)

Return the first ChildMessageI18n filtered by the subject column

Parameters

string $subject

Return Value

ChildMessageI18n

in MessageI18nQuery at line 64
ChildMessageI18n findOneByTextMessage( string $text_message)

Return the first ChildMessageI18n filtered by the text_message column

Parameters

string $text_message

Return Value

ChildMessageI18n

in MessageI18nQuery at line 64
ChildMessageI18n findOneByHtmlMessage( string $html_message)

Return the first ChildMessageI18n filtered by the html_message column

Parameters

string $html_message

Return Value

ChildMessageI18n

in MessageI18nQuery at line 64
array findById( int $id)

Return ChildMessageI18n objects filtered by the id column

Parameters

int $id

Return Value

array

in MessageI18nQuery at line 64
array findByLocale( string $locale)

Return ChildMessageI18n objects filtered by the locale column

Parameters

string $locale

Return Value

array

in MessageI18nQuery at line 64
array findByTitle( string $title)

Return ChildMessageI18n objects filtered by the title column

Parameters

string $title

Return Value

array

in MessageI18nQuery at line 64
array findBySubject( string $subject)

Return ChildMessageI18n objects filtered by the subject column

Parameters

string $subject

Return Value

array

in MessageI18nQuery at line 64
array findByTextMessage( string $text_message)

Return ChildMessageI18n objects filtered by the text_message column

Parameters

string $text_message

Return Value

array

in MessageI18nQuery at line 64
array findByHtmlMessage( string $html_message)

Return ChildMessageI18n objects filtered by the html_message column

Parameters

string $html_message

Return Value

array