class ProductDocumentQuery extends ProductDocumentQuery

Skeleton subclass for performing query and update operations on the 'product_document' table.

You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

Methods

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

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

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

Returns a new ChildProductDocumentQuery object.

ProductDocument|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

filterByProductId( mixed $productId = null, string $comparison = null)

Filter the query on the product_id column

filterByFile( string $file = null, string $comparison = null)

Filter the query on the file 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

filterByProduct( Product|ObjectCollection $product, string $comparison = null)

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

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

Adds a JOIN clause to the query using the Product relation

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

Use the Product relation Product object

filterByProductSaleElementsProductDocument( ProductSaleElementsProductDocument|ObjectCollection $productSaleElementsProductDocument, string $comparison = null)

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

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

Adds a JOIN clause to the query using the ProductSaleElementsProductDocument relation

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

Use the ProductSaleElementsProductDocument relation ProductSaleElementsProductDocument object

filterByProductDocumentI18n( ProductDocumentI18n|ObjectCollection $productDocumentI18n, string $comparison = null)

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

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

Adds a JOIN clause to the query using the ProductDocumentI18n relation

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

Use the ProductDocumentI18n relation ProductDocumentI18n object

filterByProductSaleElements( ProductSaleElements $productSaleElements, string $comparison = Criteria::EQUAL)

Filter the query by a related ProductSaleElements object using the productsaleelementsproductdocument table as cross reference

