Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\Message', string $modelAlias = null )
Initializes internal state of BaseMessageQuery object.
Initializes internal state of BaseMessageQuery 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\MessageQuery
|
#
create( string $modelAlias = null, Thelia\Model\MessageQuery|Criteria $criteria = null )
Returns a new MessageQuery object.
Returns a new MessageQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\MessageQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\Message|Thelia\Model\Message[]|mixed
|
#
findPk( mixed $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(12, $con);
Parameters
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con an optional connection object
Returns
|
protected
Thelia\Model\Message
|
#
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
Throws
PropelException
|
protected
Thelia\Model\Message|Thelia\Model\Message[]|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
|
public
PropelObjectCollection|Thelia\Model\Message[]|mixed
|
#
findPks( array $keys, PropelPDO $con = null )
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Parameters
- $keys
array $keys Primary keys to use for the query
- $con
PropelPDO $con an optional connection object
Returns
PropelObjectCollection|Thelia\Model\Message[]|mixedthe list of results, formatted by the current formatter
|
public
Thelia\Model\MessageQuery
|
#
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
|
public
Thelia\Model\MessageQuery
|
#
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
|
public
Thelia\Model\MessageQuery
|
#
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);
$query->filterById(array(12, 34));
$query->filterById(array('min' => 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
|
public
Thelia\Model\MessageQuery
|
#
filterByCode( string $code = null, string $comparison = null )
Filter the query on the code column
Filter the query on the code column
Example usage:
$query->filterByCode('fooValue');
$query->filterByCode('%fooValue%');
Parameters
- $code
string $code 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
|
public
Thelia\Model\MessageQuery
|
#
filterBySecured( mixed $secured = null, string $comparison = null )
Filter the query on the secured column
Filter the query on the secured column
Example usage:
$query->filterBySecured(1234);
$query->filterBySecured(array(12, 34));
$query->filterBySecured(array('min' => 12));
Parameters
- $secured
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\MessageQuery
|
#
filterByRef( string $ref = null, string $comparison = null )
Filter the query on the ref column
Filter the query on the ref column
Example usage:
$query->filterByRef('fooValue');
$query->filterByRef('%fooValue%');
Parameters
- $ref
string $ref 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
|
public
Thelia\Model\MessageQuery
|
#
filterByCreatedAt( mixed $createdAt = null, string $comparison = null )
Filter the query on the created_at column
Filter the query on the created_at column
Example usage:
$query->filterByCreatedAt('2011-03-14');
$query->filterByCreatedAt('now');
$query->filterByCreatedAt(array('max' => 'yesterday'));
Parameters
- $createdAt
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\MessageQuery
|
#
filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null )
Filter the query on the updated_at column
Filter the query on the updated_at column
Example usage:
$query->filterByUpdatedAt('2011-03-14');
$query->filterByUpdatedAt('now');
$query->filterByUpdatedAt(array('max' => 'yesterday'));
Parameters
- $updatedAt
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\MessageQuery
|
#
filterByVersion( mixed $version = null, string $comparison = null )
Filter the query on the version column
Filter the query on the version column
Example usage:
$query->filterByVersion(1234);
$query->filterByVersion(array(12, 34));
$query->filterByVersion(array('min' => 12));
Parameters
- $version
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\MessageQuery
|
#
filterByVersionCreatedAt( mixed $versionCreatedAt = null, string $comparison = null )
Filter the query on the version_created_at column
Filter the query on the version_created_at column
Example usage:
$query->filterByVersionCreatedAt('2011-03-14');
$query->filterByVersionCreatedAt('now');
$query->filterByVersionCreatedAt(array('max' => 'yesterday'));
Parameters
- $versionCreatedAt
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\MessageQuery
|
#
filterByVersionCreatedBy( string $versionCreatedBy = null, string $comparison = null )
Filter the query on the version_created_by column
Filter the query on the version_created_by column
Example usage:
$query->filterByVersionCreatedBy('fooValue');
$query->filterByVersionCreatedBy('%fooValue%');
Parameters
- $versionCreatedBy
string $versionCreatedBy 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
|
public
Thelia\Model\MessageQuery
|
#
filterByMessageI18n( Thelia\Model\MessageI18n|PropelObjectCollection $messageI18n, string $comparison = null )
Filter the query by a related MessageI18n object
Filter the query by a related MessageI18n object
Parameters
- $messageI18n
Thelia\Model\MessageI18n|PropelObjectCollection $messageI18n the related object to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
Thelia\Model\MessageQuery
|
#
joinMessageI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN' )
Adds a JOIN clause to the query using the MessageI18n relation
Adds a JOIN clause to the query using the MessageI18n relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
Thelia\Model\MessageI18nQuery
|
#
useMessageI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN' )
Use the MessageI18n relation MessageI18n object
Use the MessageI18n relation MessageI18n 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
See
useQuery()
|
public
Thelia\Model\MessageQuery
|
#
filterByMessageVersion( Thelia\Model\MessageVersion|PropelObjectCollection $messageVersion, string $comparison = null )
Filter the query by a related MessageVersion object
Filter the query by a related MessageVersion object
Parameters
- $messageVersion
Thelia\Model\MessageVersion|PropelObjectCollection $messageVersion the related object to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
Thelia\Model\MessageQuery
|
#
joinMessageVersion( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the MessageVersion relation
Adds a JOIN clause to the query using the MessageVersion relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
useMessageVersionQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Use the MessageVersion relation MessageVersion object
Use the MessageVersion relation MessageVersion 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
See
useQuery()
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
#
recentlyUpdated( integer $nbDays = 7 )
Filter by the latest updated
Filter by the latest updated
Parameters
- $nbDays
integer $nbDays Maximum age of the latest update in days
Returns
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
#
recentlyCreated( integer $nbDays = 7 )
Filter by the latest created
Filter by the latest created
Parameters
- $nbDays
integer $nbDays Maximum age of in days
Returns
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
#
joinI18n( string $locale = 'en_EN', string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the i18n relation
Adds a JOIN clause to the query using the i18n relation
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
|
public
Thelia\Model\MessageQuery
|
#
joinWithI18n( string $locale = 'en_EN', string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
|
public
MessageI18nQuery
|
#
useI18nQuery( string $locale = 'en_EN', string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the I18n relation query object
Use the I18n relation query object
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
MessageI18nQuery A secondary query class using the current class as primary query
See
useQuery()
|
Magic methods summary
public
Thelia\Model\MessageQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
orderByCode( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the code column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
orderBySecured( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the secured column
Order by the secured column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
orderByRef( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the ref column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
orderByCreatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the created_at column
Order by the created_at column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
orderByUpdatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the updated_at column
Order by the updated_at column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
orderByVersion( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the version column
Order by the version column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
orderByVersionCreatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the version_created_at column
Order by the version_created_at column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
orderByVersionCreatedBy( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the version_created_by column
Order by the version_created_by column
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
#
groupBySecured( )
Group by the secured column
Group by the secured column
Returns
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
#
groupByCreatedAt( )
Group by the created_at column
Group by the created_at column
Returns
|
public
Thelia\Model\MessageQuery
|
#
groupByUpdatedAt( )
Group by the updated_at column
Group by the updated_at column
Returns
|
public
Thelia\Model\MessageQuery
|
#
groupByVersion( )
Group by the version column
Group by the version column
Returns
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
|
public
Thelia\Model\MessageQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\MessageQuery
|
#
leftJoinMessageI18n( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the MessageI18n relation
Adds a LEFT JOIN clause to the query using the MessageI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\MessageQuery
|
#
rightJoinMessageI18n( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the MessageI18n relation
Adds a RIGHT JOIN clause to the query using the MessageI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\MessageQuery
|
#
innerJoinMessageI18n( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the MessageI18n relation
Adds a INNER JOIN clause to the query using the MessageI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\MessageQuery
|
#
leftJoinMessageVersion( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the MessageVersion relation
Adds a LEFT JOIN clause to the query using the MessageVersion relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\MessageQuery
|
#
rightJoinMessageVersion( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the MessageVersion relation
Adds a RIGHT JOIN clause to the query using the MessageVersion relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\MessageQuery
|
#
innerJoinMessageVersion( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the MessageVersion relation
Adds a INNER JOIN clause to the query using the MessageVersion relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\Message
|
#
findOne( PropelPDO $con = null )
Return the first Message matching the query
Return the first Message matching the query
Parameters
Returns
|
public
Thelia\Model\Message
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first Message matching the query, or a new Message object
populated from the query conditions when no match is found
Return the first Message matching the query, or a new Message object
populated from the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\Message
|
#
findOneById( integer $id = )
Return the first Message filtered by the id column
Return the first Message filtered by the id column
Parameters
Returns
|
public
Thelia\Model\Message
|
#
findOneByCode( string $code = )
Return the first Message filtered by the code column
Return the first Message filtered by the code column
Parameters
Returns
|
public
Thelia\Model\Message
|
#
findOneBySecured( integer $secured = )
Return the first Message filtered by the secured column
Return the first Message filtered by the secured column
Parameters
Returns
|
public
Thelia\Model\Message
|
#
findOneByRef( string $ref = )
Return the first Message filtered by the ref column
Return the first Message filtered by the ref column
Parameters
Returns
|
public
Thelia\Model\Message
|
#
findOneByCreatedAt( string $created_at = )
Return the first Message filtered by the created_at column
Return the first Message filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
|
public
Thelia\Model\Message
|
#
findOneByUpdatedAt( string $updated_at = )
Return the first Message filtered by the updated_at column
Return the first Message filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
|
public
Thelia\Model\Message
|
#
findOneByVersion( integer $version = )
Return the first Message filtered by the version column
Return the first Message filtered by the version column
Parameters
Returns
|
public
Thelia\Model\Message
|
#
findOneByVersionCreatedAt( string $version_created_at = )
Return the first Message filtered by the version_created_at column
Return the first Message filtered by the version_created_at column
Parameters
- $version_created_at
string $version_created_at
Returns
|
public
Thelia\Model\Message
|
#
findOneByVersionCreatedBy( string $version_created_by = )
Return the first Message filtered by the version_created_by column
Return the first Message filtered by the version_created_by column
Parameters
- $version_created_by
string $version_created_by
Returns
|
public
array
|
#
findById( integer $id = )
Return Message objects filtered by the id column
Return Message objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByCode( string $code = )
Return Message objects filtered by the code column
Return Message objects filtered by the code column
Parameters
Returns
array
|
public
array
|
#
findBySecured( integer $secured = )
Return Message objects filtered by the secured column
Return Message objects filtered by the secured column
Parameters
Returns
array
|
public
array
|
#
findByRef( string $ref = )
Return Message objects filtered by the ref column
Return Message objects filtered by the ref column
Parameters
Returns
array
|
public
array
|
#
findByCreatedAt( string $created_at = )
Return Message objects filtered by the created_at column
Return Message objects filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
array
|
public
array
|
#
findByUpdatedAt( string $updated_at = )
Return Message objects filtered by the updated_at column
Return Message objects filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
array
|
public
array
|
#
findByVersion( integer $version = )
Return Message objects filtered by the version column
Return Message objects filtered by the version column
Parameters
Returns
array
|
public
array
|
#
findByVersionCreatedAt( string $version_created_at = )
Return Message objects filtered by the version_created_at column
Return Message objects filtered by the version_created_at column
Parameters
- $version_created_at
string $version_created_at
Returns
array
|
public
array
|
#
findByVersionCreatedBy( string $version_created_by = )
Return Message objects filtered by the version_created_by column
Return Message objects filtered by the version_created_by column
Parameters
- $version_created_by
string $version_created_by
Returns
array
|