RewritingUrlQuery
class RewritingUrlQuery extends ModelCriteria
Base class that represents a query for the 'rewriting_url' table.
Methods
Initializes internal state of \Thelia\Model\Base\RewritingUrlQuery object.
Returns a new ChildRewritingUrlQuery object.
Find object by primary key.
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $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 url column
Filter the query on the view column
Filter the query on the view_id column
Filter the query on the view_locale column
Filter the query on the redirected 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 RewritingUrlRelatedByRedirected relation
Use the RewritingUrlRelatedByRedirected relation RewritingUrl object
Filter the query by a related \Thelia\Model\RewritingUrl object
Adds a JOIN clause to the query using the RewritingUrlRelatedById relation
Use the RewritingUrlRelatedById relation RewritingUrl object
Filter the query by a related \Thelia\Model\RewritingArgument object
Adds a JOIN clause to the query using the RewritingArgument relation
Use the RewritingArgument relation RewritingArgument object
Deletes all rows from the rewriting_url table.
Performs a DELETE on the database, given a ChildRewritingUrl 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 id column
Order by the url column
Order by the view column
Order by the view_id column
Order by the view_locale column
Order by the redirected column
Order by the created_at column
Order by the updated_at column
Group by the id column
Group by the url column
Group by the view column
Group by the view_id column
Group by the view_locale column
Group by the redirected 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 RewritingUrlRelatedByRedirected relation
Adds a RIGHT JOIN clause to the query using the RewritingUrlRelatedByRedirected relation
Adds a INNER JOIN clause to the query using the RewritingUrlRelatedByRedirected relation
Adds a LEFT JOIN clause to the query using the RewritingUrlRelatedById relation
Adds a RIGHT JOIN clause to the query using the RewritingUrlRelatedById relation
Adds a INNER JOIN clause to the query using the RewritingUrlRelatedById relation
Adds a LEFT JOIN clause to the query using the RewritingArgument relation
Adds a RIGHT JOIN clause to the query using the RewritingArgument relation
Adds a INNER JOIN clause to the query using the RewritingArgument relation
Return the first ChildRewritingUrl matching the query
Return the first ChildRewritingUrl matching the query, or a new ChildRewritingUrl object populated from the query conditions when no match is found
Return the first ChildRewritingUrl filtered by the id column
Return the first ChildRewritingUrl filtered by the url column
Return the first ChildRewritingUrl filtered by the view column
Return the first ChildRewritingUrl filtered by the view_id column
Return the first ChildRewritingUrl filtered by the view_locale column
Return the first ChildRewritingUrl filtered by the redirected column
Return the first ChildRewritingUrl filtered by the created_at column
Return the first ChildRewritingUrl filtered by the updated_at column
Return ChildRewritingUrl objects filtered by the id column
Return ChildRewritingUrl objects filtered by the url column
Return ChildRewritingUrl objects filtered by the view column
Return ChildRewritingUrl objects filtered by the view_id column
Return ChildRewritingUrl objects filtered by the view_locale column
Return ChildRewritingUrl objects filtered by the redirected column
Return ChildRewritingUrl objects filtered by the created_at column
Return ChildRewritingUrl objects filtered by the updated_at column
Details
at line 90
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\RewritingUrl',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\RewritingUrlQuery object.
at line 103
static
RewritingUrlQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildRewritingUrlQuery object.
at line 133
RewritingUrl|array|mixed
findPk(
mixed $key,
ConnectionInterface $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(12, $con);
at line 215
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 236
RewritingUrlQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 249
RewritingUrlQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 273
RewritingUrlQuery
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 311
RewritingUrlQuery
filterByUrl(
string $url = null,
string $comparison = null)
Filter the query on the url column
Example usage:
$query->filterByUrl('fooValue'); // WHERE url = 'fooValue'
$query->filterByUrl('%fooValue%'); // WHERE url LIKE '%fooValue%'
at line 340
RewritingUrlQuery
filterByView(
string $view = null,
string $comparison = null)
Filter the query on the view column
Example usage:
$query->filterByView('fooValue'); // WHERE view = 'fooValue'
$query->filterByView('%fooValue%'); // WHERE view LIKE '%fooValue%'
at line 369
RewritingUrlQuery
filterByViewId(
string $viewId = null,
string $comparison = null)
Filter the query on the view_id column
Example usage:
$query->filterByViewId('fooValue'); // WHERE viewid = 'fooValue'
$query->filterByViewId('%fooValue%'); // WHERE viewid LIKE '%fooValue%'
at line 398
RewritingUrlQuery
filterByViewLocale(
string $viewLocale = null,
string $comparison = null)
Filter the query on the view_locale column
Example usage:
$query->filterByViewLocale('fooValue'); // WHERE viewlocale = 'fooValue'
$query->filterByViewLocale('%fooValue%'); // WHERE viewlocale LIKE '%fooValue%'
at line 432
RewritingUrlQuery
filterByRedirected(
mixed $redirected = null,
string $comparison = null)
Filter the query on the redirected column
Example usage:
$query->filterByRedirected(1234); // WHERE redirected = 1234
$query->filterByRedirected(array(12, 34)); // WHERE redirected IN (12, 34)
$query->filterByRedirected(array('min' => 12)); // WHERE redirected > 12
at line 475
RewritingUrlQuery
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 518
RewritingUrlQuery
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 549
RewritingUrlQuery
filterByRewritingUrlRelatedByRedirected(
RewritingUrl|ObjectCollection $rewritingUrl,
string $comparison = null)
Filter the query by a related \Thelia\Model\RewritingUrl object
at line 574
RewritingUrlQuery
joinRewritingUrlRelatedByRedirected(
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the RewritingUrlRelatedByRedirected relation
at line 609
RewritingUrlQuery
useRewritingUrlRelatedByRedirectedQuery(
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the RewritingUrlRelatedByRedirected relation RewritingUrl object
at line 624
RewritingUrlQuery
filterByRewritingUrlRelatedById(
RewritingUrl|ObjectCollection $rewritingUrl,
string $comparison = null)
Filter the query by a related \Thelia\Model\RewritingUrl object
at line 647
RewritingUrlQuery
joinRewritingUrlRelatedById(
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the RewritingUrlRelatedById relation
at line 682
RewritingUrlQuery
useRewritingUrlRelatedByIdQuery(
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the RewritingUrlRelatedById relation RewritingUrl object
at line 697
RewritingUrlQuery
filterByRewritingArgument(
RewritingArgument|ObjectCollection $rewritingArgument,
string $comparison = null)
Filter the query by a related \Thelia\Model\RewritingArgument object
at line 720
RewritingUrlQuery
joinRewritingArgument(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the RewritingArgument relation
at line 755
RewritingArgumentQuery
useRewritingArgumentQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the RewritingArgument relation RewritingArgument object
at line 769
RewritingUrlQuery
prune(
RewritingUrl $rewritingUrl = null)
Exclude object from result
at line 784
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the rewriting_url table.
at line 821
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildRewritingUrl or Criteria object OR a primary key value.
at line 862
RewritingUrlQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 874
RewritingUrlQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 884
RewritingUrlQuery
lastUpdatedFirst()
Order by update date desc
at line 894
RewritingUrlQuery
firstUpdatedFirst()
Order by update date asc
at line 904
RewritingUrlQuery
lastCreatedFirst()
Order by create date desc
at line 914
RewritingUrlQuery
firstCreatedFirst()
Order by create date asc
at line 80
ChildRewritingUrlQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 80
ChildRewritingUrlQuery
orderByUrl($order = Criteria::ASC)
Order by the url column
at line 80
ChildRewritingUrlQuery
orderByView($order = Criteria::ASC)
Order by the view column
at line 80
ChildRewritingUrlQuery
orderByViewId($order = Criteria::ASC)
Order by the view_id column
at line 80
ChildRewritingUrlQuery
orderByViewLocale($order = Criteria::ASC)
Order by the view_locale column
at line 80
ChildRewritingUrlQuery
orderByRedirected($order = Criteria::ASC)
Order by the redirected column
at line 80
ChildRewritingUrlQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 80
ChildRewritingUrlQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 80
ChildRewritingUrlQuery
groupById()
Group by the id column
at line 80
ChildRewritingUrlQuery
groupByUrl()
Group by the url column
at line 80
ChildRewritingUrlQuery
groupByView()
Group by the view column
at line 80
ChildRewritingUrlQuery
groupByViewId()
Group by the view_id column
at line 80
ChildRewritingUrlQuery
groupByViewLocale()
Group by the view_locale column
at line 80
ChildRewritingUrlQuery
groupByRedirected()
Group by the redirected column
at line 80
ChildRewritingUrlQuery
groupByCreatedAt()
Group by the created_at column
at line 80
ChildRewritingUrlQuery
groupByUpdatedAt()
Group by the updated_at column
at line 80
ChildRewritingUrlQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 80
ChildRewritingUrlQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 80
ChildRewritingUrlQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 80
ChildRewritingUrlQuery
leftJoinRewritingUrlRelatedByRedirected($relationAlias = null)
Adds a LEFT JOIN clause to the query using the RewritingUrlRelatedByRedirected relation
at line 80
ChildRewritingUrlQuery
rightJoinRewritingUrlRelatedByRedirected($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the RewritingUrlRelatedByRedirected relation
at line 80
ChildRewritingUrlQuery
innerJoinRewritingUrlRelatedByRedirected($relationAlias = null)
Adds a INNER JOIN clause to the query using the RewritingUrlRelatedByRedirected relation
at line 80
ChildRewritingUrlQuery
leftJoinRewritingUrlRelatedById($relationAlias = null)
Adds a LEFT JOIN clause to the query using the RewritingUrlRelatedById relation
at line 80
ChildRewritingUrlQuery
rightJoinRewritingUrlRelatedById($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the RewritingUrlRelatedById relation
at line 80
ChildRewritingUrlQuery
innerJoinRewritingUrlRelatedById($relationAlias = null)
Adds a INNER JOIN clause to the query using the RewritingUrlRelatedById relation
at line 80
ChildRewritingUrlQuery
leftJoinRewritingArgument($relationAlias = null)
Adds a LEFT JOIN clause to the query using the RewritingArgument relation
at line 80
ChildRewritingUrlQuery
rightJoinRewritingArgument($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the RewritingArgument relation
at line 80
ChildRewritingUrlQuery
innerJoinRewritingArgument($relationAlias = null)
Adds a INNER JOIN clause to the query using the RewritingArgument relation
at line 80
ChildRewritingUrl
findOne(
ConnectionInterface $con = null)
Return the first ChildRewritingUrl matching the query
at line 80
ChildRewritingUrl
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildRewritingUrl matching the query, or a new ChildRewritingUrl object populated from the query conditions when no match is found
at line 80
ChildRewritingUrl
findOneById(
int $id)
Return the first ChildRewritingUrl filtered by the id column
at line 80
ChildRewritingUrl
findOneByUrl(
string $url)
Return the first ChildRewritingUrl filtered by the url column
at line 80
ChildRewritingUrl
findOneByView(
string $view)
Return the first ChildRewritingUrl filtered by the view column
at line 80
ChildRewritingUrl
findOneByViewId(
string $view_id)
Return the first ChildRewritingUrl filtered by the view_id column
at line 80
ChildRewritingUrl
findOneByViewLocale(
string $view_locale)
Return the first ChildRewritingUrl filtered by the view_locale column
at line 80
ChildRewritingUrl
findOneByRedirected(
int $redirected)
Return the first ChildRewritingUrl filtered by the redirected column
at line 80
ChildRewritingUrl
findOneByCreatedAt(
string $created_at)
Return the first ChildRewritingUrl filtered by the created_at column
at line 80
ChildRewritingUrl
findOneByUpdatedAt(
string $updated_at)
Return the first ChildRewritingUrl filtered by the updated_at column
at line 80
array
findById(
int $id)
Return ChildRewritingUrl objects filtered by the id column
at line 80
array
findByUrl(
string $url)
Return ChildRewritingUrl objects filtered by the url column
at line 80
array
findByView(
string $view)
Return ChildRewritingUrl objects filtered by the view column
at line 80
array
findByViewId(
string $view_id)
Return ChildRewritingUrl objects filtered by the view_id column
at line 80
array
findByViewLocale(
string $view_locale)
Return ChildRewritingUrl objects filtered by the view_locale column
at line 80
array
findByRedirected(
int $redirected)
Return ChildRewritingUrl objects filtered by the redirected column
at line 80
array
findByCreatedAt(
string $created_at)
Return ChildRewritingUrl objects filtered by the created_at column
at line 80
array
findByUpdatedAt(
string $updated_at)
Return ChildRewritingUrl objects filtered by the updated_at column