class FolderVersionQuery extends ModelCriteria

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

Methods

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

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

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

Returns a new ChildFolderVersionQuery object.

FolderVersion|array|mixed
findPk($key, $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(array(12, 56), array(832, 123), array(123, 456)), $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

filterByFolder( Folder|ObjectCollection $folder, string $comparison = null)

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

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

Adds a JOIN clause to the query using the Folder relation

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

Use the Folder relation Folder object

prune( FolderVersion $folderVersion = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the folder_version table.

int
delete( ConnectionInterface $con = null)

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

ChildFolderVersionQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildFolderVersionQuery
orderByParent($order = Criteria::ASC)

Order by the parent column

ChildFolderVersionQuery
orderByVisible($order = Criteria::ASC)

Order by the visible column

ChildFolderVersionQuery
orderByPosition($order = Criteria::ASC)

Order by the position column

ChildFolderVersionQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildFolderVersionQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildFolderVersionQuery
orderByVersion($order = Criteria::ASC)

Order by the version column

ChildFolderVersionQuery
orderByVersionCreatedAt($order = Criteria::ASC)

Order by the versioncreatedat column

ChildFolderVersionQuery
orderByVersionCreatedBy($order = Criteria::ASC)

Order by the versioncreatedby column

ChildFolderVersionQuery
groupById()

Group by the id column

ChildFolderVersionQuery
groupByParent()

Group by the parent column

ChildFolderVersionQuery
groupByVisible()

Group by the visible column

ChildFolderVersionQuery
groupByPosition()

Group by the position column

ChildFolderVersionQuery
groupByCreatedAt()

Group by the created_at column

ChildFolderVersionQuery
groupByUpdatedAt()

Group by the updated_at column

ChildFolderVersionQuery
groupByVersion()

Group by the version column

ChildFolderVersionQuery
groupByVersionCreatedAt()

Group by the versioncreatedat column

ChildFolderVersionQuery
groupByVersionCreatedBy()

Group by the versioncreatedby column

ChildFolderVersionQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildFolderVersionQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildFolderVersionQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildFolderVersionQuery
leftJoinFolder($relationAlias = null)

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

ChildFolderVersionQuery
rightJoinFolder($relationAlias = null)

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

ChildFolderVersionQuery
innerJoinFolder($relationAlias = null)

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

ChildFolderVersion
findOne( ConnectionInterface $con = null)

Return the first ChildFolderVersion matching the query

ChildFolderVersion
findOneOrCreate( ConnectionInterface $con = null)

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

ChildFolderVersion
findOneById( int $id)

Return the first ChildFolderVersion filtered by the id column

ChildFolderVersion
findOneByParent( int $parent)

Return the first ChildFolderVersion filtered by the parent column

ChildFolderVersion
findOneByVisible( int $visible)

Return the first ChildFolderVersion filtered by the visible column

ChildFolderVersion
findOneByPosition( int $position)

Return the first ChildFolderVersion filtered by the position column

ChildFolderVersion
findOneByCreatedAt( string $created_at)

Return the first ChildFolderVersion filtered by the created_at column

ChildFolderVersion
findOneByUpdatedAt( string $updated_at)

Return the first ChildFolderVersion filtered by the updated_at column

ChildFolderVersion
findOneByVersion( int $version)

Return the first ChildFolderVersion filtered by the version column

ChildFolderVersion
findOneByVersionCreatedAt( string $version_created_at)

Return the first ChildFolderVersion filtered by the versioncreatedat column

ChildFolderVersion
findOneByVersionCreatedBy( string $version_created_by)

Return the first ChildFolderVersion filtered by the versioncreatedby column

array
findById( int $id)

Return ChildFolderVersion objects filtered by the id column

array
findByParent( int $parent)

Return ChildFolderVersion objects filtered by the parent column

array
findByVisible( int $visible)

Return ChildFolderVersion objects filtered by the visible column

array
findByPosition( int $position)

Return ChildFolderVersion objects filtered by the position column

array
findByCreatedAt( string $created_at)

Return ChildFolderVersion objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildFolderVersion objects filtered by the updated_at column

array
findByVersion( int $version)

Return ChildFolderVersion objects filtered by the version column

array
findByVersionCreatedAt( string $version_created_at)

Return ChildFolderVersion objects filtered by the versioncreatedat column

array
findByVersionCreatedBy( string $version_created_by)

Return ChildFolderVersion objects filtered by the versioncreatedby column

Details

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

Initializes internal state of \Thelia\Model\Base\FolderVersionQuery 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 99
static FolderVersionQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildFolderVersionQuery object.

Parameters

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

Return Value

FolderVersionQuery

at line 129
FolderVersion|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);

Parameters

$key
$con

Return Value

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

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

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 233
FolderVersionQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

FolderVersionQuery The current query, for fluid interface

at line 248
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 283
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

See also

filterByFolder()

at line 324
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 365
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 406
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 449
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 492
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 533
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 576
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 614
FolderVersionQuery 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

FolderVersionQuery The current query, for fluid interface

at line 636
FolderVersionQuery filterByFolder( Folder|ObjectCollection $folder, string $comparison = null)

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

Parameters

Folder|ObjectCollection $folder The related object(s) to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

FolderVersionQuery The current query, for fluid interface

at line 661
FolderVersionQuery joinFolder( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Folder relation

Parameters

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

Return Value

FolderVersionQuery The current query, for fluid interface

at line 696
FolderQuery useFolderQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Folder relation Folder 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

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

See also

useQuery()

at line 710
FolderVersionQuery prune( FolderVersion $folderVersion = null)

Exclude object from result

Parameters

FolderVersion $folderVersion Object to remove from the list of results

Return Value

FolderVersionQuery The current query, for fluid interface

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

Deletes all rows from the folder_version table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

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

Performs a DELETE on the database, given a ChildFolderVersion 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 76
ChildFolderVersionQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery orderByParent($order = Criteria::ASC)

Order by the parent column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery orderByVisible($order = Criteria::ASC)

Order by the visible column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery orderByPosition($order = Criteria::ASC)

Order by the position column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery orderByVersion($order = Criteria::ASC)

Order by the version column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery orderByVersionCreatedAt($order = Criteria::ASC)

Order by the versioncreatedat column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery orderByVersionCreatedBy($order = Criteria::ASC)

Order by the versioncreatedby column

Parameters

$order

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupById()

Group by the id column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupByParent()

Group by the parent column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupByVisible()

Group by the visible column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupByPosition()

Group by the position column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupByVersion()

Group by the version column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupByVersionCreatedAt()

Group by the versioncreatedat column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery groupByVersionCreatedBy()

Group by the versioncreatedby column

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery leftJoinFolder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery rightJoinFolder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersionQuery innerJoinFolder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildFolderVersionQuery

at line 76
ChildFolderVersion findOne( ConnectionInterface $con = null)

Return the first ChildFolderVersion matching the query

Parameters

ConnectionInterface $con

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneById( int $id)

Return the first ChildFolderVersion filtered by the id column

Parameters

int $id

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneByParent( int $parent)

Return the first ChildFolderVersion filtered by the parent column

Parameters

int $parent

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneByVisible( int $visible)

Return the first ChildFolderVersion filtered by the visible column

Parameters

int $visible

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneByPosition( int $position)

Return the first ChildFolderVersion filtered by the position column

Parameters

int $position

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneByCreatedAt( string $created_at)

Return the first ChildFolderVersion filtered by the created_at column

Parameters

string $created_at

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneByUpdatedAt( string $updated_at)

Return the first ChildFolderVersion filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneByVersion( int $version)

Return the first ChildFolderVersion filtered by the version column

Parameters

int $version

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneByVersionCreatedAt( string $version_created_at)

Return the first ChildFolderVersion filtered by the versioncreatedat column

Parameters

string $version_created_at

Return Value

ChildFolderVersion

at line 76
ChildFolderVersion findOneByVersionCreatedBy( string $version_created_by)

Return the first ChildFolderVersion filtered by the versioncreatedby column

Parameters

string $version_created_by

Return Value

ChildFolderVersion

at line 76
array findById( int $id)

Return ChildFolderVersion objects filtered by the id column

Parameters

int $id

Return Value

array

at line 76
array findByParent( int $parent)

Return ChildFolderVersion objects filtered by the parent column

Parameters

int $parent

Return Value

array

at line 76
array findByVisible( int $visible)

Return ChildFolderVersion objects filtered by the visible column

Parameters

int $visible

Return Value

array

at line 76
array findByPosition( int $position)

Return ChildFolderVersion objects filtered by the position column

Parameters

int $position

Return Value

array

at line 76
array findByCreatedAt( string $created_at)

Return ChildFolderVersion objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

at line 76
array findByUpdatedAt( string $updated_at)

Return ChildFolderVersion objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array

at line 76
array findByVersion( int $version)

Return ChildFolderVersion objects filtered by the version column

Parameters

int $version

Return Value

array

at line 76
array findByVersionCreatedAt( string $version_created_at)

Return ChildFolderVersion objects filtered by the versioncreatedat column

Parameters

string $version_created_at

Return Value

array

at line 76
array findByVersionCreatedBy( string $version_created_by)

Return ChildFolderVersion objects filtered by the versioncreatedby column

Parameters

string $version_created_by

Return Value

array