ContentFolderQuery
class ContentFolderQuery extends ModelCriteria
Base class that represents a query for the 'content_folder' table.
Methods
Initializes internal state of \Thelia\Model\Base\ContentFolderQuery object.
Returns a new ChildContentFolderQuery 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 content_id column
Filter the query on the folder_id column
Filter the query on the default_folder 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\Content object
Adds a JOIN clause to the query using the Content relation
Use the Content relation Content object
Filter the query by a related \Thelia\Model\Folder object
Adds a JOIN clause to the query using the Folder relation
Use the Folder relation Folder object
Deletes all rows from the content_folder table.
Performs a DELETE on the database, given a ChildContentFolder 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 content_id column
Order by the folder_id column
Order by the default_folder column
Order by the position column
Order by the created_at column
Order by the updated_at column
Group by the content_id column
Group by the folder_id column
Group by the default_folder 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 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
Adds a LEFT JOIN clause to the query using the Folder relation
Adds a RIGHT JOIN clause to the query using the Folder relation
Adds a INNER JOIN clause to the query using the Folder relation
Return the first ChildContentFolder matching the query
Return the first ChildContentFolder matching the query, or a new ChildContentFolder object populated from the query conditions when no match is found
Return the first ChildContentFolder filtered by the content_id column
Return the first ChildContentFolder filtered by the folder_id column
Return the first ChildContentFolder filtered by the default_folder column
Return the first ChildContentFolder filtered by the position column
Return the first ChildContentFolder filtered by the created_at column
Return the first ChildContentFolder filtered by the updated_at column
Return ChildContentFolder objects filtered by the content_id column
Return ChildContentFolder objects filtered by the folder_id column
Return ChildContentFolder objects filtered by the default_folder column
Return ChildContentFolder objects filtered by the position column
Return ChildContentFolder objects filtered by the created_at column
Return ChildContentFolder objects filtered by the updated_at column
Details
at line 78
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\ContentFolder',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\ContentFolderQuery object.
at line 91
static
ContentFolderQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildContentFolderQuery object.
at line 121
ContentFolder|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), $con);
at line 204
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 225
ContentFolderQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 240
ContentFolderQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 275
ContentFolderQuery
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
at line 318
ContentFolderQuery
filterByFolderId(
mixed $folderId = null,
string $comparison = null)
Filter the query on the folder_id column
Example usage:
$query->filterByFolderId(1234); // WHERE folderid = 1234
$query->filterByFolderId(array(12, 34)); // WHERE folderid IN (12, 34)
$query->filterByFolderId(array('min' => 12)); // WHERE folder_id > 12
at line 359
ContentFolderQuery
filterByDefaultFolder(
boolean|string $defaultFolder = null,
string $comparison = null)
Filter the query on the default_folder column
Example usage:
$query->filterByDefaultFolder(true); // WHERE defaultfolder = true
$query->filterByDefaultFolder('yes'); // WHERE defaultfolder = true
at line 386
ContentFolderQuery
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
at line 429
ContentFolderQuery
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 472
ContentFolderQuery
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 503
ContentFolderQuery
filterByContent(
Content|ObjectCollection $content,
string $comparison = null)
Filter the query by a related \Thelia\Model\Content object
at line 528
ContentFolderQuery
joinContent(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Content relation
at line 563
ContentQuery
useContentQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Content relation Content object
at line 578
ContentFolderQuery
filterByFolder(
Folder|ObjectCollection $folder,
string $comparison = null)
Filter the query by a related \Thelia\Model\Folder object
at line 603
ContentFolderQuery
joinFolder(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Folder relation
at line 638
FolderQuery
useFolderQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Folder relation Folder object
at line 652
ContentFolderQuery
prune(
ContentFolder $contentFolder = null)
Exclude object from result
at line 669
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the content_folder table.
at line 706
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildContentFolder or Criteria object OR a primary key value.
at line 747
ContentFolderQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 759
ContentFolderQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 769
ContentFolderQuery
lastUpdatedFirst()
Order by update date desc
at line 779
ContentFolderQuery
firstUpdatedFirst()
Order by update date asc
at line 789
ContentFolderQuery
lastCreatedFirst()
Order by create date desc
at line 799
ContentFolderQuery
firstCreatedFirst()
Order by create date asc
at line 68
ChildContentFolderQuery
orderByContentId($order = Criteria::ASC)
Order by the content_id column
at line 68
ChildContentFolderQuery
orderByFolderId($order = Criteria::ASC)
Order by the folder_id column
at line 68
ChildContentFolderQuery
orderByDefaultFolder($order = Criteria::ASC)
Order by the default_folder column
at line 68
ChildContentFolderQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
at line 68
ChildContentFolderQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 68
ChildContentFolderQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 68
ChildContentFolderQuery
groupByContentId()
Group by the content_id column
at line 68
ChildContentFolderQuery
groupByFolderId()
Group by the folder_id column
at line 68
ChildContentFolderQuery
groupByDefaultFolder()
Group by the default_folder column
at line 68
ChildContentFolderQuery
groupByPosition()
Group by the position column
at line 68
ChildContentFolderQuery
groupByCreatedAt()
Group by the created_at column
at line 68
ChildContentFolderQuery
groupByUpdatedAt()
Group by the updated_at column
at line 68
ChildContentFolderQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 68
ChildContentFolderQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 68
ChildContentFolderQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 68
ChildContentFolderQuery
leftJoinContent($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Content relation
at line 68
ChildContentFolderQuery
rightJoinContent($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Content relation
at line 68
ChildContentFolderQuery
innerJoinContent($relationAlias = null)
Adds a INNER JOIN clause to the query using the Content relation
at line 68
ChildContentFolderQuery
leftJoinFolder($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Folder relation
at line 68
ChildContentFolderQuery
rightJoinFolder($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Folder relation
at line 68
ChildContentFolderQuery
innerJoinFolder($relationAlias = null)
Adds a INNER JOIN clause to the query using the Folder relation
at line 68
ChildContentFolder
findOne(
ConnectionInterface $con = null)
Return the first ChildContentFolder matching the query
at line 68
ChildContentFolder
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildContentFolder matching the query, or a new ChildContentFolder object populated from the query conditions when no match is found
at line 68
ChildContentFolder
findOneByContentId(
int $content_id)
Return the first ChildContentFolder filtered by the content_id column
at line 68
ChildContentFolder
findOneByFolderId(
int $folder_id)
Return the first ChildContentFolder filtered by the folder_id column
at line 68
ChildContentFolder
findOneByDefaultFolder(
boolean $default_folder)
Return the first ChildContentFolder filtered by the default_folder column
at line 68
ChildContentFolder
findOneByPosition(
int $position)
Return the first ChildContentFolder filtered by the position column
at line 68
ChildContentFolder
findOneByCreatedAt(
string $created_at)
Return the first ChildContentFolder filtered by the created_at column
at line 68
ChildContentFolder
findOneByUpdatedAt(
string $updated_at)
Return the first ChildContentFolder filtered by the updated_at column
at line 68
array
findByContentId(
int $content_id)
Return ChildContentFolder objects filtered by the content_id column
at line 68
array
findByFolderId(
int $folder_id)
Return ChildContentFolder objects filtered by the folder_id column
at line 68
array
findByDefaultFolder(
boolean $default_folder)
Return ChildContentFolder objects filtered by the default_folder column
at line 68
array
findByPosition(
int $position)
Return ChildContentFolder objects filtered by the position column
at line 68
array
findByCreatedAt(
string $created_at)
Return ChildContentFolder objects filtered by the created_at column
at line 68
array
findByUpdatedAt(
string $updated_at)
Return ChildContentFolder objects filtered by the updated_at column