class ProductPriceQuery extends ProductPriceQuery

Skeleton subclass for performing query and update operations on the 'product_price' 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\\ProductPrice', string $modelAlias = null)

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

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

Returns a new ChildProductPriceQuery object.

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

filterByProductSaleElementsId( mixed $productSaleElementsId = null, string $comparison = null)

Filter the query on the productsaleelements_id column

filterByCurrencyId( mixed $currencyId = null, string $comparison = null)

Filter the query on the currency_id column

filterByPrice( mixed $price = null, string $comparison = null)

Filter the query on the price column

filterByPromoPrice( mixed $promoPrice = null, string $comparison = null)

Filter the query on the promo_price column

filterByFromDefaultCurrency( boolean|string $fromDefaultCurrency = null, string $comparison = null)

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

filterByProductSaleElements( ProductSaleElements|ObjectCollection $productSaleElements, string $comparison = null)

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

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

Adds a JOIN clause to the query using the ProductSaleElements relation

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

Use the ProductSaleElements relation ProductSaleElements object

filterByCurrency( Currency|ObjectCollection $currency, string $comparison = null)

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

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

Adds a JOIN clause to the query using the Currency relation

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

Use the Currency relation Currency object

prune( ProductPrice $productPrice = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the product_price table.

int
delete( ConnectionInterface $con = null)

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

ChildProductPriceQuery
orderByProductSaleElementsId($order = Criteria::ASC)

Order by the productsaleelements_id column

ChildProductPriceQuery
orderByCurrencyId($order = Criteria::ASC)

Order by the currency_id column

ChildProductPriceQuery
orderByPrice($order = Criteria::ASC)

Order by the price column

ChildProductPriceQuery
orderByPromoPrice($order = Criteria::ASC)

Order by the promo_price column

ChildProductPriceQuery
orderByFromDefaultCurrency($order = Criteria::ASC)

Order by the fromdefaultcurrency column

ChildProductPriceQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildProductPriceQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildProductPriceQuery
groupByProductSaleElementsId()

Group by the productsaleelements_id column

ChildProductPriceQuery
groupByCurrencyId()

Group by the currency_id column

ChildProductPriceQuery
groupByPrice()

Group by the price column

ChildProductPriceQuery
groupByPromoPrice()

Group by the promo_price column

ChildProductPriceQuery
groupByFromDefaultCurrency()

Group by the fromdefaultcurrency column

ChildProductPriceQuery
groupByCreatedAt()

Group by the created_at column

ChildProductPriceQuery
groupByUpdatedAt()

Group by the updated_at column

ChildProductPriceQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildProductPriceQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildProductPriceQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildProductPriceQuery
leftJoinProductSaleElements($relationAlias = null)

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

ChildProductPriceQuery
rightJoinProductSaleElements($relationAlias = null)

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

ChildProductPriceQuery
innerJoinProductSaleElements($relationAlias = null)

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

ChildProductPriceQuery
leftJoinCurrency($relationAlias = null)

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

ChildProductPriceQuery
rightJoinCurrency($relationAlias = null)

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

ChildProductPriceQuery
innerJoinCurrency($relationAlias = null)

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

ChildProductPrice
findOne( ConnectionInterface $con = null)

Return the first ChildProductPrice matching the query

ChildProductPrice
findOneOrCreate( ConnectionInterface $con = null)

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

ChildProductPrice
findOneByProductSaleElementsId( int $product_sale_elements_id)

Return the first ChildProductPrice filtered by the productsaleelements_id column

ChildProductPrice
findOneByCurrencyId( int $currency_id)

Return the first ChildProductPrice filtered by the currency_id column

ChildProductPrice
findOneByPrice( string $price)

Return the first ChildProductPrice filtered by the price column

ChildProductPrice
findOneByPromoPrice( string $promo_price)

Return the first ChildProductPrice filtered by the promo_price column

ChildProductPrice
findOneByFromDefaultCurrency( boolean $from_default_currency)

Return the first ChildProductPrice filtered by the fromdefaultcurrency column

ChildProductPrice
findOneByCreatedAt( string $created_at)

Return the first ChildProductPrice filtered by the created_at column

ChildProductPrice
findOneByUpdatedAt( string $updated_at)

Return the first ChildProductPrice filtered by the updated_at column

array
findByProductSaleElementsId( int $product_sale_elements_id)

Return ChildProductPrice objects filtered by the productsaleelements_id column

array
findByCurrencyId( int $currency_id)

Return ChildProductPrice objects filtered by the currency_id column

array
findByPrice( string $price)

Return ChildProductPrice objects filtered by the price column

array
findByPromoPrice( string $promo_price)

Return ChildProductPrice objects filtered by the promo_price column

array
findByFromDefaultCurrency( boolean $from_default_currency)

Return ChildProductPrice objects filtered by the fromdefaultcurrency column

array
findByCreatedAt( string $created_at)

Return ChildProductPrice objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildProductPrice objects filtered by the updated_at column

Details

in ProductPriceQuery at line 82
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\ProductPrice', string $modelAlias = null)

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

Returns a new ChildProductPriceQuery object.

Parameters

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

Return Value

ProductPriceQuery

in ProductPriceQuery at line 125
ProductPrice|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

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

in ProductPriceQuery at line 208
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

in ProductPriceQuery at line 229
ProductPriceQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 244
ProductPriceQuery 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

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 279
ProductPriceQuery filterByProductSaleElementsId( mixed $productSaleElementsId = null, string $comparison = null)

Filter the query on the productsaleelements_id column

Example usage: $query->filterByProductSaleElementsId(1234); // WHERE productsaleelementsid = 1234 $query->filterByProductSaleElementsId(array(12, 34)); // WHERE productsaleelementsid IN (12, 34) $query->filterByProductSaleElementsId(array('min' => 12)); // WHERE productsaleelements_id > 12

Parameters

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

ProductPriceQuery The current query, for fluid interface

See also

filterByProductSaleElements()

in ProductPriceQuery at line 322
ProductPriceQuery filterByCurrencyId( mixed $currencyId = null, string $comparison = null)

Filter the query on the currency_id column

Example usage: $query->filterByCurrencyId(1234); // WHERE currencyid = 1234 $query->filterByCurrencyId(array(12, 34)); // WHERE currencyid IN (12, 34) $query->filterByCurrencyId(array('min' => 12)); // WHERE currency_id > 12

Parameters

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

ProductPriceQuery The current query, for fluid interface

See also

filterByCurrency()

in ProductPriceQuery at line 363
ProductPriceQuery filterByPrice( mixed $price = null, string $comparison = null)

Filter the query on the price column

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

Parameters

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

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 404
ProductPriceQuery filterByPromoPrice( mixed $promoPrice = null, string $comparison = null)

Filter the query on the promo_price column

Example usage: $query->filterByPromoPrice(1234); // WHERE promoprice = 1234 $query->filterByPromoPrice(array(12, 34)); // WHERE promoprice IN (12, 34) $query->filterByPromoPrice(array('min' => 12)); // WHERE promo_price > 12

Parameters

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

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 445
ProductPriceQuery filterByFromDefaultCurrency( boolean|string $fromDefaultCurrency = null, string $comparison = null)

Filter the query on the fromdefaultcurrency column

Example usage: $query->filterByFromDefaultCurrency(true); // WHERE fromdefaultcurrency = true $query->filterByFromDefaultCurrency('yes'); // WHERE fromdefaultcurrency = true

Parameters

boolean|string $fromDefaultCurrency The value to use as filter. Non-boolean arguments are converted using the following rules: * 1, '1', 'true', 'on', and 'yes' are converted to boolean true * 0, '0', 'false', 'off', and 'no' are converted to boolean false Check on string values is case insensitive (so 'FaLsE' is seen as 'false').
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 474
ProductPriceQuery 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

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 517
ProductPriceQuery 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

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 548
ProductPriceQuery filterByProductSaleElements( ProductSaleElements|ObjectCollection $productSaleElements, string $comparison = null)

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

Parameters

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

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 573
ProductPriceQuery joinProductSaleElements( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ProductSaleElements relation

Parameters

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

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 608
ProductSaleElementsQuery useProductSaleElementsQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in ProductPriceQuery at line 623
ProductPriceQuery filterByCurrency( Currency|ObjectCollection $currency, string $comparison = null)

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

Parameters

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

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 648
ProductPriceQuery joinCurrency( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Currency relation

Parameters

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

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 683
CurrencyQuery useCurrencyQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in ProductPriceQuery at line 697
ProductPriceQuery prune( ProductPrice $productPrice = null)

Exclude object from result

Parameters

ProductPrice $productPrice Object to remove from the list of results

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 714
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the product_price table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

in ProductPriceQuery at line 751
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildProductPrice 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 ProductPriceQuery at line 792
ProductPriceQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 804
ProductPriceQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 814
ProductPriceQuery lastUpdatedFirst()

Order by update date desc

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 824
ProductPriceQuery firstUpdatedFirst()

Order by update date asc

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 834
ProductPriceQuery lastCreatedFirst()

Order by create date desc

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 844
ProductPriceQuery firstCreatedFirst()

Order by create date asc

Return Value

ProductPriceQuery The current query, for fluid interface

in ProductPriceQuery at line 72
ChildProductPriceQuery orderByProductSaleElementsId($order = Criteria::ASC)

Order by the productsaleelements_id column

Parameters

$order

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery orderByCurrencyId($order = Criteria::ASC)

Order by the currency_id column

Parameters

$order

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery orderByPrice($order = Criteria::ASC)

Order by the price column

Parameters

$order

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery orderByPromoPrice($order = Criteria::ASC)

Order by the promo_price column

Parameters

$order

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery orderByFromDefaultCurrency($order = Criteria::ASC)

Order by the fromdefaultcurrency column

Parameters

$order

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery groupByProductSaleElementsId()

Group by the productsaleelements_id column

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery groupByCurrencyId()

Group by the currency_id column

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery groupByPrice()

Group by the price column

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery groupByPromoPrice()

Group by the promo_price column

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery groupByFromDefaultCurrency()

Group by the fromdefaultcurrency column

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery leftJoinProductSaleElements($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery rightJoinProductSaleElements($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery innerJoinProductSaleElements($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery leftJoinCurrency($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery rightJoinCurrency($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPriceQuery innerJoinCurrency($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildProductPriceQuery

in ProductPriceQuery at line 72
ChildProductPrice findOne( ConnectionInterface $con = null)

Return the first ChildProductPrice matching the query

Parameters

ConnectionInterface $con

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
ChildProductPrice findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
ChildProductPrice findOneByProductSaleElementsId( int $product_sale_elements_id)

Return the first ChildProductPrice filtered by the productsaleelements_id column

Parameters

int $product_sale_elements_id

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
ChildProductPrice findOneByCurrencyId( int $currency_id)

Return the first ChildProductPrice filtered by the currency_id column

Parameters

int $currency_id

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
ChildProductPrice findOneByPrice( string $price)

Return the first ChildProductPrice filtered by the price column

Parameters

string $price

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
ChildProductPrice findOneByPromoPrice( string $promo_price)

Return the first ChildProductPrice filtered by the promo_price column

Parameters

string $promo_price

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
ChildProductPrice findOneByFromDefaultCurrency( boolean $from_default_currency)

Return the first ChildProductPrice filtered by the fromdefaultcurrency column

Parameters

boolean $from_default_currency

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
ChildProductPrice findOneByCreatedAt( string $created_at)

Return the first ChildProductPrice filtered by the created_at column

Parameters

string $created_at

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
ChildProductPrice findOneByUpdatedAt( string $updated_at)

Return the first ChildProductPrice filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildProductPrice

in ProductPriceQuery at line 72
array findByProductSaleElementsId( int $product_sale_elements_id)

Return ChildProductPrice objects filtered by the productsaleelements_id column

Parameters

int $product_sale_elements_id

Return Value

array

in ProductPriceQuery at line 72
array findByCurrencyId( int $currency_id)

Return ChildProductPrice objects filtered by the currency_id column

Parameters

int $currency_id

Return Value

array

in ProductPriceQuery at line 72
array findByPrice( string $price)

Return ChildProductPrice objects filtered by the price column

Parameters

string $price

Return Value

array

in ProductPriceQuery at line 72
array findByPromoPrice( string $promo_price)

Return ChildProductPrice objects filtered by the promo_price column

Parameters

string $promo_price

Return Value

array

in ProductPriceQuery at line 72
array findByFromDefaultCurrency( boolean $from_default_currency)

Return ChildProductPrice objects filtered by the fromdefaultcurrency column

Parameters

boolean $from_default_currency

Return Value

array

in ProductPriceQuery at line 72
array findByCreatedAt( string $created_at)

Return ChildProductPrice objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in ProductPriceQuery at line 72
array findByUpdatedAt( string $updated_at)

Return ChildProductPrice objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array