RewritingArgumentQuery
class RewritingArgumentQuery extends ModelCriteria
Base class that represents a query for the 'rewriting_argument' table.
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 update date desc
Order by update date asc
Order by create date desc
Order by create date asc
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 value 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
at line 70
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\RewritingArgument',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\RewritingArgumentQuery object.
at line 83
static
RewritingArgumentQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildRewritingArgumentQuery object.
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);
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);
at line 218
RewritingArgumentQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 234
RewritingArgumentQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
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
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%'
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%'
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'
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'
at line 446
RewritingArgumentQuery
filterByRewritingUrl(
RewritingUrl|ObjectCollection $rewritingUrl,
string $comparison = null)
Filter the query by a related \Thelia\Model\RewritingUrl object
at line 471
RewritingArgumentQuery
joinRewritingUrl(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the RewritingUrl relation
at line 506
RewritingUrlQuery
useRewritingUrlQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the RewritingUrl relation RewritingUrl object
at line 520
RewritingArgumentQuery
prune(
RewritingArgument $rewritingArgument = null)
Exclude object from result
at line 538
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the rewriting_argument table.
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.
at line 616
RewritingArgumentQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 628
RewritingArgumentQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 638
RewritingArgumentQuery
lastUpdatedFirst()
Order by update date desc
at line 648
RewritingArgumentQuery
firstUpdatedFirst()
Order by update date asc
at line 658
RewritingArgumentQuery
lastCreatedFirst()
Order by create date desc
at line 668
RewritingArgumentQuery
firstCreatedFirst()
Order by create date asc
at line 60
ChildRewritingArgumentQuery
orderByRewritingUrlId($order = Criteria::ASC)
Order by the rewritingurlid column
at line 60
ChildRewritingArgumentQuery
orderByParameter($order = Criteria::ASC)
Order by the parameter column
at line 60
ChildRewritingArgumentQuery
orderByValue($order = Criteria::ASC)
Order by the value column
at line 60
ChildRewritingArgumentQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 60
ChildRewritingArgumentQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 60
ChildRewritingArgumentQuery
groupByRewritingUrlId()
Group by the rewritingurlid column
at line 60
ChildRewritingArgumentQuery
groupByParameter()
Group by the parameter column
at line 60
ChildRewritingArgumentQuery
groupByValue()
Group by the value column
at line 60
ChildRewritingArgumentQuery
groupByCreatedAt()
Group by the created_at column
at line 60
ChildRewritingArgumentQuery
groupByUpdatedAt()
Group by the updated_at column
at line 60
ChildRewritingArgumentQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 60
ChildRewritingArgumentQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 60
ChildRewritingArgumentQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 60
ChildRewritingArgumentQuery
leftJoinRewritingUrl($relationAlias = null)
Adds a LEFT JOIN clause to the query using the RewritingUrl relation
at line 60
ChildRewritingArgumentQuery
rightJoinRewritingUrl($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the RewritingUrl relation
at line 60
ChildRewritingArgumentQuery
innerJoinRewritingUrl($relationAlias = null)
Adds a INNER JOIN clause to the query using the RewritingUrl relation
at line 60
ChildRewritingArgument
findOne(
ConnectionInterface $con = null)
Return the first ChildRewritingArgument matching the query
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
at line 60
ChildRewritingArgument
findOneByRewritingUrlId(
int $rewriting_url_id)
Return the first ChildRewritingArgument filtered by the rewritingurlid column
at line 60
ChildRewritingArgument
findOneByParameter(
string $parameter)
Return the first ChildRewritingArgument filtered by the parameter column
at line 60
ChildRewritingArgument
findOneByValue(
string $value)
Return the first ChildRewritingArgument filtered by the value column
at line 60
ChildRewritingArgument
findOneByCreatedAt(
string $created_at)
Return the first ChildRewritingArgument filtered by the created_at column
at line 60
ChildRewritingArgument
findOneByUpdatedAt(
string $updated_at)
Return the first ChildRewritingArgument filtered by the updated_at column
at line 60
array
findByRewritingUrlId(
int $rewriting_url_id)
Return ChildRewritingArgument objects filtered by the rewritingurlid column
at line 60
array
findByParameter(
string $parameter)
Return ChildRewritingArgument objects filtered by the parameter column
at line 60
array
findByValue(
string $value)
Return ChildRewritingArgument objects filtered by the value column
at line 60
array
findByCreatedAt(
string $created_at)
Return ChildRewritingArgument objects filtered by the created_at column
at line 60
array
findByUpdatedAt(
string $updated_at)
Return ChildRewritingArgument objects filtered by the updated_at column