MessageVersionQuery
class MessageVersionQuery extends ModelCriteria
Base class that represents a query for the 'message_version' table.
Methods
Initializes internal state of \Thelia\Model\Base\MessageVersionQuery object.
Returns a new ChildMessageVersionQuery 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 name column
Filter the query on the secured column
Filter the query on the textlayoutfile_name column
Filter the query on the texttemplatefile_name column
Filter the query on the htmllayoutfile_name column
Filter the query on the htmltemplatefile_name column
Filter the query on the created_at column
Filter the query on the updated_at column
Filter the query on the version column
Filter the query on the versioncreatedat column
Filter the query on the versioncreatedby 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_version table.
Performs a DELETE on the database, given a ChildMessageVersion or Criteria object OR a primary key value.
Order by the id column
Order by the name column
Order by the secured column
Order by the textlayoutfile_name column
Order by the texttemplatefile_name column
Order by the htmllayoutfile_name column
Order by the htmltemplatefile_name column
Order by the created_at column
Order by the updated_at column
Order by the version column
Order by the versioncreatedat column
Order by the versioncreatedby column
Group by the id column
Group by the name column
Group by the secured column
Group by the textlayoutfile_name column
Group by the texttemplatefile_name column
Group by the htmllayoutfile_name column
Group by the htmltemplatefile_name column
Group by the created_at column
Group by the updated_at column
Group by the version column
Group by the versioncreatedat column
Group by the versioncreatedby 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 ChildMessageVersion matching the query
Return the first ChildMessageVersion matching the query, or a new ChildMessageVersion object populated from the query conditions when no match is found
Return the first ChildMessageVersion filtered by the id column
Return the first ChildMessageVersion filtered by the name column
Return the first ChildMessageVersion filtered by the secured column
Return the first ChildMessageVersion filtered by the textlayoutfile_name column
Return the first ChildMessageVersion filtered by the texttemplatefile_name column
Return the first ChildMessageVersion filtered by the htmllayoutfile_name column
Return the first ChildMessageVersion filtered by the htmltemplatefile_name column
Return the first ChildMessageVersion filtered by the created_at column
Return the first ChildMessageVersion filtered by the updated_at column
Return the first ChildMessageVersion filtered by the version column
Return the first ChildMessageVersion filtered by the versioncreatedat column
Return the first ChildMessageVersion filtered by the versioncreatedby column
Return ChildMessageVersion objects filtered by the id column
Return ChildMessageVersion objects filtered by the name column
Return ChildMessageVersion objects filtered by the secured column
Return ChildMessageVersion objects filtered by the textlayoutfile_name column
Return ChildMessageVersion objects filtered by the texttemplatefile_name column
Return ChildMessageVersion objects filtered by the htmllayoutfile_name column
Return ChildMessageVersion objects filtered by the htmltemplatefile_name column
Return ChildMessageVersion objects filtered by the created_at column
Return ChildMessageVersion objects filtered by the updated_at column
Return ChildMessageVersion objects filtered by the version column
Return ChildMessageVersion objects filtered by the versioncreatedat column
Return ChildMessageVersion objects filtered by the versioncreatedby column
Details
at line 98
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\MessageVersion',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\MessageVersionQuery object.
at line 111
static
MessageVersionQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildMessageVersionQuery object.
at line 141
MessageVersion|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 224
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 245
MessageVersionQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 260
MessageVersionQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 295
MessageVersionQuery
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 333
MessageVersionQuery
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%'
at line 365
MessageVersionQuery
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
at line 403
MessageVersionQuery
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%'
at line 432
MessageVersionQuery
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%'
at line 461
MessageVersionQuery
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%'
at line 490
MessageVersionQuery
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%'
at line 524
MessageVersionQuery
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'
at line 567
MessageVersionQuery
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'
at line 608
MessageVersionQuery
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
at line 651
MessageVersionQuery
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'
at line 689
MessageVersionQuery
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%'
at line 711
MessageVersionQuery
filterByMessage(
Message|ObjectCollection $message,
string $comparison = null)
Filter the query by a related \Thelia\Model\Message object
at line 736
MessageVersionQuery
joinMessage(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Message relation
at line 771
MessageQuery
useMessageQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Message relation Message object
at line 785
MessageVersionQuery
prune(
MessageVersion $messageVersion = null)
Exclude object from result
at line 802
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the message_version table.
at line 839
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildMessageVersion or Criteria object OR a primary key value.
at line 88
ChildMessageVersionQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 88
ChildMessageVersionQuery
orderByName($order = Criteria::ASC)
Order by the name column
at line 88
ChildMessageVersionQuery
orderBySecured($order = Criteria::ASC)
Order by the secured column
at line 88
ChildMessageVersionQuery
orderByTextLayoutFileName($order = Criteria::ASC)
Order by the textlayoutfile_name column
at line 88
ChildMessageVersionQuery
orderByTextTemplateFileName($order = Criteria::ASC)
Order by the texttemplatefile_name column
at line 88
ChildMessageVersionQuery
orderByHtmlLayoutFileName($order = Criteria::ASC)
Order by the htmllayoutfile_name column
at line 88
ChildMessageVersionQuery
orderByHtmlTemplateFileName($order = Criteria::ASC)
Order by the htmltemplatefile_name column
at line 88
ChildMessageVersionQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 88
ChildMessageVersionQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 88
ChildMessageVersionQuery
orderByVersion($order = Criteria::ASC)
Order by the version column
at line 88
ChildMessageVersionQuery
orderByVersionCreatedAt($order = Criteria::ASC)
Order by the versioncreatedat column
at line 88
ChildMessageVersionQuery
orderByVersionCreatedBy($order = Criteria::ASC)
Order by the versioncreatedby column
at line 88
ChildMessageVersionQuery
groupById()
Group by the id column
at line 88
ChildMessageVersionQuery
groupByName()
Group by the name column
at line 88
ChildMessageVersionQuery
groupBySecured()
Group by the secured column
at line 88
ChildMessageVersionQuery
groupByTextLayoutFileName()
Group by the textlayoutfile_name column
at line 88
ChildMessageVersionQuery
groupByTextTemplateFileName()
Group by the texttemplatefile_name column
at line 88
ChildMessageVersionQuery
groupByHtmlLayoutFileName()
Group by the htmllayoutfile_name column
at line 88
ChildMessageVersionQuery
groupByHtmlTemplateFileName()
Group by the htmltemplatefile_name column
at line 88
ChildMessageVersionQuery
groupByCreatedAt()
Group by the created_at column
at line 88
ChildMessageVersionQuery
groupByUpdatedAt()
Group by the updated_at column
at line 88
ChildMessageVersionQuery
groupByVersion()
Group by the version column
at line 88
ChildMessageVersionQuery
groupByVersionCreatedAt()
Group by the versioncreatedat column
at line 88
ChildMessageVersionQuery
groupByVersionCreatedBy()
Group by the versioncreatedby column
at line 88
ChildMessageVersionQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 88
ChildMessageVersionQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 88
ChildMessageVersionQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 88
ChildMessageVersionQuery
leftJoinMessage($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Message relation
at line 88
ChildMessageVersionQuery
rightJoinMessage($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Message relation
at line 88
ChildMessageVersionQuery
innerJoinMessage($relationAlias = null)
Adds a INNER JOIN clause to the query using the Message relation
at line 88
ChildMessageVersion
findOne(
ConnectionInterface $con = null)
Return the first ChildMessageVersion matching the query
at line 88
ChildMessageVersion
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildMessageVersion matching the query, or a new ChildMessageVersion object populated from the query conditions when no match is found
at line 88
ChildMessageVersion
findOneById(
int $id)
Return the first ChildMessageVersion filtered by the id column
at line 88
ChildMessageVersion
findOneByName(
string $name)
Return the first ChildMessageVersion filtered by the name column
at line 88
ChildMessageVersion
findOneBySecured(
int $secured)
Return the first ChildMessageVersion filtered by the secured column
at line 88
ChildMessageVersion
findOneByTextLayoutFileName(
string $text_layout_file_name)
Return the first ChildMessageVersion filtered by the textlayoutfile_name column
at line 88
ChildMessageVersion
findOneByTextTemplateFileName(
string $text_template_file_name)
Return the first ChildMessageVersion filtered by the texttemplatefile_name column
at line 88
ChildMessageVersion
findOneByHtmlLayoutFileName(
string $html_layout_file_name)
Return the first ChildMessageVersion filtered by the htmllayoutfile_name column
at line 88
ChildMessageVersion
findOneByHtmlTemplateFileName(
string $html_template_file_name)
Return the first ChildMessageVersion filtered by the htmltemplatefile_name column
at line 88
ChildMessageVersion
findOneByCreatedAt(
string $created_at)
Return the first ChildMessageVersion filtered by the created_at column
at line 88
ChildMessageVersion
findOneByUpdatedAt(
string $updated_at)
Return the first ChildMessageVersion filtered by the updated_at column
at line 88
ChildMessageVersion
findOneByVersion(
int $version)
Return the first ChildMessageVersion filtered by the version column
at line 88
ChildMessageVersion
findOneByVersionCreatedAt(
string $version_created_at)
Return the first ChildMessageVersion filtered by the versioncreatedat column
at line 88
ChildMessageVersion
findOneByVersionCreatedBy(
string $version_created_by)
Return the first ChildMessageVersion filtered by the versioncreatedby column
at line 88
array
findById(
int $id)
Return ChildMessageVersion objects filtered by the id column
at line 88
array
findByName(
string $name)
Return ChildMessageVersion objects filtered by the name column
at line 88
array
findBySecured(
int $secured)
Return ChildMessageVersion objects filtered by the secured column
at line 88
array
findByTextLayoutFileName(
string $text_layout_file_name)
Return ChildMessageVersion objects filtered by the textlayoutfile_name column
at line 88
array
findByTextTemplateFileName(
string $text_template_file_name)
Return ChildMessageVersion objects filtered by the texttemplatefile_name column
at line 88
array
findByHtmlLayoutFileName(
string $html_layout_file_name)
Return ChildMessageVersion objects filtered by the htmllayoutfile_name column
at line 88
array
findByHtmlTemplateFileName(
string $html_template_file_name)
Return ChildMessageVersion objects filtered by the htmltemplatefile_name column
at line 88
array
findByCreatedAt(
string $created_at)
Return ChildMessageVersion objects filtered by the created_at column
at line 88
array
findByUpdatedAt(
string $updated_at)
Return ChildMessageVersion objects filtered by the updated_at column
at line 88
array
findByVersion(
int $version)
Return ChildMessageVersion objects filtered by the version column
at line 88
array
findByVersionCreatedAt(
string $version_created_at)
Return ChildMessageVersion objects filtered by the versioncreatedat column
at line 88
array
findByVersionCreatedBy(
string $version_created_by)
Return ChildMessageVersion objects filtered by the versioncreatedby column