Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\MessageVersion', string $modelAlias = null )
Initializes internal state of BaseMessageVersionQuery object.
Initializes internal state of BaseMessageVersionQuery 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\MessageVersionQuery
|
#
create( string $modelAlias = null, Thelia\Model\MessageVersionQuery|Criteria $criteria = null )
Returns a new MessageVersionQuery object.
Returns a new MessageVersionQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\MessageVersionQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\MessageVersion|Thelia\Model\MessageVersion[]|mixed
|
#
findPk( array $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(array(12, 34), $con);
Parameters
- $key
array $key Primary key to use for the query A Primary key composition: [$id, $version]
- $con
PropelPDO $con an optional connection object
Returns
|
protected
Thelia\Model\MessageVersion
|
#
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\MessageVersion|Thelia\Model\MessageVersion[]|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\MessageVersion[]|mixed
|
#
findPks( array $keys, PropelPDO $con = null )
Find objects by primary key
$objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
Find objects by primary key
$objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
Parameters
- $keys
array $keys Primary keys to use for the query
- $con
PropelPDO $con an optional connection object
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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));
$query->filterById(array('max' => 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
See
|
public
Thelia\Model\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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));
$query->filterBySecured(array('max' => 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\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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));
$query->filterByVersion(array('max' => 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\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
filterByMessage( Thelia\Model\Message|PropelObjectCollection $message, string $comparison = null )
Filter the query by a related Message object
Filter the query by a related Message object
Parameters
- $message
Thelia\Model\Message|PropelObjectCollection $message The related object(s) 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\MessageVersionQuery
|
#
joinMessage( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the Message relation
Adds a JOIN clause to the query using the Message 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\MessageQuery
|
#
useMessageQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Use the Message relation Message object
Use the Message relation Message 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\MessageVersionQuery
|
|
Magic methods summary
public
Thelia\Model\MessageVersionQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
orderByCode( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the code column
Parameters
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
orderBySecured( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the secured column
Order by the secured column
Parameters
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
orderByRef( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the ref column
Parameters
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
orderByVersion( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the version column
Order by the version column
Parameters
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
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\MessageVersionQuery
|
#
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\MessageVersionQuery
|
|
public
Thelia\Model\MessageVersionQuery
|
|
public
Thelia\Model\MessageVersionQuery
|
#
groupBySecured( )
Group by the secured column
Group by the secured column
Returns
|
public
Thelia\Model\MessageVersionQuery
|
|
public
Thelia\Model\MessageVersionQuery
|
#
groupByCreatedAt( )
Group by the created_at column
Group by the created_at column
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
groupByUpdatedAt( )
Group by the updated_at column
Group by the updated_at column
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
groupByVersion( )
Group by the version column
Group by the version column
Returns
|
public
Thelia\Model\MessageVersionQuery
|
|
public
Thelia\Model\MessageVersionQuery
|
|
public
Thelia\Model\MessageVersionQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
leftJoinMessage( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the Message relation
Adds a LEFT JOIN clause to the query using the Message relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
rightJoinMessage( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the Message relation
Adds a RIGHT JOIN clause to the query using the Message relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\MessageVersionQuery
|
#
innerJoinMessage( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the Message relation
Adds a INNER JOIN clause to the query using the Message relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOne( PropelPDO $con = null )
Return the first MessageVersion matching the query
Return the first MessageVersion matching the query
Parameters
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first MessageVersion matching the query, or a new MessageVersion
object populated from the query conditions when no match is found
Return the first MessageVersion matching the query, or a new MessageVersion
object populated from the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneById( integer $id = )
Return the first MessageVersion filtered by the id column
Return the first MessageVersion filtered by the id column
Parameters
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneByCode( string $code = )
Return the first MessageVersion filtered by the code column
Return the first MessageVersion filtered by the code column
Parameters
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneBySecured( integer $secured = )
Return the first MessageVersion filtered by the secured column
Return the first MessageVersion filtered by the secured column
Parameters
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneByRef( string $ref = )
Return the first MessageVersion filtered by the ref column
Return the first MessageVersion filtered by the ref column
Parameters
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneByCreatedAt( string $created_at = )
Return the first MessageVersion filtered by the created_at column
Return the first MessageVersion filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneByUpdatedAt( string $updated_at = )
Return the first MessageVersion filtered by the updated_at column
Return the first MessageVersion filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneByVersion( integer $version = )
Return the first MessageVersion filtered by the version column
Return the first MessageVersion filtered by the version column
Parameters
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneByVersionCreatedAt( string $version_created_at = )
Return the first MessageVersion filtered by the version_created_at column
Return the first MessageVersion filtered by the version_created_at column
Parameters
- $version_created_at
string $version_created_at
Returns
|
public
Thelia\Model\MessageVersion
|
#
findOneByVersionCreatedBy( string $version_created_by = )
Return the first MessageVersion filtered by the version_created_by column
Return the first MessageVersion filtered by the version_created_by column
Parameters
- $version_created_by
string $version_created_by
Returns
|
public
array
|
#
findById( integer $id = )
Return MessageVersion objects filtered by the id column
Return MessageVersion objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByCode( string $code = )
Return MessageVersion objects filtered by the code column
Return MessageVersion objects filtered by the code column
Parameters
Returns
array
|
public
array
|
#
findBySecured( integer $secured = )
Return MessageVersion objects filtered by the secured column
Return MessageVersion objects filtered by the secured column
Parameters
Returns
array
|
public
array
|
#
findByRef( string $ref = )
Return MessageVersion objects filtered by the ref column
Return MessageVersion objects filtered by the ref column
Parameters
Returns
array
|
public
array
|
#
findByCreatedAt( string $created_at = )
Return MessageVersion objects filtered by the created_at column
Return MessageVersion objects filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
array
|
public
array
|
#
findByUpdatedAt( string $updated_at = )
Return MessageVersion objects filtered by the updated_at column
Return MessageVersion objects filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
array
|
public
array
|
#
findByVersion( integer $version = )
Return MessageVersion objects filtered by the version column
Return MessageVersion objects filtered by the version column
Parameters
Returns
array
|
public
array
|
#
findByVersionCreatedAt( string $version_created_at = )
Return MessageVersion objects filtered by the version_created_at column
Return MessageVersion 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 MessageVersion objects filtered by the version_created_by column
Return MessageVersion objects filtered by the version_created_by column
Parameters
- $version_created_by
string $version_created_by
Returns
array
|