CategoryAssociatedContentQuery
class CategoryAssociatedContentQuery extends CategoryAssociatedContentQuery
Skeleton subclass for performing query and update operations on the 'categoryassociatedcontent' 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\CategoryAssociatedContentQuery object.
Returns a new ChildCategoryAssociatedContentQuery 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 category_id column
Filter the query on the content_id column
Filter the query on the position 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\Category object
Adds a JOIN clause to the query using the Category relation
Use the Category relation Category object
Filter the query by a related \Thelia\Model\Content object
Adds a JOIN clause to the query using the Content relation
Use the Content relation Content object
Deletes all rows from the categoryassociatedcontent table.
Performs a DELETE on the database, given a ChildCategoryAssociatedContent 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 category_id column
Order by the content_id column
Order by the position column
Order by the created_at column
Order by the updated_at column
Group by the id column
Group by the category_id column
Group by the content_id column
Group by the position 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 Category relation
Adds a RIGHT JOIN clause to the query using the Category relation
Adds a INNER JOIN clause to the query using the Category relation
Adds a LEFT JOIN clause to the query using the Content relation
Adds a RIGHT JOIN clause to the query using the Content relation
Adds a INNER JOIN clause to the query using the Content relation
Return the first ChildCategoryAssociatedContent matching the query
Return the first ChildCategoryAssociatedContent matching the query, or a new ChildCategoryAssociatedContent object populated from the query conditions when no match is found
Return the first ChildCategoryAssociatedContent filtered by the id column
Return the first ChildCategoryAssociatedContent filtered by the category_id column
Return the first ChildCategoryAssociatedContent filtered by the content_id column
Return the first ChildCategoryAssociatedContent filtered by the position column
Return the first ChildCategoryAssociatedContent filtered by the created_at column
Return the first ChildCategoryAssociatedContent filtered by the updated_at column
Return ChildCategoryAssociatedContent objects filtered by the id column
Return ChildCategoryAssociatedContent objects filtered by the category_id column
Return ChildCategoryAssociatedContent objects filtered by the content_id column
Return ChildCategoryAssociatedContent objects filtered by the position column
Return ChildCategoryAssociatedContent objects filtered by the created_at column
Return ChildCategoryAssociatedContent objects filtered by the updated_at column
Details
in
CategoryAssociatedContentQuery at line 78
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\CategoryAssociatedContent',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\CategoryAssociatedContentQuery object.
in
CategoryAssociatedContentQuery at line 91
static
CategoryAssociatedContentQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildCategoryAssociatedContentQuery object.
in
CategoryAssociatedContentQuery at line 121
CategoryAssociatedContent|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);
in
CategoryAssociatedContentQuery at line 203
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
in
CategoryAssociatedContentQuery at line 224
CategoryAssociatedContentQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
in
CategoryAssociatedContentQuery at line 237
CategoryAssociatedContentQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
in
CategoryAssociatedContentQuery at line 261
CategoryAssociatedContentQuery
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
in
CategoryAssociatedContentQuery at line 304
CategoryAssociatedContentQuery
filterByCategoryId(
mixed $categoryId = null,
string $comparison = null)
Filter the query on the category_id column
Example usage:
$query->filterByCategoryId(1234); // WHERE categoryid = 1234
$query->filterByCategoryId(array(12, 34)); // WHERE categoryid IN (12, 34)
$query->filterByCategoryId(array('min' => 12)); // WHERE category_id > 12
in
CategoryAssociatedContentQuery at line 347
CategoryAssociatedContentQuery
filterByContentId(
mixed $contentId = null,
string $comparison = null)
Filter the query on the content_id column
Example usage:
$query->filterByContentId(1234); // WHERE contentid = 1234
$query->filterByContentId(array(12, 34)); // WHERE contentid IN (12, 34)
$query->filterByContentId(array('min' => 12)); // WHERE content_id > 12
in
CategoryAssociatedContentQuery at line 388
CategoryAssociatedContentQuery
filterByPosition(
mixed $position = null,
string $comparison = null)
Filter the query on the position column
Example usage:
$query->filterByPosition(1234); // WHERE position = 1234
$query->filterByPosition(array(12, 34)); // WHERE position IN (12, 34)
$query->filterByPosition(array('min' => 12)); // WHERE position > 12
in
CategoryAssociatedContentQuery at line 431
CategoryAssociatedContentQuery
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
CategoryAssociatedContentQuery at line 474
CategoryAssociatedContentQuery
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
CategoryAssociatedContentQuery at line 505
CategoryAssociatedContentQuery
filterByCategory(
Category|ObjectCollection $category,
string $comparison = null)
Filter the query by a related \Thelia\Model\Category object
in
CategoryAssociatedContentQuery at line 530
CategoryAssociatedContentQuery
joinCategory(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Category relation
in
CategoryAssociatedContentQuery at line 565
CategoryQuery
useCategoryQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Category relation Category object
in
CategoryAssociatedContentQuery at line 580
CategoryAssociatedContentQuery
filterByContent(
Content|ObjectCollection $content,
string $comparison = null)
Filter the query by a related \Thelia\Model\Content object
in
CategoryAssociatedContentQuery at line 605
CategoryAssociatedContentQuery
joinContent(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Content relation
in
CategoryAssociatedContentQuery at line 640
ContentQuery
useContentQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Content relation Content object
in
CategoryAssociatedContentQuery at line 654
CategoryAssociatedContentQuery
prune(
CategoryAssociatedContent $categoryAssociatedContent = null)
Exclude object from result
in
CategoryAssociatedContentQuery at line 669
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the categoryassociatedcontent table.
in
CategoryAssociatedContentQuery at line 706
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildCategoryAssociatedContent or Criteria object OR a primary key value.
in
CategoryAssociatedContentQuery at line 747
CategoryAssociatedContentQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
in
CategoryAssociatedContentQuery at line 759
CategoryAssociatedContentQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
in
CategoryAssociatedContentQuery at line 769
CategoryAssociatedContentQuery
lastUpdatedFirst()
Order by update date desc
in
CategoryAssociatedContentQuery at line 779
CategoryAssociatedContentQuery
firstUpdatedFirst()
Order by update date asc
in
CategoryAssociatedContentQuery at line 789
CategoryAssociatedContentQuery
lastCreatedFirst()
Order by create date desc
in
CategoryAssociatedContentQuery at line 799
CategoryAssociatedContentQuery
firstCreatedFirst()
Order by create date asc
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
orderById($order = Criteria::ASC)
Order by the id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
orderByCategoryId($order = Criteria::ASC)
Order by the category_id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
orderByContentId($order = Criteria::ASC)
Order by the content_id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
groupById()
Group by the id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
groupByCategoryId()
Group by the category_id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
groupByContentId()
Group by the content_id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
groupByPosition()
Group by the position column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
groupByCreatedAt()
Group by the created_at column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
groupByUpdatedAt()
Group by the updated_at column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
leftJoinCategory($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Category relation
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
rightJoinCategory($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Category relation
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
innerJoinCategory($relationAlias = null)
Adds a INNER JOIN clause to the query using the Category relation
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
leftJoinContent($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Content relation
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
rightJoinContent($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Content relation
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContentQuery
innerJoinContent($relationAlias = null)
Adds a INNER JOIN clause to the query using the Content relation
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContent
findOne(
ConnectionInterface $con = null)
Return the first ChildCategoryAssociatedContent matching the query
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContent
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildCategoryAssociatedContent matching the query, or a new ChildCategoryAssociatedContent object populated from the query conditions when no match is found
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContent
findOneById(
int $id)
Return the first ChildCategoryAssociatedContent filtered by the id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContent
findOneByCategoryId(
int $category_id)
Return the first ChildCategoryAssociatedContent filtered by the category_id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContent
findOneByContentId(
int $content_id)
Return the first ChildCategoryAssociatedContent filtered by the content_id column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContent
findOneByPosition(
int $position)
Return the first ChildCategoryAssociatedContent filtered by the position column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContent
findOneByCreatedAt(
string $created_at)
Return the first ChildCategoryAssociatedContent filtered by the created_at column
in
CategoryAssociatedContentQuery at line 68
ChildCategoryAssociatedContent
findOneByUpdatedAt(
string $updated_at)
Return the first ChildCategoryAssociatedContent filtered by the updated_at column
in
CategoryAssociatedContentQuery at line 68
array
findById(
int $id)
Return ChildCategoryAssociatedContent objects filtered by the id column
in
CategoryAssociatedContentQuery at line 68
array
findByCategoryId(
int $category_id)
Return ChildCategoryAssociatedContent objects filtered by the category_id column
in
CategoryAssociatedContentQuery at line 68
array
findByContentId(
int $content_id)
Return ChildCategoryAssociatedContent objects filtered by the content_id column
in
CategoryAssociatedContentQuery at line 68
array
findByPosition(
int $position)
Return ChildCategoryAssociatedContent objects filtered by the position column
in
CategoryAssociatedContentQuery at line 68
array
findByCreatedAt(
string $created_at)
Return ChildCategoryAssociatedContent objects filtered by the created_at column
in
CategoryAssociatedContentQuery at line 68
array
findByUpdatedAt(
string $updated_at)
Return ChildCategoryAssociatedContent objects filtered by the updated_at column