class MessageQuery extends MessageQuery

Skeleton subclass for performing query and update operations on the 'message' 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.

Properties

static $isVersioningEnabled Whether the versioning is enabled from  MessageQuery

Methods

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

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

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

Returns a new ChildMessageQuery object.

Message|array|mixed
findPk( mixed $key, ConnectionInterface $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(12, 56, 832), $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

filterByName( string $name = null, string $comparison = null)

Filter the query on the name column

filterBySecured( mixed $secured = null, string $comparison = null)

Filter the query on the secured column

filterByTextLayoutFileName( string $textLayoutFileName = null, string $comparison = null)

Filter the query on the textlayoutfile_name column

filterByTextTemplateFileName( string $textTemplateFileName = null, string $comparison = null)

Filter the query on the texttemplatefile_name column

filterByHtmlLayoutFileName( string $htmlLayoutFileName = null, string $comparison = null)

Filter the query on the htmllayoutfile_name column

filterByHtmlTemplateFileName( string $htmlTemplateFileName = null, string $comparison = null)

Filter the query on the htmltemplatefile_name column

filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

filterByVersion( mixed $version = null, string $comparison = null)

Filter the query on the version column

filterByVersionCreatedAt( mixed $versionCreatedAt = null, string $comparison = null)

Filter the query on the versioncreatedat column

filterByVersionCreatedBy( string $versionCreatedBy = null, string $comparison = null)

Filter the query on the versioncreatedby column

filterByMessageI18n( MessageI18n|ObjectCollection $messageI18n, string $comparison = null)

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

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

Adds a JOIN clause to the query using the MessageI18n relation

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

Use the MessageI18n relation MessageI18n object

filterByMessageVersion( MessageVersion|ObjectCollection $messageVersion, string $comparison = null)

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

joinMessageVersion( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the MessageVersion relation

useMessageVersionQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the MessageVersion relation MessageVersion object

prune( Message $message = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the message table.

int
delete( ConnectionInterface $con = null)

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

recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

recentlyCreated( int $nbDays = 7)

Filter by the latest created

lastUpdatedFirst()

Order by update date desc

firstUpdatedFirst()

Order by update date asc

lastCreatedFirst()

Order by create date desc

firstCreatedFirst()

Order by create date asc

joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the i18n relation

joinWithI18n( string $locale = 'en_US', string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query and hydrates the related I18n object.

useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the I18n relation query object

static  boolean
isVersioningEnabled()

Checks whether versioning is enabled

static 
enableVersioning()

Enables versioning

static 
disableVersioning()

Disables versioning

ChildMessageQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildMessageQuery
orderByName($order = Criteria::ASC)

Order by the name column

ChildMessageQuery
orderBySecured($order = Criteria::ASC)

Order by the secured column

ChildMessageQuery
orderByTextLayoutFileName($order = Criteria::ASC)

Order by the textlayoutfile_name column

ChildMessageQuery
orderByTextTemplateFileName($order = Criteria::ASC)

Order by the texttemplatefile_name column

ChildMessageQuery
orderByHtmlLayoutFileName($order = Criteria::ASC)

Order by the htmllayoutfile_name column

ChildMessageQuery
orderByHtmlTemplateFileName($order = Criteria::ASC)

Order by the htmltemplatefile_name column

ChildMessageQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildMessageQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildMessageQuery
orderByVersion($order = Criteria::ASC)

Order by the version column

ChildMessageQuery
orderByVersionCreatedAt($order = Criteria::ASC)

Order by the versioncreatedat column

ChildMessageQuery
orderByVersionCreatedBy($order = Criteria::ASC)

Order by the versioncreatedby column

ChildMessageQuery
groupById()

Group by the id column

ChildMessageQuery
groupByName()

Group by the name column

ChildMessageQuery
groupBySecured()

Group by the secured column

ChildMessageQuery
groupByTextLayoutFileName()

Group by the textlayoutfile_name column

ChildMessageQuery
groupByTextTemplateFileName()

Group by the texttemplatefile_name column

ChildMessageQuery
groupByHtmlLayoutFileName()

Group by the htmllayoutfile_name column

ChildMessageQuery
groupByHtmlTemplateFileName()

Group by the htmltemplatefile_name column

ChildMessageQuery
groupByCreatedAt()

Group by the created_at column

ChildMessageQuery
groupByUpdatedAt()

Group by the updated_at column

ChildMessageQuery
groupByVersion()

Group by the version column

ChildMessageQuery
groupByVersionCreatedAt()

Group by the versioncreatedat column

ChildMessageQuery
groupByVersionCreatedBy()

Group by the versioncreatedby column

ChildMessageQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildMessageQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildMessageQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildMessageQuery
leftJoinMessageI18n($relationAlias = null)

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

ChildMessageQuery
rightJoinMessageI18n($relationAlias = null)

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

ChildMessageQuery
innerJoinMessageI18n($relationAlias = null)

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

ChildMessageQuery
leftJoinMessageVersion($relationAlias = null)

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

ChildMessageQuery
rightJoinMessageVersion($relationAlias = null)

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

ChildMessageQuery
innerJoinMessageVersion($relationAlias = null)

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

ChildMessage
findOne( ConnectionInterface $con = null)

Return the first ChildMessage matching the query

ChildMessage
findOneOrCreate( ConnectionInterface $con = null)

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

ChildMessage
findOneById( int $id)

Return the first ChildMessage filtered by the id column

ChildMessage
findOneByName( string $name)

Return the first ChildMessage filtered by the name column

ChildMessage
findOneBySecured( int $secured)

Return the first ChildMessage filtered by the secured column

ChildMessage
findOneByTextLayoutFileName( string $text_layout_file_name)

Return the first ChildMessage filtered by the textlayoutfile_name column

ChildMessage
findOneByTextTemplateFileName( string $text_template_file_name)

Return the first ChildMessage filtered by the texttemplatefile_name column

ChildMessage
findOneByHtmlLayoutFileName( string $html_layout_file_name)

Return the first ChildMessage filtered by the htmllayoutfile_name column

ChildMessage
findOneByHtmlTemplateFileName( string $html_template_file_name)

Return the first ChildMessage filtered by the htmltemplatefile_name column

ChildMessage
findOneByCreatedAt( string $created_at)

Return the first ChildMessage filtered by the created_at column

ChildMessage
findOneByUpdatedAt( string $updated_at)

Return the first ChildMessage filtered by the updated_at column

ChildMessage
findOneByVersion( int $version)

Return the first ChildMessage filtered by the version column

ChildMessage
findOneByVersionCreatedAt( string $version_created_at)

Return the first ChildMessage filtered by the versioncreatedat column

ChildMessage
findOneByVersionCreatedBy( string $version_created_by)

Return the first ChildMessage filtered by the versioncreatedby column

array
findById( int $id)

Return ChildMessage objects filtered by the id column

array
findByName( string $name)

Return ChildMessage objects filtered by the name column

array
findBySecured( int $secured)

Return ChildMessage objects filtered by the secured column

array
findByTextLayoutFileName( string $text_layout_file_name)

Return ChildMessage objects filtered by the textlayoutfile_name column

array
findByTextTemplateFileName( string $text_template_file_name)

Return ChildMessage objects filtered by the texttemplatefile_name column

array
findByHtmlLayoutFileName( string $html_layout_file_name)

Return ChildMessage objects filtered by the htmllayoutfile_name column

array
findByHtmlTemplateFileName( string $html_template_file_name)

Return ChildMessage objects filtered by the htmltemplatefile_name column

array
findByCreatedAt( string $created_at)

Return ChildMessage objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildMessage objects filtered by the updated_at column

array
findByVersion( int $version)

Return ChildMessage objects filtered by the version column

array
findByVersionCreatedAt( string $version_created_at)

Return ChildMessage objects filtered by the versioncreatedat column

array
findByVersionCreatedBy( string $version_created_by)

Return ChildMessage objects filtered by the versioncreatedby column

static  Message
getFromName( string $messageName)

Load a message from its name, throwing an excemtoipn is none is found.

Details

in MessageQuery at line 110
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Message', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\MessageQuery 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 MessageQuery at line 123
static MessageQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildMessageQuery object.

Parameters

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

Return Value

MessageQuery

in MessageQuery at line 153
Message|array|mixed findPk( mixed $key, ConnectionInterface $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(12, $con);

Parameters

mixed $key Primary key to use for the query
ConnectionInterface $con an optional connection object

Return Value

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

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

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $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 MessageQuery at line 256
MessageQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 269
MessageQuery 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

MessageQuery The current query, for fluid interface

in MessageQuery at line 293
MessageQuery 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

MessageQuery The current query, for fluid interface

in MessageQuery at line 331
MessageQuery filterByName( string $name = null, string $comparison = null)

Filter the query on the name column

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

Parameters

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

MessageQuery The current query, for fluid interface

in MessageQuery at line 363
MessageQuery filterBySecured( mixed $secured = null, string $comparison = null)

Filter the query on the secured column

Example usage: $query->filterBySecured(1234); // WHERE secured = 1234 $query->filterBySecured(array(12, 34)); // WHERE secured IN (12, 34) $query->filterBySecured(array('min' => 12)); // WHERE secured > 12

Parameters

mixed $secured 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

MessageQuery The current query, for fluid interface

in MessageQuery at line 401
MessageQuery filterByTextLayoutFileName( string $textLayoutFileName = null, string $comparison = null)

Filter the query on the textlayoutfile_name column

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

Parameters

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

MessageQuery The current query, for fluid interface

in MessageQuery at line 430
MessageQuery filterByTextTemplateFileName( string $textTemplateFileName = null, string $comparison = null)

Filter the query on the texttemplatefile_name column

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

Parameters

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

MessageQuery The current query, for fluid interface

in MessageQuery at line 459
MessageQuery filterByHtmlLayoutFileName( string $htmlLayoutFileName = null, string $comparison = null)

Filter the query on the htmllayoutfile_name column

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

Parameters

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

MessageQuery The current query, for fluid interface

in MessageQuery at line 488
MessageQuery filterByHtmlTemplateFileName( string $htmlTemplateFileName = null, string $comparison = null)

Filter the query on the htmltemplatefile_name column

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

Parameters

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

MessageQuery The current query, for fluid interface

in MessageQuery at line 522
MessageQuery filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

Example usage: $query->filterByCreatedAt('2011-03-14'); // WHERE createdat = '2011-03-14' $query->filterByCreatedAt('now'); // WHERE createdat = '2011-03-14' $query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at > '2011-03-13'

Parameters

mixed $createdAt The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. 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

MessageQuery The current query, for fluid interface

in MessageQuery at line 565
MessageQuery filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

Example usage: $query->filterByUpdatedAt('2011-03-14'); // WHERE updatedat = '2011-03-14' $query->filterByUpdatedAt('now'); // WHERE updatedat = '2011-03-14' $query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'

Parameters

mixed $updatedAt The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. 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

MessageQuery The current query, for fluid interface

in MessageQuery at line 606
MessageQuery filterByVersion( mixed $version = null, string $comparison = null)

Filter the query on the version column

Example usage: $query->filterByVersion(1234); // WHERE version = 1234 $query->filterByVersion(array(12, 34)); // WHERE version IN (12, 34) $query->filterByVersion(array('min' => 12)); // WHERE version > 12

Parameters

mixed $version 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

MessageQuery The current query, for fluid interface

in MessageQuery at line 649
MessageQuery filterByVersionCreatedAt( mixed $versionCreatedAt = null, string $comparison = null)

Filter the query on the versioncreatedat column

Example usage: $query->filterByVersionCreatedAt('2011-03-14'); // WHERE versioncreatedat = '2011-03-14' $query->filterByVersionCreatedAt('now'); // WHERE versioncreatedat = '2011-03-14' $query->filterByVersionCreatedAt(array('max' => 'yesterday')); // WHERE versioncreatedat > '2011-03-13'

Parameters

mixed $versionCreatedAt The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. 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

MessageQuery The current query, for fluid interface

in MessageQuery at line 687
MessageQuery filterByVersionCreatedBy( string $versionCreatedBy = null, string $comparison = null)

Filter the query on the versioncreatedby column

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

Parameters

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

MessageQuery The current query, for fluid interface

in MessageQuery at line 709
MessageQuery filterByMessageI18n( MessageI18n|ObjectCollection $messageI18n, string $comparison = null)

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

Parameters

MessageI18n|ObjectCollection $messageI18n the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 732
MessageQuery joinMessageI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the MessageI18n relation

Parameters

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

Return Value

MessageQuery The current query, for fluid interface

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

Use the MessageI18n relation MessageI18n 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

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

See also

useQuery()

in MessageQuery at line 782
MessageQuery filterByMessageVersion( MessageVersion|ObjectCollection $messageVersion, string $comparison = null)

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

Parameters

MessageVersion|ObjectCollection $messageVersion the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 805
MessageQuery joinMessageVersion( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the MessageVersion relation

Parameters

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

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 840
MessageVersionQuery useMessageVersionQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the MessageVersion relation MessageVersion 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

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

See also

useQuery()

in MessageQuery at line 854
MessageQuery prune( Message $message = null)

Exclude object from result

Parameters

Message $message Object to remove from the list of results

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 869
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the message table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

in MessageQuery at line 906
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildMessage 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 MessageQuery at line 947
MessageQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 959
MessageQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 969
MessageQuery lastUpdatedFirst()

Order by update date desc

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 979
MessageQuery firstUpdatedFirst()

Order by update date asc

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 989
MessageQuery lastCreatedFirst()

Order by create date desc

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 999
MessageQuery firstCreatedFirst()

Order by create date asc

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 1015
MessageQuery joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the i18n relation

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 1033
MessageQuery joinWithI18n( string $locale = 'en_US', string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query and hydrates the related I18n object.

Shortcut for $c->joinI18n($locale)->with()

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

MessageQuery The current query, for fluid interface

in MessageQuery at line 1054
MessageI18nQuery useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the I18n relation query object

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

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

See also

useQuery()

in MessageQuery at line 1068
static boolean isVersioningEnabled()

Checks whether versioning is enabled

Return Value

boolean

in MessageQuery at line 1076
static enableVersioning()

Enables versioning

in MessageQuery at line 1084
static disableVersioning()

Disables versioning

in MessageQuery at line 93
ChildMessageQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByName($order = Criteria::ASC)

Order by the name column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderBySecured($order = Criteria::ASC)

Order by the secured column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByTextLayoutFileName($order = Criteria::ASC)

Order by the textlayoutfile_name column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByTextTemplateFileName($order = Criteria::ASC)

Order by the texttemplatefile_name column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByHtmlLayoutFileName($order = Criteria::ASC)

Order by the htmllayoutfile_name column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByHtmlTemplateFileName($order = Criteria::ASC)

Order by the htmltemplatefile_name column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByVersion($order = Criteria::ASC)

Order by the version column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByVersionCreatedAt($order = Criteria::ASC)

Order by the versioncreatedat column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery orderByVersionCreatedBy($order = Criteria::ASC)

Order by the versioncreatedby column

Parameters

$order

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupById()

Group by the id column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByName()

Group by the name column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupBySecured()

Group by the secured column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByTextLayoutFileName()

Group by the textlayoutfile_name column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByTextTemplateFileName()

Group by the texttemplatefile_name column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByHtmlLayoutFileName()

Group by the htmllayoutfile_name column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByHtmlTemplateFileName()

Group by the htmltemplatefile_name column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByVersion()

Group by the version column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByVersionCreatedAt()

Group by the versioncreatedat column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery groupByVersionCreatedBy()

Group by the versioncreatedby column

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery leftJoinMessageI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery rightJoinMessageI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery innerJoinMessageI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery leftJoinMessageVersion($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery rightJoinMessageVersion($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessageQuery innerJoinMessageVersion($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildMessageQuery

in MessageQuery at line 93
ChildMessage findOne( ConnectionInterface $con = null)

Return the first ChildMessage matching the query

Parameters

ConnectionInterface $con

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneById( int $id)

Return the first ChildMessage filtered by the id column

Parameters

int $id

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByName( string $name)

Return the first ChildMessage filtered by the name column

Parameters

string $name

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneBySecured( int $secured)

Return the first ChildMessage filtered by the secured column

Parameters

int $secured

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByTextLayoutFileName( string $text_layout_file_name)

Return the first ChildMessage filtered by the textlayoutfile_name column

Parameters

string $text_layout_file_name

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByTextTemplateFileName( string $text_template_file_name)

Return the first ChildMessage filtered by the texttemplatefile_name column

Parameters

string $text_template_file_name

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByHtmlLayoutFileName( string $html_layout_file_name)

Return the first ChildMessage filtered by the htmllayoutfile_name column

Parameters

string $html_layout_file_name

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByHtmlTemplateFileName( string $html_template_file_name)

Return the first ChildMessage filtered by the htmltemplatefile_name column

Parameters

string $html_template_file_name

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByCreatedAt( string $created_at)

Return the first ChildMessage filtered by the created_at column

Parameters

string $created_at

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByUpdatedAt( string $updated_at)

Return the first ChildMessage filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByVersion( int $version)

Return the first ChildMessage filtered by the version column

Parameters

int $version

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByVersionCreatedAt( string $version_created_at)

Return the first ChildMessage filtered by the versioncreatedat column

Parameters

string $version_created_at

Return Value

ChildMessage

in MessageQuery at line 93
ChildMessage findOneByVersionCreatedBy( string $version_created_by)

Return the first ChildMessage filtered by the versioncreatedby column

Parameters

string $version_created_by

Return Value

ChildMessage

in MessageQuery at line 93
array findById( int $id)

Return ChildMessage objects filtered by the id column

Parameters

int $id

Return Value

array

in MessageQuery at line 93
array findByName( string $name)

Return ChildMessage objects filtered by the name column

Parameters

string $name

Return Value

array

in MessageQuery at line 93
array findBySecured( int $secured)

Return ChildMessage objects filtered by the secured column

Parameters

int $secured

Return Value

array

in MessageQuery at line 93
array findByTextLayoutFileName( string $text_layout_file_name)

Return ChildMessage objects filtered by the textlayoutfile_name column

Parameters

string $text_layout_file_name

Return Value

array

in MessageQuery at line 93
array findByTextTemplateFileName( string $text_template_file_name)

Return ChildMessage objects filtered by the texttemplatefile_name column

Parameters

string $text_template_file_name

Return Value

array

in MessageQuery at line 93
array findByHtmlLayoutFileName( string $html_layout_file_name)

Return ChildMessage objects filtered by the htmllayoutfile_name column

Parameters

string $html_layout_file_name

Return Value

array

in MessageQuery at line 93
array findByHtmlTemplateFileName( string $html_template_file_name)

Return ChildMessage objects filtered by the htmltemplatefile_name column

Parameters

string $html_template_file_name

Return Value

array

in MessageQuery at line 93
array findByCreatedAt( string $created_at)

Return ChildMessage objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in MessageQuery at line 93
array findByUpdatedAt( string $updated_at)

Return ChildMessage objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array

in MessageQuery at line 93
array findByVersion( int $version)

Return ChildMessage objects filtered by the version column

Parameters

int $version

Return Value

array

in MessageQuery at line 93
array findByVersionCreatedAt( string $version_created_at)

Return ChildMessage objects filtered by the versioncreatedat column

Parameters

string $version_created_at

Return Value

array

in MessageQuery at line 93
array findByVersionCreatedBy( string $version_created_by)

Return ChildMessage objects filtered by the versioncreatedby column

Parameters

string $version_created_by

Return Value

array

at line 26
static Message getFromName( string $messageName)

Load a message from its name, throwing an excemtoipn is none is found.

Parameters

string $messageName the message name

Return Value

Message the loaded message

Exceptions

Exception if the message could not be loaded