prune( ProductDocument $productDocument = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the product_document table.

int
delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildProductDocument 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

ChildProductDocumentQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildProductDocumentQuery
orderByProductId($order = Criteria::ASC)

Order by the product_id column

ChildProductDocumentQuery
orderByFile($order = Criteria::ASC)

Order by the file column

ChildProductDocumentQuery
orderByVisible($order = Criteria::ASC)

Order by the visible column

ChildProductDocumentQuery
orderByPosition($order = Criteria::ASC)

Order by the position column

ChildProductDocumentQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildProductDocumentQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildProductDocumentQuery
groupById()

Group by the id column

ChildProductDocumentQuery
groupByProductId()

Group by the product_id column

ChildProductDocumentQuery
groupByFile()

Group by the file column

ChildProductDocumentQuery
groupByVisible()

Group by the visible column

ChildProductDocumentQuery
groupByPosition()

Group by the position column

ChildProductDocumentQuery
groupByCreatedAt()

Group by the created_at column

ChildProductDocumentQuery
groupByUpdatedAt()

Group by the updated_at column

ChildProductDocumentQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildProductDocumentQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildProductDocumentQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildProductDocumentQuery
leftJoinProduct($relationAlias = null)

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

ChildProductDocumentQuery
rightJoinProduct($relationAlias = null)

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

ChildProductDocumentQuery
innerJoinProduct($relationAlias = null)

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

ChildProductDocumentQuery
leftJoinProductSaleElementsProductDocument($relationAlias = null)

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

ChildProductDocumentQuery
rightJoinProductSaleElementsProductDocument($relationAlias = null)

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

ChildProductDocumentQuery
innerJoinProductSaleElementsProductDocument($relationAlias = null)

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

ChildProductDocumentQuery
leftJoinProductDocumentI18n($relationAlias = null)

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

ChildProductDocumentQuery
rightJoinProductDocumentI18n($relationAlias = null)

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

ChildProductDocumentQuery
innerJoinProductDocumentI18n($relationAlias = null)

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

ChildProductDocument
findOne( ConnectionInterface $con = null)

Return the first ChildProductDocument matching the query

ChildProductDocument
findOneOrCreate( ConnectionInterface $con = null)

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

ChildProductDocument
findOneById( int $id)

Return the first ChildProductDocument filtered by the id column

ChildProductDocument
findOneByProductId( int $product_id)

Return the first ChildProductDocument filtered by the product_id column

ChildProductDocument
findOneByFile( string $file)

Return the first ChildProductDocument filtered by the file column

ChildProductDocument
findOneByVisible( int $visible)

Return the first ChildProductDocument filtered by the visible column

ChildProductDocument
findOneByPosition( int $position)

Return the first ChildProductDocument filtered by the position column

ChildProductDocument
findOneByCreatedAt( string $created_at)

Return the first ChildProductDocument filtered by the created_at column

ChildProductDocument
findOneByUpdatedAt( string $updated_at)

Return the first ChildProductDocument filtered by the updated_at column

array
findById( int $id)

Return ChildProductDocument objects filtered by the id column

array
findByProductId( int $product_id)

Return ChildProductDocument objects filtered by the product_id column

array
findByFile( string $file)

Return ChildProductDocument objects filtered by the file column

array
findByVisible( int $visible)

Return ChildProductDocument objects filtered by the visible column

array
findByPosition( int $position)

Return ChildProductDocument objects filtered by the position column

array
findByCreatedAt( string $created_at)

Return ChildProductDocument objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildProductDocument objects filtered by the updated_at column

Details

in ProductDocumentQuery at line 87
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\ProductDocument', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\ProductDocumentQuery 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'

in ProductDocumentQuery at line 100
static ProductDocumentQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildProductDocumentQuery object.

Parameters

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

Return Value

ProductDocumentQuery

in ProductDocumentQuery at line 130
ProductDocument|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

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

in ProductDocumentQuery at line 212
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

in ProductDocumentQuery at line 233
ProductDocumentQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 246
ProductDocumentQuery 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 270
ProductDocumentQuery 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 313
ProductDocumentQuery filterByProductId( mixed $productId = null, string $comparison = null)

Filter the query on the product_id column

Example usage: $query->filterByProductId(1234); // WHERE productid = 1234 $query->filterByProductId(array(12, 34)); // WHERE productid IN (12, 34) $query->filterByProductId(array('min' => 12)); // WHERE product_id > 12

Parameters

mixed $productId 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

ProductDocumentQuery The current query, for fluid interface

See also

filterByProduct()

in ProductDocumentQuery at line 351
ProductDocumentQuery filterByFile( string $file = null, string $comparison = null)

Filter the query on the file column

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

Parameters

string $file 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 383
ProductDocumentQuery 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 424
ProductDocumentQuery 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 467
ProductDocumentQuery 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 510
ProductDocumentQuery 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 541
ProductDocumentQuery filterByProduct( Product|ObjectCollection $product, string $comparison = null)

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

Parameters

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

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 566
ProductDocumentQuery joinProduct( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Product relation

Parameters

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

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 601
ProductQuery useProductQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in ProductDocumentQuery at line 616
ProductDocumentQuery filterByProductSaleElementsProductDocument( ProductSaleElementsProductDocument|ObjectCollection $productSaleElementsProductDocument, string $comparison = null)

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

Parameters

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

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 639
ProductDocumentQuery joinProductSaleElementsProductDocument( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ProductSaleElementsProductDocument relation

Parameters

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

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 674
ProductSaleElementsProductDocumentQuery useProductSaleElementsProductDocumentQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in ProductDocumentQuery at line 689
ProductDocumentQuery filterByProductDocumentI18n( ProductDocumentI18n|ObjectCollection $productDocumentI18n, string $comparison = null)

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

Parameters

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

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 712
ProductDocumentQuery joinProductDocumentI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the ProductDocumentI18n relation

Parameters

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

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 747
ProductDocumentI18nQuery useProductDocumentI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

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

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

See also

useQuery()

in ProductDocumentQuery at line 763
ProductDocumentQuery filterByProductSaleElements( ProductSaleElements $productSaleElements, string $comparison = Criteria::EQUAL)

Filter the query by a related ProductSaleElements object using the productsaleelementsproductdocument table as cross reference

Parameters

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

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 778
ProductDocumentQuery prune( ProductDocument $productDocument = null)

Exclude object from result

Parameters

ProductDocument $productDocument Object to remove from the list of results

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 793
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the product_document table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

in ProductDocumentQuery at line 830
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildProductDocument 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.

in ProductDocumentQuery at line 871
ProductDocumentQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 883
ProductDocumentQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 893
ProductDocumentQuery lastUpdatedFirst()

Order by update date desc

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 903
ProductDocumentQuery firstUpdatedFirst()

Order by update date asc

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 913
ProductDocumentQuery lastCreatedFirst()

Order by create date desc

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 923
ProductDocumentQuery firstCreatedFirst()

Order by create date asc

Return Value

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 939
ProductDocumentQuery 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 957
ProductDocumentQuery 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

ProductDocumentQuery The current query, for fluid interface

in ProductDocumentQuery at line 978
ProductDocumentI18nQuery 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

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

See also

useQuery()

in ProductDocumentQuery at line 77
ChildProductDocumentQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery orderByProductId($order = Criteria::ASC)

Order by the product_id column

Parameters

$order

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery orderByFile($order = Criteria::ASC)

Order by the file column

Parameters

$order

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery orderByVisible($order = Criteria::ASC)

Order by the visible column

Parameters

$order

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery orderByPosition($order = Criteria::ASC)

Order by the position column

Parameters

$order

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery groupById()

Group by the id column

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery groupByProductId()

Group by the product_id column

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery groupByFile()

Group by the file column

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery groupByVisible()

Group by the visible column

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery groupByPosition()

Group by the position column

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery leftJoinProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery rightJoinProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery innerJoinProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery leftJoinProductSaleElementsProductDocument($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery rightJoinProductSaleElementsProductDocument($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery innerJoinProductSaleElementsProductDocument($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery leftJoinProductDocumentI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery rightJoinProductDocumentI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocumentQuery innerJoinProductDocumentI18n($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductDocumentQuery

in ProductDocumentQuery at line 77
ChildProductDocument findOne( ConnectionInterface $con = null)

Return the first ChildProductDocument matching the query

Parameters

ConnectionInterface $con

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
ChildProductDocument findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
ChildProductDocument findOneById( int $id)

Return the first ChildProductDocument filtered by the id column

Parameters

int $id

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
ChildProductDocument findOneByProductId( int $product_id)

Return the first ChildProductDocument filtered by the product_id column

Parameters

int $product_id

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
ChildProductDocument findOneByFile( string $file)

Return the first ChildProductDocument filtered by the file column

Parameters

string $file

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
ChildProductDocument findOneByVisible( int $visible)

Return the first ChildProductDocument filtered by the visible column

Parameters

int $visible

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
ChildProductDocument findOneByPosition( int $position)

Return the first ChildProductDocument filtered by the position column

Parameters

int $position

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
ChildProductDocument findOneByCreatedAt( string $created_at)

Return the first ChildProductDocument filtered by the created_at column

Parameters

string $created_at

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
ChildProductDocument findOneByUpdatedAt( string $updated_at)

Return the first ChildProductDocument filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildProductDocument

in ProductDocumentQuery at line 77
array findById( int $id)

Return ChildProductDocument objects filtered by the id column

Parameters

int $id

Return Value

array

in ProductDocumentQuery at line 77
array findByProductId( int $product_id)

Return ChildProductDocument objects filtered by the product_id column

Parameters

int $product_id

Return Value

array

in ProductDocumentQuery at line 77
array findByFile( string $file)

Return ChildProductDocument objects filtered by the file column

Parameters

string $file

Return Value

array

in ProductDocumentQuery at line 77
array findByVisible( int $visible)

Return ChildProductDocument objects filtered by the visible column

Parameters

int $visible

Return Value

array

in ProductDocumentQuery at line 77
array findByPosition( int $position)

Return ChildProductDocument objects filtered by the position column

Parameters

int $position

Return Value

array

in ProductDocumentQuery at line 77
array findByCreatedAt( string $created_at)

Return ChildProductDocument objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in ProductDocumentQuery at line 77
array findByUpdatedAt( string $updated_at)

Return ChildProductDocument objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array