$isVersioningEnabled
$isVersioningEnabled
Whether the versioning is enabled
Base class that represents a query for the 'folder' table.
__construct(string $dbName, string $modelName, string $modelAlias)
Initializes internal state of \Thelia\Model\Base\FolderQuery object.
| 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' |
create(string $modelAlias, \Propel\Runtime\ActiveQuery\Criteria $criteria) : \Thelia\Model\FolderQuery
Returns a new ChildFolderQuery object.
| string | $modelAlias | The alias of a model in the query |
| \Propel\Runtime\ActiveQuery\Criteria | $criteria | Optional Criteria to build the query from |
findPk(mixed $key, \Propel\Runtime\Connection\ConnectionInterface $con) : \Thelia\Model\Folder|array|mixed
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);
| mixed | $key | Primary key to use for the query |
| \Propel\Runtime\Connection\ConnectionInterface | $con | an optional connection object |
the result, formatted by the current formatter
findPks(array $keys, \Propel\Runtime\Connection\ConnectionInterface $con) : \Propel\Runtime\Collection\ObjectCollection|array|mixed
Find objects by primary key <code> $objs = $c->findPks(array(12, 56, 832), $con); </code>
| array | $keys | Primary keys to use for the query |
| \Propel\Runtime\Connection\ConnectionInterface | $con | an optional connection object |
the list of results, formatted by the current formatter
filterByPrimaryKey(mixed $key) : \Thelia\Model\FolderQuery
Filter the query by primary key
| mixed | $key | Primary key to use for the query |
The current query, for fluid interface
filterByPrimaryKeys(array $keys) : \Thelia\Model\FolderQuery
Filter the query by a list of primary keys
| array | $keys | The list of primary key to use for the query |
The current query, for fluid interface
filterById(mixed $id, string $comparison) : \Thelia\Model\FolderQuery
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
| mixed | $id | 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 |
The current query, for fluid interface
filterByParent(mixed $parent, string $comparison) : \Thelia\Model\FolderQuery
Filter the query on the parent column
Example usage:
$query->filterByParent(1234); // WHERE parent = 1234
$query->filterByParent(array(12, 34)); // WHERE parent IN (12, 34)
$query->filterByParent(array('min' => 12)); // WHERE parent > 12
| mixed | $parent | 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 |
The current query, for fluid interface
filterByVisible(mixed $visible, string $comparison) : \Thelia\Model\FolderQuery
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
| mixed | $visible | 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 |
The current query, for fluid interface
filterByPosition(mixed $position, string $comparison) : \Thelia\Model\FolderQuery
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
| mixed | $position | 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 |
The current query, for fluid interface
filterByCreatedAt(mixed $createdAt, string $comparison) : \Thelia\Model\FolderQuery
Filter the query on the created_at column
Example usage:
$query->filterByCreatedAt('2011-03-14'); // WHERE created_at = '2011-03-14'
$query->filterByCreatedAt('now'); // WHERE created_at = '2011-03-14'
$query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at > '2011-03-13'
| 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 |
The current query, for fluid interface
filterByUpdatedAt(mixed $updatedAt, string $comparison) : \Thelia\Model\FolderQuery
Filter the query on the updated_at column
Example usage:
$query->filterByUpdatedAt('2011-03-14'); // WHERE updated_at = '2011-03-14'
$query->filterByUpdatedAt('now'); // WHERE updated_at = '2011-03-14'
$query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'
| 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 |
The current query, for fluid interface
filterByVersion(mixed $version, string $comparison) : \Thelia\Model\FolderQuery
Filter the query on the version column
Example usage:
$query->filterByVersion(1234); // WHERE version = 1234
$query->filterByVersion(array(12, 34)); // WHERE version IN (12, 34)
$query->filterByVersion(array('min' => 12)); // WHERE version > 12
| mixed | $version | 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 |
The current query, for fluid interface
filterByVersionCreatedAt(mixed $versionCreatedAt, string $comparison) : \Thelia\Model\FolderQuery
Filter the query on the version_created_at column
Example usage:
$query->filterByVersionCreatedAt('2011-03-14'); // WHERE version_created_at = '2011-03-14'
$query->filterByVersionCreatedAt('now'); // WHERE version_created_at = '2011-03-14'
$query->filterByVersionCreatedAt(array('max' => 'yesterday')); // WHERE version_created_at > '2011-03-13'
| mixed | $versionCreatedAt | 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 |
The current query, for fluid interface
filterByVersionCreatedBy(string $versionCreatedBy, string $comparison) : \Thelia\Model\FolderQuery
Filter the query on the version_created_by column
Example usage:
$query->filterByVersionCreatedBy('fooValue'); // WHERE version_created_by = 'fooValue'
$query->filterByVersionCreatedBy('%fooValue%'); // WHERE version_created_by LIKE '%fooValue%'
| string | $versionCreatedBy | 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 |
The current query, for fluid interface
filterByImage(\Thelia\Model\Image|\Propel\Runtime\Collection\ObjectCollection $image, string $comparison) : \Thelia\Model\FolderQuery
Filter the query by a related \Thelia\Model\Image object
| \Thelia\Model\Image|\Propel\Runtime\Collection\ObjectCollection | $image | the related object to use as filter |
| string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
The current query, for fluid interface
joinImage(string $relationAlias, string $joinType) : \Thelia\Model\FolderQuery
Adds a JOIN clause to the query using the Image relation
| string | $relationAlias | optional alias for the relation |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
The current query, for fluid interface
useImageQuery(string $relationAlias, string $joinType) : \Thelia\Model\ImageQuery
Use the Image relation Image object
| 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' |
A secondary query class using the current class as primary query
filterByDocument(\Thelia\Model\Document|\Propel\Runtime\Collection\ObjectCollection $document, string $comparison) : \Thelia\Model\FolderQuery
Filter the query by a related \Thelia\Model\Document object
| \Thelia\Model\Document|\Propel\Runtime\Collection\ObjectCollection | $document | the related object to use as filter |
| string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
The current query, for fluid interface
joinDocument(string $relationAlias, string $joinType) : \Thelia\Model\FolderQuery
Adds a JOIN clause to the query using the Document relation
| string | $relationAlias | optional alias for the relation |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
The current query, for fluid interface
useDocumentQuery(string $relationAlias, string $joinType) : \Thelia\Model\DocumentQuery
Use the Document relation Document object
| 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' |
A secondary query class using the current class as primary query
filterByRewriting(\Thelia\Model\Rewriting|\Propel\Runtime\Collection\ObjectCollection $rewriting, string $comparison) : \Thelia\Model\FolderQuery
Filter the query by a related \Thelia\Model\Rewriting object
| \Thelia\Model\Rewriting|\Propel\Runtime\Collection\ObjectCollection | $rewriting | the related object to use as filter |
| string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
The current query, for fluid interface
joinRewriting(string $relationAlias, string $joinType) : \Thelia\Model\FolderQuery
Adds a JOIN clause to the query using the Rewriting relation
| string | $relationAlias | optional alias for the relation |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
The current query, for fluid interface
useRewritingQuery(string $relationAlias, string $joinType) : \Thelia\Model\RewritingQuery
Use the Rewriting relation Rewriting object
| 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' |
A secondary query class using the current class as primary query
filterByContentFolder(\Thelia\Model\ContentFolder|\Propel\Runtime\Collection\ObjectCollection $contentFolder, string $comparison) : \Thelia\Model\FolderQuery
Filter the query by a related \Thelia\Model\ContentFolder object
| \Thelia\Model\ContentFolder|\Propel\Runtime\Collection\ObjectCollection | $contentFolder | the related object to use as filter |
| string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
The current query, for fluid interface
joinContentFolder(string $relationAlias, string $joinType) : \Thelia\Model\FolderQuery
Adds a JOIN clause to the query using the ContentFolder relation
| string | $relationAlias | optional alias for the relation |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
The current query, for fluid interface
useContentFolderQuery(string $relationAlias, string $joinType) : \Thelia\Model\ContentFolderQuery
Use the ContentFolder relation ContentFolder object
| 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' |
A secondary query class using the current class as primary query
filterByFolderI18n(\Thelia\Model\FolderI18n|\Propel\Runtime\Collection\ObjectCollection $folderI18n, string $comparison) : \Thelia\Model\FolderQuery
Filter the query by a related \Thelia\Model\FolderI18n object
| \Thelia\Model\FolderI18n|\Propel\Runtime\Collection\ObjectCollection | $folderI18n | the related object to use as filter |
| string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
The current query, for fluid interface
joinFolderI18n(string $relationAlias, string $joinType) : \Thelia\Model\FolderQuery
Adds a JOIN clause to the query using the FolderI18n relation
| string | $relationAlias | optional alias for the relation |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
The current query, for fluid interface
useFolderI18nQuery(string $relationAlias, string $joinType) : \Thelia\Model\FolderI18nQuery
Use the FolderI18n relation FolderI18n object
| 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' |
A secondary query class using the current class as primary query
filterByFolderVersion(\Thelia\Model\FolderVersion|\Propel\Runtime\Collection\ObjectCollection $folderVersion, string $comparison) : \Thelia\Model\FolderQuery
Filter the query by a related \Thelia\Model\FolderVersion object
| \Thelia\Model\FolderVersion|\Propel\Runtime\Collection\ObjectCollection | $folderVersion | the related object to use as filter |
| string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
The current query, for fluid interface
joinFolderVersion(string $relationAlias, string $joinType) : \Thelia\Model\FolderQuery
Adds a JOIN clause to the query using the FolderVersion relation
| string | $relationAlias | optional alias for the relation |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
The current query, for fluid interface
useFolderVersionQuery(string $relationAlias, string $joinType) : \Thelia\Model\FolderVersionQuery
Use the FolderVersion relation FolderVersion object
| 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' |
A secondary query class using the current class as primary query
filterByContent(\Thelia\Model\Base\Content $content, string $comparison) : \Thelia\Model\FolderQuery
Filter the query by a related Content object using the content_folder table as cross reference
| \Thelia\Model\Base\Content | $content | the related object to use as filter |
| string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
The current query, for fluid interface
prune(\Thelia\Model\Folder $folder) : \Thelia\Model\FolderQuery
Exclude object from result
| \Thelia\Model\Folder | $folder | Object to remove from the list of results |
The current query, for fluid interface
delete(\Propel\Runtime\Connection\ConnectionInterface $con) : int
Performs a DELETE on the database, given a ChildFolder or Criteria object OR a primary key value.
| \Propel\Runtime\Connection\ConnectionInterface | $con | the connection to use |
Any exceptions caught during processing will be rethrown wrapped into a PropelException.
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.
recentlyUpdated(int $nbDays) : \Thelia\Model\FolderQuery
Filter by the latest updated
| int | $nbDays | Maximum age of the latest update in days |
The current query, for fluid interface
recentlyCreated(int $nbDays) : \Thelia\Model\FolderQuery
Filter by the latest created
| int | $nbDays | Maximum age of in days |
The current query, for fluid interface
lastUpdatedFirst() : \Thelia\Model\FolderQuery
Order by update date desc
The current query, for fluid interface
firstUpdatedFirst() : \Thelia\Model\FolderQuery
Order by update date asc
The current query, for fluid interface
lastCreatedFirst() : \Thelia\Model\FolderQuery
Order by create date desc
The current query, for fluid interface
firstCreatedFirst() : \Thelia\Model\FolderQuery
Order by create date asc
The current query, for fluid interface
joinI18n(string $locale, string $relationAlias, string $joinType) : \Thelia\Model\FolderQuery
Adds a JOIN clause to the query using the i18n relation
| string | $locale | Locale to use for the join condition, e.g. 'fr_FR' |
| string | $relationAlias | optional alias for the relation |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join. |
The current query, for fluid interface
joinWithI18n(string $locale, string $joinType) : \Thelia\Model\FolderQuery
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
| string | $locale | Locale to use for the join condition, e.g. 'fr_FR' |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join. |
The current query, for fluid interface
useI18nQuery(string $locale, string $relationAlias, string $joinType) : \Thelia\Model\FolderI18nQuery
Use the I18n relation query object
| string | $locale | Locale to use for the join condition, e.g. 'fr_FR' |
| string | $relationAlias | optional alias for the relation |
| string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join. |
A secondary query class using the current class as primary query
findPkSimple(mixed $key, \Propel\Runtime\Connection\ConnectionInterface $con) : \Thelia\Model\Folder
Find object by primary key using raw SQL to go fast.
Bypass doSelect() and the object formatter by using generated code.
| mixed | $key | Primary key to use for the query |
| \Propel\Runtime\Connection\ConnectionInterface | $con | A connection object |
A model object, or null if the key is not found
findPkComplex(mixed $key, \Propel\Runtime\Connection\ConnectionInterface $con) : \Thelia\Model\Folder|array|mixed
Find object by primary key.
| mixed | $key | Primary key to use for the query |
| \Propel\Runtime\Connection\ConnectionInterface | $con | A connection object |
the result, formatted by the current formatter