RewritingArgumentQuery
class RewritingArgumentQuery extends RewritingArgumentQuery
Skeleton subclass for performing query and update operations on the 'rewriting_argument' 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.
Methods
Initializes internal state of \Thelia\Model\Base\RewritingArgumentQuery object.
Returns a new ChildRewritingArgumentQuery 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 rewritingurlid column
Filter the query on the parameter column
Filter the query on the value column
Filter the query on the created_at column
Filter the query on the updated_at column
Filter the query by a related \Thelia\Model\RewritingUrl object
Adds a JOIN clause to the query using the RewritingUrl relation
Use the RewritingUrl relation RewritingUrl object
Deletes all rows from the rewriting_argument table.
Performs a DELETE on the database, given a ChildRewritingArgument or Criteria object OR a primary key value.
Filter by the latest updated
Filter by the latest created
Order by the rewritingurlid column
Order by the parameter column
Order by the value column
Order by the created_at column
Order by the updated_at column
Group by the rewritingurlid column
Group by the parameter column
Group by the created_at column
Group by the updated_at 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 RewritingUrl relation
Adds a RIGHT JOIN clause to the query using the RewritingUrl relation
Adds a INNER JOIN clause to the query using the RewritingUrl relation
Return the first ChildRewritingArgument matching the query
Return the first ChildRewritingArgument matching the query, or a new ChildRewritingArgument object populated from the query conditions when no match is found
Return the first ChildRewritingArgument filtered by the rewritingurlid column
Return the first ChildRewritingArgument filtered by the parameter column
Return the first ChildRewritingArgument filtered by the value column
Return the first ChildRewritingArgument filtered by the created_at column
Return the first ChildRewritingArgument filtered by the updated_at column
Return ChildRewritingArgument objects filtered by the rewritingurlid column
Return ChildRewritingArgument objects filtered by the parameter column
Return ChildRewritingArgument objects filtered by the value column
Return ChildRewritingArgument objects filtered by the created_at column
Return ChildRewritingArgument objects filtered by the updated_at column
Details
in
RewritingArgumentQuery at line 70
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\RewritingArgument',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\RewritingArgumentQuery object.
in
RewritingArgumentQuery at line 83
static
RewritingArgumentQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildRewritingArgumentQuery object.
in
RewritingArgumentQuery at line 113
RewritingArgument|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, 56), $con);
in
RewritingArgumentQuery at line 197
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);
in
RewritingArgumentQuery at line 218
RewritingArgumentQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
in
RewritingArgumentQuery at line 234
RewritingArgumentQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
in
RewritingArgumentQuery at line 271
RewritingArgumentQuery
filterByRewritingUrlId(
mixed $rewritingUrlId = null,
string $comparison = null)
Filter the query on the rewritingurlid column
Example usage:
$query->filterByRewritingUrlId(1234); // WHERE rewritingurlid = 1234
$query->filterByRewritingUrlId(array(12, 34)); // WHERE rewritingurlid IN (12, 34)
$query->filterByRewritingUrlId(array('min' => 12)); // WHERE rewritingurlid > 12
in
RewritingArgumentQuery at line 309
RewritingArgumentQuery
filterByParameter(
string $parameter = null,
string $comparison = null)
Filter the query on the parameter column
Example usage:
$query->filterByParameter('fooValue'); // WHERE parameter = 'fooValue'
$query->filterByParameter('%fooValue%'); // WHERE parameter LIKE '%fooValue%'
in
RewritingArgumentQuery at line 338
RewritingArgumentQuery
filterByValue(
string $value = null,
string $comparison = null)
Filter the query on the value column
Example usage:
$query->filterByValue('fooValue'); // WHERE value = 'fooValue'
$query->filterByValue('%fooValue%'); // WHERE value LIKE '%fooValue%'
in
RewritingArgumentQuery at line 372
RewritingArgumentQuery
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'
in
RewritingArgumentQuery at line 415
RewritingArgumentQuery
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'
in
RewritingArgumentQuery at line 446
RewritingArgumentQuery
filterByRewritingUrl(
RewritingUrl|ObjectCollection $rewritingUrl,
string $comparison = null)
Filter the query by a related \Thelia\Model\RewritingUrl object
in
RewritingArgumentQuery at line 471
RewritingArgumentQuery
joinRewritingUrl(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the RewritingUrl relation
in
RewritingArgumentQuery at line 506
RewritingUrlQuery
useRewritingUrlQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the RewritingUrl relation RewritingUrl object
in
RewritingArgumentQuery at line 520
RewritingArgumentQuery
prune(
RewritingArgument $rewritingArgument = null)
Exclude object from result
in
RewritingArgumentQuery at line 538
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the rewriting_argument table.
in
RewritingArgumentQuery at line 575
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildRewritingArgument or Criteria object OR a primary key value.
in
RewritingArgumentQuery at line 616
RewritingArgumentQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
in
RewritingArgumentQuery at line 628
RewritingArgumentQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
in
RewritingArgumentQuery at line 638
RewritingArgumentQuery
lastUpdatedFirst()
Order by update date desc
in
RewritingArgumentQuery at line 648
RewritingArgumentQuery
firstUpdatedFirst()
Order by update date asc
in
RewritingArgumentQuery at line 658
RewritingArgumentQuery
lastCreatedFirst()
Order by create date desc
in
RewritingArgumentQuery at line 668
RewritingArgumentQuery
firstCreatedFirst()
Order by create date asc
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
orderByRewritingUrlId($order = Criteria::ASC)
Order by the rewritingurlid column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
orderByParameter($order = Criteria::ASC)
Order by the parameter column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
orderByValue($order = Criteria::ASC)
Order by the value column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
groupByRewritingUrlId()
Group by the rewritingurlid column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
groupByParameter()
Group by the parameter column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
groupByValue()
Group by the value column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
groupByCreatedAt()
Group by the created_at column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
groupByUpdatedAt()
Group by the updated_at column
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
leftJoinRewritingUrl($relationAlias = null)
Adds a LEFT JOIN clause to the query using the RewritingUrl relation
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
rightJoinRewritingUrl($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the RewritingUrl relation
in
RewritingArgumentQuery at line 60
ChildRewritingArgumentQuery
innerJoinRewritingUrl($relationAlias = null)
Adds a INNER JOIN clause to the query using the RewritingUrl relation
in
RewritingArgumentQuery at line 60
ChildRewritingArgument
findOne(
ConnectionInterface $con = null)
Return the first ChildRewritingArgument matching the query
in
RewritingArgumentQuery at line 60
ChildRewritingArgument
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildRewritingArgument matching the query, or a new ChildRewritingArgument object populated from the query conditions when no match is found
in
RewritingArgumentQuery at line 60
ChildRewritingArgument
findOneByRewritingUrlId(
int $rewriting_url_id)
Return the first ChildRewritingArgument filtered by the rewritingurlid column
in
RewritingArgumentQuery at line 60
ChildRewritingArgument
findOneByParameter(
string $parameter)
Return the first ChildRewritingArgument filtered by the parameter column
in
RewritingArgumentQuery at line 60
ChildRewritingArgument
findOneByValue(
string $value)
Return the first ChildRewritingArgument filtered by the value column
in
RewritingArgumentQuery at line 60
ChildRewritingArgument
findOneByCreatedAt(
string $created_at)
Return the first ChildRewritingArgument filtered by the created_at column
in
RewritingArgumentQuery at line 60
ChildRewritingArgument
findOneByUpdatedAt(
string $updated_at)
Return the first ChildRewritingArgument filtered by the updated_at column
in
RewritingArgumentQuery at line 60
array
findByRewritingUrlId(
int $rewriting_url_id)
Return ChildRewritingArgument objects filtered by the rewritingurlid column
in
RewritingArgumentQuery at line 60
array
findByParameter(
string $parameter)
Return ChildRewritingArgument objects filtered by the parameter column
in
RewritingArgumentQuery at line 60
array
findByValue(
string $value)
Return ChildRewritingArgument objects filtered by the value column
in
RewritingArgumentQuery at line 60
array
findByCreatedAt(
string $created_at)
Return ChildRewritingArgument objects filtered by the created_at column
in
RewritingArgumentQuery at line 60
array
findByUpdatedAt(
string $updated_at)
Return ChildRewritingArgument objects filtered by the updated_at column