MessageI18nQuery
class MessageI18nQuery extends ModelCriteria
Base class that represents a query for the 'message_i18n' table.
Methods
Initializes internal state of \Thelia\Model\Base\MessageI18nQuery object.
Returns a new ChildMessageI18nQuery object.
Find object by primary key.
Find objects by primary key
$objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
Filter the query by primary key
Filter the query by a list of primary keys
Filter the query on the id column
Filter the query on the locale column
Filter the query on the title column
Filter the query on the subject column
Filter the query on the text_message column
Filter the query on the html_message column
Filter the query by a related \Thelia\Model\Message object
Adds a JOIN clause to the query using the Message relation
Use the Message relation Message object
Deletes all rows from the message_i18n table.
Performs a DELETE on the database, given a ChildMessageI18n or Criteria object OR a primary key value.
Order by the id column
Order by the locale column
Order by the title column
Order by the subject column
Order by the text_message column
Order by the html_message column
Group by the id column
Group by the locale column
Group by the title column
Group by the subject column
Group by the text_message column
Group by the html_message column
Adds a LEFT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Adds a INNER JOIN clause to the query
Adds a LEFT JOIN clause to the query using the Message relation
Adds a RIGHT JOIN clause to the query using the Message relation
Adds a INNER JOIN clause to the query using the Message relation
Return the first ChildMessageI18n matching the query
Return the first ChildMessageI18n matching the query, or a new ChildMessageI18n object populated from the query conditions when no match is found
Return the first ChildMessageI18n filtered by the id column
Return the first ChildMessageI18n filtered by the locale column
Return the first ChildMessageI18n filtered by the title column
Return the first ChildMessageI18n filtered by the subject column
Return the first ChildMessageI18n filtered by the text_message column
Return the first ChildMessageI18n filtered by the html_message column
Return ChildMessageI18n objects filtered by the id column
Return ChildMessageI18n objects filtered by the locale column
Return ChildMessageI18n objects filtered by the title column
Return ChildMessageI18n objects filtered by the subject column
Return ChildMessageI18n objects filtered by the text_message column
Return ChildMessageI18n objects filtered by the html_message column
Details
at line 74
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\MessageI18n',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\MessageI18nQuery object.
at line 87
static
MessageI18nQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildMessageI18nQuery object.
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);
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);
at line 221
MessageI18nQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 236
MessageI18nQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
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
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%'
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%'
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%'
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%'
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%'
at line 447
MessageI18nQuery
filterByMessage(
Message|ObjectCollection $message,
string $comparison = null)
Filter the query by a related \Thelia\Model\Message object
at line 472
MessageI18nQuery
joinMessage(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Adds a JOIN clause to the query using the Message relation
at line 507
MessageQuery
useMessageQuery(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Use the Message relation Message object
at line 521
MessageI18nQuery
prune(
MessageI18n $messageI18n = null)
Exclude object from result
at line 538
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the message_i18n table.
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.
at line 64
ChildMessageI18nQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 64
ChildMessageI18nQuery
orderByLocale($order = Criteria::ASC)
Order by the locale column
at line 64
ChildMessageI18nQuery
orderByTitle($order = Criteria::ASC)
Order by the title column
at line 64
ChildMessageI18nQuery
orderBySubject($order = Criteria::ASC)
Order by the subject column
at line 64
ChildMessageI18nQuery
orderByTextMessage($order = Criteria::ASC)
Order by the text_message column
at line 64
ChildMessageI18nQuery
orderByHtmlMessage($order = Criteria::ASC)
Order by the html_message column
at line 64
ChildMessageI18nQuery
groupById()
Group by the id column
at line 64
ChildMessageI18nQuery
groupByLocale()
Group by the locale column
at line 64
ChildMessageI18nQuery
groupByTitle()
Group by the title column
at line 64
ChildMessageI18nQuery
groupBySubject()
Group by the subject column
at line 64
ChildMessageI18nQuery
groupByTextMessage()
Group by the text_message column
at line 64
ChildMessageI18nQuery
groupByHtmlMessage()
Group by the html_message column
at line 64
ChildMessageI18nQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 64
ChildMessageI18nQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 64
ChildMessageI18nQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 64
ChildMessageI18nQuery
leftJoinMessage($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Message relation
at line 64
ChildMessageI18nQuery
rightJoinMessage($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Message relation
at line 64
ChildMessageI18nQuery
innerJoinMessage($relationAlias = null)
Adds a INNER JOIN clause to the query using the Message relation
at line 64
ChildMessageI18n
findOne(
ConnectionInterface $con = null)
Return the first ChildMessageI18n matching the query
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
at line 64
ChildMessageI18n
findOneById(
int $id)
Return the first ChildMessageI18n filtered by the id column
at line 64
ChildMessageI18n
findOneByLocale(
string $locale)
Return the first ChildMessageI18n filtered by the locale column
at line 64
ChildMessageI18n
findOneByTitle(
string $title)
Return the first ChildMessageI18n filtered by the title column
at line 64
ChildMessageI18n
findOneBySubject(
string $subject)
Return the first ChildMessageI18n filtered by the subject column
at line 64
ChildMessageI18n
findOneByTextMessage(
string $text_message)
Return the first ChildMessageI18n filtered by the text_message column
at line 64
ChildMessageI18n
findOneByHtmlMessage(
string $html_message)
Return the first ChildMessageI18n filtered by the html_message column
at line 64
array
findById(
int $id)
Return ChildMessageI18n objects filtered by the id column
at line 64
array
findByLocale(
string $locale)
Return ChildMessageI18n objects filtered by the locale column
at line 64
array
findByTitle(
string $title)
Return ChildMessageI18n objects filtered by the title column
at line 64
array
findBySubject(
string $subject)
Return ChildMessageI18n objects filtered by the subject column
at line 64
array
findByTextMessage(
string $text_message)
Return ChildMessageI18n objects filtered by the text_message column
at line 64
array
findByHtmlMessage(
string $html_message)
Return ChildMessageI18n objects filtered by the html_message column