class RewritingArgumentQuery extends ModelCriteria

Base class that represents a query for the 'rewriting_argument' table.

Methods

__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\RewritingArgument', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\RewritingArgumentQuery object.

create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildRewritingArgumentQuery object.

RewritingArgument|array|mixed
findPk($key, $con = null)

Find object by primary key.

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);

filterByPrimaryKey( mixed $key)

Filter the query by primary key

filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

filterByRewritingUrlId( mixed $rewritingUrlId = null, string $comparison = null)

Filter the query on the rewritingurlid column

filterByParameter( string $parameter = null, string $comparison = null)

Filter the query on the parameter column

filterByValue( string $value = null, string $comparison = null)

Filter the query on the value column

filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

filterByRewritingUrl( RewritingUrl|ObjectCollection $rewritingUrl, string $comparison = null)

Filter the query by a related \Thelia\Model\RewritingUrl object

joinRewritingUrl( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the RewritingUrl relation

useRewritingUrlQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the RewritingUrl relation RewritingUrl object

prune( RewritingArgument $rewritingArgument = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the rewriting_argument table.

int
delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildRewritingArgument or Criteria object OR a primary key value.

recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

recentlyCreated( int $nbDays = 7)

Filter by the latest created

lastUpdatedFirst()

Order by update date desc

firstUpdatedFirst()

Order by update date asc

lastCreatedFirst()

Order by create date desc

firstCreatedFirst()

Order by create date asc

ChildRewritingArgumentQuery
orderByRewritingUrlId($order = Criteria::ASC)

Order by the rewritingurlid column

ChildRewritingArgumentQuery
orderByParameter($order = Criteria::ASC)

Order by the parameter column

ChildRewritingArgumentQuery
orderByValue($order = Criteria::ASC)

Order by the value column

ChildRewritingArgumentQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildRewritingArgumentQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildRewritingArgumentQuery
groupByRewritingUrlId()

Group by the rewritingurlid column

ChildRewritingArgumentQuery
groupByParameter()

Group by the parameter column

ChildRewritingArgumentQuery
groupByValue()

Group by the value column

ChildRewritingArgumentQuery
groupByCreatedAt()

Group by the created_at column

ChildRewritingArgumentQuery
groupByUpdatedAt()

Group by the updated_at column

ChildRewritingArgumentQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildRewritingArgumentQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildRewritingArgumentQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildRewritingArgumentQuery
leftJoinRewritingUrl($relationAlias = null)

Adds a LEFT JOIN clause to the query using the RewritingUrl relation

ChildRewritingArgumentQuery
rightJoinRewritingUrl($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the RewritingUrl relation

ChildRewritingArgumentQuery
innerJoinRewritingUrl($relationAlias = null)

Adds a INNER JOIN clause to the query using the RewritingUrl relation

ChildRewritingArgument
findOne( ConnectionInterface $con = null)

Return the first ChildRewritingArgument matching the query

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

ChildRewritingArgument
findOneByRewritingUrlId( int $rewriting_url_id)

Return the first ChildRewritingArgument filtered by the rewritingurlid column

ChildRewritingArgument
findOneByParameter( string $parameter)

Return the first ChildRewritingArgument filtered by the parameter column

ChildRewritingArgument
findOneByValue( string $value)

Return the first ChildRewritingArgument filtered by the value column

ChildRewritingArgument
findOneByCreatedAt( string $created_at)

Return the first ChildRewritingArgument filtered by the created_at column

ChildRewritingArgument
findOneByUpdatedAt( string $updated_at)

Return the first ChildRewritingArgument filtered by the updated_at column

array
findByRewritingUrlId( int $rewriting_url_id)

Return ChildRewritingArgument objects filtered by the rewritingurlid column

array
findByParameter( string $parameter)

Return ChildRewritingArgument objects filtered by the parameter column

array
findByValue( string $value)

Return ChildRewritingArgument objects filtered by the value column

array
findByCreatedAt( string $created_at)

Return ChildRewritingArgument objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

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.

Parameters

string $dbName The database name
string $modelName The phpName of a model, e.g. 'Book'
string $modelAlias The alias for the model in this query, e.g. 'b'

at line 83
static RewritingArgumentQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildRewritingArgumentQuery object.

Parameters

string $modelAlias The alias of a model in the query
Criteria $criteria Optional Criteria to build the query from

Return Value

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);

Parameters

$key
$con

Return Value

RewritingArgument|array|mixed the result, formatted by the current formatter

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);

Parameters

array $keys Primary keys to use for the query
ConnectionInterface $con an optional connection object

Return Value

ObjectCollection|array|mixed the list of results, formatted by the current formatter

at line 218
RewritingArgumentQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 234
RewritingArgumentQuery filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

Parameters

array $keys The list of primary key to use for the query

Return Value

RewritingArgumentQuery The current query, for fluid interface

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

Parameters

mixed $rewritingUrlId 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.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

RewritingArgumentQuery The current query, for fluid interface

See also

filterByRewritingUrl()

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%'

Parameters

string $parameter The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

RewritingArgumentQuery The current query, for fluid interface

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%'

Parameters

string $value The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

RewritingArgumentQuery The current query, for fluid interface

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'

Parameters

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.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

RewritingArgumentQuery The current query, for fluid interface

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'

Parameters

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.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 446
RewritingArgumentQuery filterByRewritingUrl( RewritingUrl|ObjectCollection $rewritingUrl, string $comparison = null)

Filter the query by a related \Thelia\Model\RewritingUrl object

Parameters

RewritingUrl|ObjectCollection $rewritingUrl The related object(s) to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 471
RewritingArgumentQuery joinRewritingUrl( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the RewritingUrl relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 506
RewritingUrlQuery useRewritingUrlQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the RewritingUrl relation RewritingUrl object

Parameters

string $relationAlias optional alias for the relation, to be used as main alias in the secondary query
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

RewritingUrlQuery A secondary query class using the current class as primary query

See also

useQuery()

at line 520
RewritingArgumentQuery prune( RewritingArgument $rewritingArgument = null)

Exclude object from result

Parameters

RewritingArgument $rewritingArgument Object to remove from the list of results

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 538
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the rewriting_argument table.

Parameters

ConnectionInterface $con the connection to use

Return Value

int The number of affected rows (if supported by underlying database driver).

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.

Parameters

ConnectionInterface $con

Return Value

int The number of affected rows (if supported by underlying database driver). This includes CASCADE-related rows if supported by native driver or if emulated using Propel.

Exceptions

PropelException Any exceptions caught during processing will be rethrown wrapped into a PropelException.

at line 616
RewritingArgumentQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 628
RewritingArgumentQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 638
RewritingArgumentQuery lastUpdatedFirst()

Order by update date desc

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 648
RewritingArgumentQuery firstUpdatedFirst()

Order by update date asc

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 658
RewritingArgumentQuery lastCreatedFirst()

Order by create date desc

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 668
RewritingArgumentQuery firstCreatedFirst()

Order by create date asc

Return Value

RewritingArgumentQuery The current query, for fluid interface

at line 60
ChildRewritingArgumentQuery orderByRewritingUrlId($order = Criteria::ASC)

Order by the rewritingurlid column

Parameters

$order

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery orderByParameter($order = Criteria::ASC)

Order by the parameter column

Parameters

$order

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery orderByValue($order = Criteria::ASC)

Order by the value column

Parameters

$order

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery groupByRewritingUrlId()

Group by the rewritingurlid column

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery groupByParameter()

Group by the parameter column

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery groupByValue()

Group by the value column

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery leftJoinRewritingUrl($relationAlias = null)

Adds a LEFT JOIN clause to the query using the RewritingUrl relation

Parameters

$relationAlias

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery rightJoinRewritingUrl($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the RewritingUrl relation

Parameters

$relationAlias

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgumentQuery innerJoinRewritingUrl($relationAlias = null)

Adds a INNER JOIN clause to the query using the RewritingUrl relation

Parameters

$relationAlias

Return Value

ChildRewritingArgumentQuery

at line 60
ChildRewritingArgument findOne( ConnectionInterface $con = null)

Return the first ChildRewritingArgument matching the query

Parameters

ConnectionInterface $con

Return Value

ChildRewritingArgument

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

Parameters

ConnectionInterface $con

Return Value

ChildRewritingArgument

at line 60
ChildRewritingArgument findOneByRewritingUrlId( int $rewriting_url_id)

Return the first ChildRewritingArgument filtered by the rewritingurlid column

Parameters

int $rewriting_url_id

Return Value

ChildRewritingArgument

at line 60
ChildRewritingArgument findOneByParameter( string $parameter)

Return the first ChildRewritingArgument filtered by the parameter column

Parameters

string $parameter

Return Value

ChildRewritingArgument

at line 60
ChildRewritingArgument findOneByValue( string $value)

Return the first ChildRewritingArgument filtered by the value column

Parameters

string $value

Return Value

ChildRewritingArgument

at line 60
ChildRewritingArgument findOneByCreatedAt( string $created_at)

Return the first ChildRewritingArgument filtered by the created_at column

Parameters

string $created_at

Return Value

ChildRewritingArgument

at line 60
ChildRewritingArgument findOneByUpdatedAt( string $updated_at)

Return the first ChildRewritingArgument filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildRewritingArgument

at line 60
array findByRewritingUrlId( int $rewriting_url_id)

Return ChildRewritingArgument objects filtered by the rewritingurlid column

Parameters

int $rewriting_url_id

Return Value

array

at line 60
array findByParameter( string $parameter)

Return ChildRewritingArgument objects filtered by the parameter column

Parameters

string $parameter

Return Value

array

at line 60
array findByValue( string $value)

Return ChildRewritingArgument objects filtered by the value column

Parameters

string $value

Return Value

array

at line 60
array findByCreatedAt( string $created_at)

Return ChildRewritingArgument objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

at line 60
array findByUpdatedAt( string $updated_at)

Return ChildRewritingArgument objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array