FolderDocumentQuery
class FolderDocumentQuery extends ModelCriteria
Base class that represents a query for the 'folder_document' table.
Methods
Initializes internal state of \Thelia\Model\Base\FolderDocumentQuery object.
Returns a new ChildFolderDocumentQuery 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 folder_id column
Filter the query on the file column
Filter the query on the visible 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\Folder object
Adds a JOIN clause to the query using the Folder relation
Use the Folder relation Folder object
Filter the query by a related \Thelia\Model\FolderDocumentI18n object
Adds a JOIN clause to the query using the FolderDocumentI18n relation
Use the FolderDocumentI18n relation FolderDocumentI18n object
Deletes all rows from the folder_document table.
Performs a DELETE on the database, given a ChildFolderDocument 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
Adds a JOIN clause to the query using the i18n relation
Adds a JOIN clause to the query and hydrates the related I18n object.
Use the I18n relation query object
Order by the id column
Order by the folder_id column
Order by the file column
Order by the visible 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 folder_id column
Group by the file column
Group by the visible 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 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
Adds a LEFT JOIN clause to the query using the FolderDocumentI18n relation
Adds a RIGHT JOIN clause to the query using the FolderDocumentI18n relation
Adds a INNER JOIN clause to the query using the FolderDocumentI18n relation
Return the first ChildFolderDocument matching the query
Return the first ChildFolderDocument matching the query, or a new ChildFolderDocument object populated from the query conditions when no match is found
Return the first ChildFolderDocument filtered by the id column
Return the first ChildFolderDocument filtered by the folder_id column
Return the first ChildFolderDocument filtered by the file column
Return the first ChildFolderDocument filtered by the visible column
Return the first ChildFolderDocument filtered by the position column
Return the first ChildFolderDocument filtered by the created_at column
Return the first ChildFolderDocument filtered by the updated_at column
Return ChildFolderDocument objects filtered by the id column
Return ChildFolderDocument objects filtered by the folder_id column
Return ChildFolderDocument objects filtered by the file column
Return ChildFolderDocument objects filtered by the visible column
Return ChildFolderDocument objects filtered by the position column
Return ChildFolderDocument objects filtered by the created_at column
Return ChildFolderDocument objects filtered by the updated_at column
Details
at line 83
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\FolderDocument',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\FolderDocumentQuery object.
at line 96
static
FolderDocumentQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildFolderDocumentQuery object.
at line 126
FolderDocument|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 208
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 229
FolderDocumentQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 242
FolderDocumentQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 266
FolderDocumentQuery
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 309
FolderDocumentQuery
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 347
FolderDocumentQuery
filterByFile(
string $file = null,
string $comparison = null)
Filter the query on the file column
Example usage:
$query->filterByFile('fooValue'); // WHERE file = 'fooValue'
$query->filterByFile('%fooValue%'); // WHERE file LIKE '%fooValue%'
at line 379
FolderDocumentQuery
filterByVisible(
mixed $visible = null,
string $comparison = null)
Filter the query on the visible column
Example usage:
$query->filterByVisible(1234); // WHERE visible = 1234
$query->filterByVisible(array(12, 34)); // WHERE visible IN (12, 34)
$query->filterByVisible(array('min' => 12)); // WHERE visible > 12
at line 420
FolderDocumentQuery
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 463
FolderDocumentQuery
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 506
FolderDocumentQuery
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 537
FolderDocumentQuery
filterByFolder(
Folder|ObjectCollection $folder,
string $comparison = null)
Filter the query by a related \Thelia\Model\Folder object
at line 562
FolderDocumentQuery
joinFolder(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Folder relation
at line 597
FolderQuery
useFolderQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Folder relation Folder object
at line 612
FolderDocumentQuery
filterByFolderDocumentI18n(
FolderDocumentI18n|ObjectCollection $folderDocumentI18n,
string $comparison = null)
Filter the query by a related \Thelia\Model\FolderDocumentI18n object
at line 635
FolderDocumentQuery
joinFolderDocumentI18n(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Adds a JOIN clause to the query using the FolderDocumentI18n relation
at line 670
FolderDocumentI18nQuery
useFolderDocumentI18nQuery(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Use the FolderDocumentI18n relation FolderDocumentI18n object
at line 684
FolderDocumentQuery
prune(
FolderDocument $folderDocument = null)
Exclude object from result
at line 699
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the folder_document table.
at line 736
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildFolderDocument or Criteria object OR a primary key value.
at line 777
FolderDocumentQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 789
FolderDocumentQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 799
FolderDocumentQuery
lastUpdatedFirst()
Order by update date desc
at line 809
FolderDocumentQuery
firstUpdatedFirst()
Order by update date asc
at line 819
FolderDocumentQuery
lastCreatedFirst()
Order by create date desc
at line 829
FolderDocumentQuery
firstCreatedFirst()
Order by create date asc
at line 845
FolderDocumentQuery
joinI18n(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the i18n relation
at line 863
FolderDocumentQuery
joinWithI18n(
string $locale = 'en_US',
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
at line 884
FolderDocumentI18nQuery
useI18nQuery(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the I18n relation query object
at line 73
ChildFolderDocumentQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 73
ChildFolderDocumentQuery
orderByFolderId($order = Criteria::ASC)
Order by the folder_id column
at line 73
ChildFolderDocumentQuery
orderByFile($order = Criteria::ASC)
Order by the file column
at line 73
ChildFolderDocumentQuery
orderByVisible($order = Criteria::ASC)
Order by the visible column
at line 73
ChildFolderDocumentQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
at line 73
ChildFolderDocumentQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 73
ChildFolderDocumentQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 73
ChildFolderDocumentQuery
groupById()
Group by the id column
at line 73
ChildFolderDocumentQuery
groupByFolderId()
Group by the folder_id column
at line 73
ChildFolderDocumentQuery
groupByFile()
Group by the file column
at line 73
ChildFolderDocumentQuery
groupByVisible()
Group by the visible column
at line 73
ChildFolderDocumentQuery
groupByPosition()
Group by the position column
at line 73
ChildFolderDocumentQuery
groupByCreatedAt()
Group by the created_at column
at line 73
ChildFolderDocumentQuery
groupByUpdatedAt()
Group by the updated_at column
at line 73
ChildFolderDocumentQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 73
ChildFolderDocumentQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 73
ChildFolderDocumentQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 73
ChildFolderDocumentQuery
leftJoinFolder($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Folder relation
at line 73
ChildFolderDocumentQuery
rightJoinFolder($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Folder relation
at line 73
ChildFolderDocumentQuery
innerJoinFolder($relationAlias = null)
Adds a INNER JOIN clause to the query using the Folder relation
at line 73
ChildFolderDocumentQuery
leftJoinFolderDocumentI18n($relationAlias = null)
Adds a LEFT JOIN clause to the query using the FolderDocumentI18n relation
at line 73
ChildFolderDocumentQuery
rightJoinFolderDocumentI18n($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the FolderDocumentI18n relation
at line 73
ChildFolderDocumentQuery
innerJoinFolderDocumentI18n($relationAlias = null)
Adds a INNER JOIN clause to the query using the FolderDocumentI18n relation
at line 73
ChildFolderDocument
findOne(
ConnectionInterface $con = null)
Return the first ChildFolderDocument matching the query
at line 73
ChildFolderDocument
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildFolderDocument matching the query, or a new ChildFolderDocument object populated from the query conditions when no match is found
at line 73
ChildFolderDocument
findOneById(
int $id)
Return the first ChildFolderDocument filtered by the id column
at line 73
ChildFolderDocument
findOneByFolderId(
int $folder_id)
Return the first ChildFolderDocument filtered by the folder_id column
at line 73
ChildFolderDocument
findOneByFile(
string $file)
Return the first ChildFolderDocument filtered by the file column
at line 73
ChildFolderDocument
findOneByVisible(
int $visible)
Return the first ChildFolderDocument filtered by the visible column
at line 73
ChildFolderDocument
findOneByPosition(
int $position)
Return the first ChildFolderDocument filtered by the position column
at line 73
ChildFolderDocument
findOneByCreatedAt(
string $created_at)
Return the first ChildFolderDocument filtered by the created_at column
at line 73
ChildFolderDocument
findOneByUpdatedAt(
string $updated_at)
Return the first ChildFolderDocument filtered by the updated_at column
at line 73
array
findById(
int $id)
Return ChildFolderDocument objects filtered by the id column
at line 73
array
findByFolderId(
int $folder_id)
Return ChildFolderDocument objects filtered by the folder_id column
at line 73
array
findByFile(
string $file)
Return ChildFolderDocument objects filtered by the file column
at line 73
array
findByVisible(
int $visible)
Return ChildFolderDocument objects filtered by the visible column
at line 73
array
findByPosition(
int $position)
Return ChildFolderDocument objects filtered by the position column
at line 73
array
findByCreatedAt(
string $created_at)
Return ChildFolderDocument objects filtered by the created_at column
at line 73
array
findByUpdatedAt(
string $updated_at)
Return ChildFolderDocument objects filtered by the updated_at column