FolderVersionQuery
class FolderVersionQuery extends ModelCriteria
Base class that represents a query for the 'folder_version' table.
Methods
Initializes internal state of \Thelia\Model\Base\FolderVersionQuery object.
Returns a new ChildFolderVersionQuery object.
Find object by primary key.
Find objects by primary key
$objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
Filter the query by primary key
Filter the query by a list of primary keys
Filter the query on the id column
Filter the query on the parent 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 on the version column
Filter the query on the versioncreatedat column
Filter the query on the versioncreatedby 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
Deletes all rows from the folder_version table.
Performs a DELETE on the database, given a ChildFolderVersion or Criteria object OR a primary key value.
Order by the id column
Order by the parent column
Order by the visible column
Order by the position column
Order by the created_at column
Order by the updated_at column
Order by the version column
Order by the versioncreatedat column
Order by the versioncreatedby column
Group by the id column
Group by the parent column
Group by the visible column
Group by the position column
Group by the created_at column
Group by the updated_at column
Group by the version column
Group by the versioncreatedat column
Group by the versioncreatedby 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
Return the first ChildFolderVersion matching the query
Return the first ChildFolderVersion matching the query, or a new ChildFolderVersion object populated from the query conditions when no match is found
Return the first ChildFolderVersion filtered by the id column
Return the first ChildFolderVersion filtered by the parent column
Return the first ChildFolderVersion filtered by the visible column
Return the first ChildFolderVersion filtered by the position column
Return the first ChildFolderVersion filtered by the created_at column
Return the first ChildFolderVersion filtered by the updated_at column
Return the first ChildFolderVersion filtered by the version column
Return the first ChildFolderVersion filtered by the versioncreatedat column
Return the first ChildFolderVersion filtered by the versioncreatedby column
Return ChildFolderVersion objects filtered by the id column
Return ChildFolderVersion objects filtered by the parent column
Return ChildFolderVersion objects filtered by the visible column
Return ChildFolderVersion objects filtered by the position column
Return ChildFolderVersion objects filtered by the created_at column
Return ChildFolderVersion objects filtered by the updated_at column
Return ChildFolderVersion objects filtered by the version column
Return ChildFolderVersion objects filtered by the versioncreatedat column
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.
at line 99
static
FolderVersionQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildFolderVersionQuery object.
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);
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);
at line 233
FolderVersionQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 248
FolderVersionQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
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
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
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
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
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'
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'
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
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'
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%'
at line 636
FolderVersionQuery
filterByFolder(
Folder|ObjectCollection $folder,
string $comparison = null)
Filter the query by a related \Thelia\Model\Folder object
at line 661
FolderVersionQuery
joinFolder(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Folder relation
at line 696
FolderQuery
useFolderQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Folder relation Folder object
at line 710
FolderVersionQuery
prune(
FolderVersion $folderVersion = null)
Exclude object from result
at line 727
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the folder_version table.
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.
at line 76
ChildFolderVersionQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 76
ChildFolderVersionQuery
orderByParent($order = Criteria::ASC)
Order by the parent column
at line 76
ChildFolderVersionQuery
orderByVisible($order = Criteria::ASC)
Order by the visible column
at line 76
ChildFolderVersionQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
at line 76
ChildFolderVersionQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 76
ChildFolderVersionQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 76
ChildFolderVersionQuery
orderByVersion($order = Criteria::ASC)
Order by the version column
at line 76
ChildFolderVersionQuery
orderByVersionCreatedAt($order = Criteria::ASC)
Order by the versioncreatedat column
at line 76
ChildFolderVersionQuery
orderByVersionCreatedBy($order = Criteria::ASC)
Order by the versioncreatedby column
at line 76
ChildFolderVersionQuery
groupById()
Group by the id column
at line 76
ChildFolderVersionQuery
groupByParent()
Group by the parent column
at line 76
ChildFolderVersionQuery
groupByVisible()
Group by the visible column
at line 76
ChildFolderVersionQuery
groupByPosition()
Group by the position column
at line 76
ChildFolderVersionQuery
groupByCreatedAt()
Group by the created_at column
at line 76
ChildFolderVersionQuery
groupByUpdatedAt()
Group by the updated_at column
at line 76
ChildFolderVersionQuery
groupByVersion()
Group by the version column
at line 76
ChildFolderVersionQuery
groupByVersionCreatedAt()
Group by the versioncreatedat column
at line 76
ChildFolderVersionQuery
groupByVersionCreatedBy()
Group by the versioncreatedby column
at line 76
ChildFolderVersionQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 76
ChildFolderVersionQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 76
ChildFolderVersionQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 76
ChildFolderVersionQuery
leftJoinFolder($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Folder relation
at line 76
ChildFolderVersionQuery
rightJoinFolder($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Folder relation
at line 76
ChildFolderVersionQuery
innerJoinFolder($relationAlias = null)
Adds a INNER JOIN clause to the query using the Folder relation
at line 76
ChildFolderVersion
findOne(
ConnectionInterface $con = null)
Return the first ChildFolderVersion matching the query
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
at line 76
ChildFolderVersion
findOneById(
int $id)
Return the first ChildFolderVersion filtered by the id column
at line 76
ChildFolderVersion
findOneByParent(
int $parent)
Return the first ChildFolderVersion filtered by the parent column
at line 76
ChildFolderVersion
findOneByVisible(
int $visible)
Return the first ChildFolderVersion filtered by the visible column
at line 76
ChildFolderVersion
findOneByPosition(
int $position)
Return the first ChildFolderVersion filtered by the position column
at line 76
ChildFolderVersion
findOneByCreatedAt(
string $created_at)
Return the first ChildFolderVersion filtered by the created_at column
at line 76
ChildFolderVersion
findOneByUpdatedAt(
string $updated_at)
Return the first ChildFolderVersion filtered by the updated_at column
at line 76
ChildFolderVersion
findOneByVersion(
int $version)
Return the first ChildFolderVersion filtered by the version column
at line 76
ChildFolderVersion
findOneByVersionCreatedAt(
string $version_created_at)
Return the first ChildFolderVersion filtered by the versioncreatedat column
at line 76
ChildFolderVersion
findOneByVersionCreatedBy(
string $version_created_by)
Return the first ChildFolderVersion filtered by the versioncreatedby column
at line 76
array
findById(
int $id)
Return ChildFolderVersion objects filtered by the id column
at line 76
array
findByParent(
int $parent)
Return ChildFolderVersion objects filtered by the parent column
at line 76
array
findByVisible(
int $visible)
Return ChildFolderVersion objects filtered by the visible column
at line 76
array
findByPosition(
int $position)
Return ChildFolderVersion objects filtered by the position column
at line 76
array
findByCreatedAt(
string $created_at)
Return ChildFolderVersion objects filtered by the created_at column
at line 76
array
findByUpdatedAt(
string $updated_at)
Return ChildFolderVersion objects filtered by the updated_at column
at line 76
array
findByVersion(
int $version)
Return ChildFolderVersion objects filtered by the version column
at line 76
array
findByVersionCreatedAt(
string $version_created_at)
Return ChildFolderVersion objects filtered by the versioncreatedat column
at line 76
array
findByVersionCreatedBy(
string $version_created_by)
Return ChildFolderVersion objects filtered by the versioncreatedby column