class FolderQuery extends ModelCriteria

Base class that represents a query for the 'folder' table.

Properties

static $isVersioningEnabled Whether the versioning is enabled

Methods

__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Folder', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\FolderQuery object.

static  FolderQuery
create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildFolderQuery object.

Folder|array|mixed
findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

ObjectCollection|array|mixed
findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

filterByPrimaryKey( mixed $key)

Filter the query by primary key

filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

filterById( mixed $id = null, string $comparison = null)

Filter the query on the id column

filterByParent( mixed $parent = null, string $comparison = null)

Filter the query on the parent column

filterByVisible( mixed $visible = null, string $comparison = null)

Filter the query on the visible column

filterByPosition( mixed $position = null, string $comparison = null)

Filter the query on the position column

filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

filterByVersion( mixed $version = null, string $comparison = null)

Filter the query on the version column

filterByVersionCreatedAt( mixed $versionCreatedAt = null, string $comparison = null)

Filter the query on the versioncreatedat column

filterByVersionCreatedBy( string $versionCreatedBy = null, string $comparison = null)

Filter the query on the versioncreatedby column

filterByContentFolder( ContentFolder|ObjectCollection $contentFolder, string $comparison = null)

Filter the query by a related \Thelia\Model\ContentFolder object

joinContentFolder( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ContentFolder relation

useContentFolderQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ContentFolder relation ContentFolder object

filterByFolderImage( FolderImage|ObjectCollection $folderImage, string $comparison = null)

Filter the query by a related \Thelia\Model\FolderImage object

joinFolderImage( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the FolderImage relation

useFolderImageQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the FolderImage relation FolderImage object

filterByFolderDocument( FolderDocument|ObjectCollection $folderDocument, string $comparison = null)

Filter the query by a related \Thelia\Model\FolderDocument object

joinFolderDocument( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the FolderDocument relation

useFolderDocumentQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the FolderDocument relation FolderDocument object

filterByFolderI18n( FolderI18n|ObjectCollection $folderI18n, string $comparison = null)

Filter the query by a related \Thelia\Model\FolderI18n object

joinFolderI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the FolderI18n relation

useFolderI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Use the FolderI18n relation FolderI18n object

filterByFolderVersion( FolderVersion|ObjectCollection $folderVersion, string $comparison = null)

Filter the query by a related \Thelia\Model\FolderVersion object

joinFolderVersion( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the FolderVersion relation

useFolderVersionQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the FolderVersion relation FolderVersion object

filterByContent( Content $content, string $comparison = Criteria::EQUAL)

Filter the query by a related Content object using the content_folder table as cross reference

prune( Folder $folder = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the folder table.

int
delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildFolder or Criteria object OR a primary key value.

recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

recentlyCreated( int $nbDays = 7)

Filter by the latest created

lastUpdatedFirst()

Order by update date desc

firstUpdatedFirst()

Order by update date asc

lastCreatedFirst()

Order by create date desc

firstCreatedFirst()

Order by create date asc

joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the i18n relation

joinWithI18n( string $locale = 'en_US', string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query and hydrates the related I18n object.

useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the I18n relation query object

static  boolean
isVersioningEnabled()

Checks whether versioning is enabled

static 
enableVersioning()

Enables versioning

static 
disableVersioning()

Disables versioning

ChildFolderQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildFolderQuery
orderByParent($order = Criteria::ASC)

Order by the parent column

ChildFolderQuery
orderByVisible($order = Criteria::ASC)

Order by the visible column

ChildFolderQuery
orderByPosition($order = Criteria::ASC)

Order by the position column

ChildFolderQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildFolderQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildFolderQuery
orderByVersion($order = Criteria::ASC)

Order by the version column

ChildFolderQuery
orderByVersionCreatedAt($order = Criteria::ASC)

Order by the versioncreatedat column

ChildFolderQuery
orderByVersionCreatedBy($order = Criteria::ASC)

Order by the versioncreatedby column

ChildFolderQuery
groupById()

Group by the id column

ChildFolderQuery
groupByParent()

Group by the parent column

ChildFolderQuery
groupByVisible()

Group by the visible column

ChildFolderQuery
groupByPosition()

Group by the position column

ChildFolderQuery
groupByCreatedAt()

Group by the created_at column

ChildFolderQuery
groupByUpdatedAt()

Group by the updated_at column

ChildFolderQuery
groupByVersion()

Group by the version column

ChildFolderQuery
groupByVersionCreatedAt()

Group by the versioncreatedat column

ChildFolderQuery
groupByVersionCreatedBy()

Group by the versioncreatedby column

ChildFolderQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildFolderQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildFolderQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildFolderQuery
leftJoinContentFolder($relationAlias = null)

Adds a LEFT JOIN clause to the query using the ContentFolder relation

ChildFolderQuery
rightJoinContentFolder($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the ContentFolder relation

ChildFolderQuery
innerJoinContentFolder($relationAlias = null)

Adds a INNER JOIN clause to the query using the ContentFolder relation

ChildFolderQuery
leftJoinFolderImage($relationAlias = null)

Adds a LEFT JOIN clause to the query using the FolderImage relation

ChildFolderQuery
rightJoinFolderImage($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the FolderImage relation

ChildFolderQuery
innerJoinFolderImage($relationAlias = null)

Adds a INNER JOIN clause to the query using the FolderImage relation

ChildFolderQuery
leftJoinFolderDocument($relationAlias = null)

Adds a LEFT JOIN clause to the query using the FolderDocument relation

ChildFolderQuery
rightJoinFolderDocument($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the FolderDocument relation

ChildFolderQuery
innerJoinFolderDocument($relationAlias = null)

Adds a INNER JOIN clause to the query using the FolderDocument relation

ChildFolderQuery
leftJoinFolderI18n($relationAlias = null)

Adds a LEFT JOIN clause to the query using the FolderI18n relation

ChildFolderQuery
rightJoinFolderI18n($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the FolderI18n relation

ChildFolderQuery
innerJoinFolderI18n($relationAlias = null)

Adds a INNER JOIN clause to the query using the FolderI18n relation

ChildFolderQuery
leftJoinFolderVersion($relationAlias = null)

Adds a LEFT JOIN clause to the query using the FolderVersion relation

ChildFolderQuery
rightJoinFolderVersion($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the FolderVersion relation

ChildFolderQuery
innerJoinFolderVersion($relationAlias = null)

Adds a INNER JOIN clause to the query using the FolderVersion relation

ChildFolder
findOne( ConnectionInterface $con = null)

Return the first ChildFolder matching the query

ChildFolder
findOneOrCreate( ConnectionInterface $con = null)

Return the first ChildFolder matching the query, or a new ChildFolder object populated from the query conditions when no match is found

ChildFolder
findOneById( int $id)

Return the first ChildFolder filtered by the id column

ChildFolder
findOneByParent( int $parent)

Return the first ChildFolder filtered by the parent column

ChildFolder
findOneByVisible( int $visible)

Return the first ChildFolder filtered by the visible column

ChildFolder
findOneByPosition( int $position)

Return the first ChildFolder filtered by the position column

ChildFolder
findOneByCreatedAt( string $created_at)

Return the first ChildFolder filtered by the created_at column

ChildFolder
findOneByUpdatedAt( string $updated_at)

Return the first ChildFolder filtered by the updated_at column

ChildFolder
findOneByVersion( int $version)

Return the first ChildFolder filtered by the version column

ChildFolder
findOneByVersionCreatedAt( string $version_created_at)

Return the first ChildFolder filtered by the versioncreatedat column

ChildFolder
findOneByVersionCreatedBy( string $version_created_by)

Return the first ChildFolder filtered by the versioncreatedby column

array
findById( int $id)

Return ChildFolder objects filtered by the id column

array
findByParent( int $parent)

Return ChildFolder objects filtered by the parent column

array
findByVisible( int $visible)

Return ChildFolder objects filtered by the visible column

array
findByPosition( int $position)

Return ChildFolder objects filtered by the position column

array
findByCreatedAt( string $created_at)

Return ChildFolder objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildFolder objects filtered by the updated_at column

array
findByVersion( int $version)

Return ChildFolder objects filtered by the version column

array
findByVersionCreatedAt( string $version_created_at)

Return ChildFolder objects filtered by the versioncreatedat column

array
findByVersionCreatedBy( string $version_created_by)

Return ChildFolder objects filtered by the versioncreatedby column

Details

at line 110
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Folder', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\FolderQuery object.

Parameters

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'

at line 123
static FolderQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildFolderQuery object.

Parameters

string $modelAlias The alias of a model in the query
Criteria $criteria Optional Criteria to build the query from

Return Value

FolderQuery

at line 153
Folder|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);

Parameters

mixed $key Primary key to use for the query
ConnectionInterface $con an optional connection object

Return Value

Folder|array|mixed the result, formatted by the current formatter

at line 235
ObjectCollection|array|mixed findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

Parameters

array $keys Primary keys to use for the query
ConnectionInterface $con an optional connection object

Return Value

ObjectCollection|array|mixed the list of results, formatted by the current formatter

at line 256
FolderQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

FolderQuery The current query, for fluid interface

at line 269
FolderQuery filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

Parameters

array $keys The list of primary key to use for the query

Return Value

FolderQuery The current query, for fluid interface

at line 293
FolderQuery 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

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 334
FolderQuery filterByParent( mixed $parent = null, string $comparison = null)

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

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 375
FolderQuery 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

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 416
FolderQuery 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

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 459
FolderQuery 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'

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 502
FolderQuery 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'

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 543
FolderQuery filterByVersion( mixed $version = null, string $comparison = null)

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

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 586
FolderQuery filterByVersionCreatedAt( mixed $versionCreatedAt = null, string $comparison = null)

Filter the query on the versioncreatedat column

Example usage: $query->filterByVersionCreatedAt('2011-03-14'); // WHERE versioncreatedat = '2011-03-14' $query->filterByVersionCreatedAt('now'); // WHERE versioncreatedat = '2011-03-14' $query->filterByVersionCreatedAt(array('max' => 'yesterday')); // WHERE versioncreatedat > '2011-03-13'

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 624
FolderQuery filterByVersionCreatedBy( string $versionCreatedBy = null, string $comparison = null)

Filter the query on the versioncreatedby column

Example usage: $query->filterByVersionCreatedBy('fooValue'); // WHERE versioncreatedby = 'fooValue' $query->filterByVersionCreatedBy('%fooValue%'); // WHERE versioncreatedby LIKE '%fooValue%'

Parameters

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

Return Value

FolderQuery The current query, for fluid interface

at line 646
FolderQuery filterByContentFolder( ContentFolder|ObjectCollection $contentFolder, string $comparison = null)

Filter the query by a related \Thelia\Model\ContentFolder object

Parameters

ContentFolder|ObjectCollection $contentFolder the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

FolderQuery The current query, for fluid interface

at line 669
FolderQuery joinContentFolder( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ContentFolder relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

FolderQuery The current query, for fluid interface

at line 704
ContentFolderQuery useContentFolderQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ContentFolder relation ContentFolder object

Parameters

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'

Return Value

ContentFolderQuery A secondary query class using the current class as primary query

See also

useQuery()

at line 719
FolderQuery filterByFolderImage( FolderImage|ObjectCollection $folderImage, string $comparison = null)

Filter the query by a related \Thelia\Model\FolderImage object

Parameters

FolderImage|ObjectCollection $folderImage the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

FolderQuery The current query, for fluid interface

at line 742
FolderQuery joinFolderImage( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the FolderImage relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

FolderQuery The current query, for fluid interface

at line 777
FolderImageQuery useFolderImageQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the FolderImage relation FolderImage object

Parameters

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'

Return Value

FolderImageQuery A secondary query class using the current class as primary query

See also

useQuery()

at line 792
FolderQuery filterByFolderDocument( FolderDocument|ObjectCollection $folderDocument, string $comparison = null)

Filter the query by a related \Thelia\Model\FolderDocument object

Parameters

FolderDocument|ObjectCollection $folderDocument the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

FolderQuery The current query, for fluid interface

at line 815
FolderQuery joinFolderDocument( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the FolderDocument relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

FolderQuery The current query, for fluid interface

at line 850
FolderDocumentQuery useFolderDocumentQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the FolderDocument relation FolderDocument object

Parameters

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'

Return Value

FolderDocumentQuery A secondary query class using the current class as primary query

See also

useQuery()

at line 865
FolderQuery filterByFolderI18n( FolderI18n|ObjectCollection $folderI18n, string $comparison = null)

Filter the query by a related \Thelia\Model\FolderI18n object

Parameters

FolderI18n|ObjectCollection $folderI18n the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

FolderQuery The current query, for fluid interface

at line 888
FolderQuery joinFolderI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the FolderI18n relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

FolderQuery The current query, for fluid interface

at line 923
FolderI18nQuery useFolderI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Use the FolderI18n relation FolderI18n object

Parameters

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'

Return Value

FolderI18nQuery A secondary query class using the current class as primary query

See also

useQuery()

at line 938
FolderQuery filterByFolderVersion( FolderVersion|ObjectCollection $folderVersion, string $comparison = null)

Filter the query by a related \Thelia\Model\FolderVersion object

Parameters

FolderVersion|ObjectCollection $folderVersion the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

FolderQuery The current query, for fluid interface

at line 961
FolderQuery joinFolderVersion( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the FolderVersion relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

FolderQuery The current query, for fluid interface

at line 996
FolderVersionQuery useFolderVersionQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the FolderVersion relation FolderVersion object

Parameters

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'

Return Value

FolderVersionQuery A secondary query class using the current class as primary query

See also

useQuery()

at line 1012
FolderQuery filterByContent( Content $content, string $comparison = Criteria::EQUAL)

Filter the query by a related Content object using the content_folder table as cross reference

Parameters

Content $content the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

FolderQuery The current query, for fluid interface

at line 1027
FolderQuery prune( Folder $folder = null)

Exclude object from result

Parameters

Folder $folder Object to remove from the list of results

Return Value

FolderQuery The current query, for fluid interface

at line 1042
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the folder table.

Parameters

ConnectionInterface $con the connection to use

Return Value

int The number of affected rows (if supported by underlying database driver).

at line 1079
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildFolder or Criteria object OR a primary key value.

Parameters

ConnectionInterface $con

Return Value

int 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.

Exceptions

PropelException Any exceptions caught during processing will be rethrown wrapped into a PropelException.

at line 1120
FolderQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

FolderQuery The current query, for fluid interface

at line 1132
FolderQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

FolderQuery The current query, for fluid interface

at line 1142
FolderQuery lastUpdatedFirst()

Order by update date desc

Return Value

FolderQuery The current query, for fluid interface

at line 1152
FolderQuery firstUpdatedFirst()

Order by update date asc

Return Value

FolderQuery The current query, for fluid interface

at line 1162
FolderQuery lastCreatedFirst()

Order by create date desc

Return Value

FolderQuery The current query, for fluid interface

at line 1172
FolderQuery firstCreatedFirst()

Order by create date asc

Return Value

FolderQuery The current query, for fluid interface

at line 1188
FolderQuery joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the i18n relation

Parameters

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.

Return Value

FolderQuery The current query, for fluid interface

at line 1206
FolderQuery 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()

Parameters

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.

Return Value

FolderQuery The current query, for fluid interface

at line 1227
FolderI18nQuery useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the I18n relation query object

Parameters

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.

Return Value

FolderI18nQuery A secondary query class using the current class as primary query

See also

useQuery()

at line 1241
static boolean isVersioningEnabled()

Checks whether versioning is enabled

Return Value

boolean

at line 1249
static enableVersioning()

Enables versioning

at line 1257
static disableVersioning()

Disables versioning

at line 93
ChildFolderQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery orderByParent($order = Criteria::ASC)

Order by the parent column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery orderByVisible($order = Criteria::ASC)

Order by the visible column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery orderByPosition($order = Criteria::ASC)

Order by the position column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery orderByVersion($order = Criteria::ASC)

Order by the version column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery orderByVersionCreatedAt($order = Criteria::ASC)

Order by the versioncreatedat column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery orderByVersionCreatedBy($order = Criteria::ASC)

Order by the versioncreatedby column

Parameters

$order

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupById()

Group by the id column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupByParent()

Group by the parent column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupByVisible()

Group by the visible column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupByPosition()

Group by the position column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupByVersion()

Group by the version column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupByVersionCreatedAt()

Group by the versioncreatedat column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery groupByVersionCreatedBy()

Group by the versioncreatedby column

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery leftJoinContentFolder($relationAlias = null)

Adds a LEFT JOIN clause to the query using the ContentFolder relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery rightJoinContentFolder($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the ContentFolder relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery innerJoinContentFolder($relationAlias = null)

Adds a INNER JOIN clause to the query using the ContentFolder relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery leftJoinFolderImage($relationAlias = null)

Adds a LEFT JOIN clause to the query using the FolderImage relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery rightJoinFolderImage($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the FolderImage relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery innerJoinFolderImage($relationAlias = null)

Adds a INNER JOIN clause to the query using the FolderImage relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery leftJoinFolderDocument($relationAlias = null)

Adds a LEFT JOIN clause to the query using the FolderDocument relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery rightJoinFolderDocument($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the FolderDocument relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery innerJoinFolderDocument($relationAlias = null)

Adds a INNER JOIN clause to the query using the FolderDocument relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery leftJoinFolderI18n($relationAlias = null)

Adds a LEFT JOIN clause to the query using the FolderI18n relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery rightJoinFolderI18n($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the FolderI18n relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery innerJoinFolderI18n($relationAlias = null)

Adds a INNER JOIN clause to the query using the FolderI18n relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery leftJoinFolderVersion($relationAlias = null)

Adds a LEFT JOIN clause to the query using the FolderVersion relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery rightJoinFolderVersion($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the FolderVersion relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolderQuery innerJoinFolderVersion($relationAlias = null)

Adds a INNER JOIN clause to the query using the FolderVersion relation

Parameters

$relationAlias

Return Value

ChildFolderQuery

at line 93
ChildFolder findOne( ConnectionInterface $con = null)

Return the first ChildFolder matching the query

Parameters

ConnectionInterface $con

Return Value

ChildFolder

at line 93
ChildFolder findOneOrCreate( ConnectionInterface $con = null)

Return the first ChildFolder matching the query, or a new ChildFolder object populated from the query conditions when no match is found

Parameters

ConnectionInterface $con

Return Value

ChildFolder

at line 93
ChildFolder findOneById( int $id)

Return the first ChildFolder filtered by the id column

Parameters

int $id

Return Value

ChildFolder

at line 93
ChildFolder findOneByParent( int $parent)

Return the first ChildFolder filtered by the parent column

Parameters

int $parent

Return Value

ChildFolder

at line 93
ChildFolder findOneByVisible( int $visible)

Return the first ChildFolder filtered by the visible column

Parameters

int $visible

Return Value

ChildFolder

at line 93
ChildFolder findOneByPosition( int $position)

Return the first ChildFolder filtered by the position column

Parameters

int $position

Return Value

ChildFolder

at line 93
ChildFolder findOneByCreatedAt( string $created_at)

Return the first ChildFolder filtered by the created_at column

Parameters

string $created_at

Return Value

ChildFolder

at line 93
ChildFolder findOneByUpdatedAt( string $updated_at)

Return the first ChildFolder filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildFolder

at line 93
ChildFolder findOneByVersion( int $version)

Return the first ChildFolder filtered by the version column

Parameters

int $version

Return Value

ChildFolder

at line 93
ChildFolder findOneByVersionCreatedAt( string $version_created_at)

Return the first ChildFolder filtered by the versioncreatedat column

Parameters

string $version_created_at

Return Value

ChildFolder

at line 93
ChildFolder findOneByVersionCreatedBy( string $version_created_by)

Return the first ChildFolder filtered by the versioncreatedby column

Parameters

string $version_created_by

Return Value

ChildFolder

at line 93
array findById( int $id)

Return ChildFolder objects filtered by the id column

Parameters

int $id

Return Value

array

at line 93
array findByParent( int $parent)

Return ChildFolder objects filtered by the parent column

Parameters

int $parent

Return Value

array

at line 93
array findByVisible( int $visible)

Return ChildFolder objects filtered by the visible column

Parameters

int $visible

Return Value

array

at line 93
array findByPosition( int $position)

Return ChildFolder objects filtered by the position column

Parameters

int $position

Return Value

array

at line 93
array findByCreatedAt( string $created_at)

Return ChildFolder objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

at line 93
array findByUpdatedAt( string $updated_at)

Return ChildFolder objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array

at line 93
array findByVersion( int $version)

Return ChildFolder objects filtered by the version column

Parameters

int $version

Return Value

array

at line 93
array findByVersionCreatedAt( string $version_created_at)

Return ChildFolder objects filtered by the versioncreatedat column

Parameters

string $version_created_at

Return Value

array

at line 93
array findByVersionCreatedBy( string $version_created_by)

Return ChildFolder objects filtered by the versioncreatedby column

Parameters

string $version_created_by

Return Value

array