class OrderCouponQuery extends OrderCouponQuery

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

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

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

Returns a new ChildOrderCouponQuery object.

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

filterByOrderId( mixed $orderId = null, string $comparison = null)

Filter the query on the order_id column

filterByCode( string $code = null, string $comparison = null)

Filter the query on the code column

filterByType( string $type = null, string $comparison = null)

Filter the query on the type column

filterByAmount( mixed $amount = null, string $comparison = null)

Filter the query on the amount column

filterByTitle( string $title = null, string $comparison = null)

Filter the query on the title column

filterByShortDescription( string $shortDescription = null, string $comparison = null)

Filter the query on the short_description column

filterByDescription( string $description = null, string $comparison = null)

Filter the query on the description column

filterByStartDate( mixed $startDate = null, string $comparison = null)

Filter the query on the start_date column

filterByExpirationDate( mixed $expirationDate = null, string $comparison = null)

Filter the query on the expiration_date column

filterByIsCumulative( boolean|string $isCumulative = null, string $comparison = null)

Filter the query on the is_cumulative column

filterByIsRemovingPostage( boolean|string $isRemovingPostage = null, string $comparison = null)

Filter the query on the isremovingpostage column

filterByIsAvailableOnSpecialOffers( boolean|string $isAvailableOnSpecialOffers = null, string $comparison = null)

Filter the query on the isavailableonspecialoffers column

filterBySerializedConditions( string $serializedConditions = null, string $comparison = null)

Filter the query on the serialized_conditions column

filterByPerCustomerUsageCount( boolean|string $perCustomerUsageCount = null, string $comparison = null)

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

filterByOrder( Order|ObjectCollection $order, string $comparison = null)

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

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

Adds a JOIN clause to the query using the Order relation

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

Use the Order relation Order object

filterByOrderCouponCountry( OrderCouponCountry|ObjectCollection $orderCouponCountry, string $comparison = null)

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

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

Adds a JOIN clause to the query using the OrderCouponCountry relation

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

Use the OrderCouponCountry relation OrderCouponCountry object

filterByOrderCouponModule( OrderCouponModule|ObjectCollection $orderCouponModule, string $comparison = null)

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

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

Adds a JOIN clause to the query using the OrderCouponModule relation

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

Use the OrderCouponModule relation OrderCouponModule object

filterByCountry( Country $country, string $comparison = Criteria::EQUAL)

Filter the query by a related Country object using the ordercouponcountry table as cross reference

filterByModule( Module $module, string $comparison = Criteria::EQUAL)

Filter the query by a related Module object using the ordercouponmodule table as cross reference

prune( OrderCoupon $orderCoupon = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the order_coupon table.

int
delete( ConnectionInterface $con = null)

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

ChildOrderCouponQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildOrderCouponQuery
orderByOrderId($order = Criteria::ASC)

Order by the order_id column

ChildOrderCouponQuery
orderByCode($order = Criteria::ASC)

Order by the code column

ChildOrderCouponQuery
orderByType($order = Criteria::ASC)

Order by the type column

ChildOrderCouponQuery
orderByAmount($order = Criteria::ASC)

Order by the amount column

ChildOrderCouponQuery
orderByTitle($order = Criteria::ASC)

Order by the title column

ChildOrderCouponQuery
orderByShortDescription($order = Criteria::ASC)

Order by the short_description column

ChildOrderCouponQuery
orderByDescription($order = Criteria::ASC)

Order by the description column

ChildOrderCouponQuery
orderByStartDate($order = Criteria::ASC)

Order by the start_date column

ChildOrderCouponQuery
orderByExpirationDate($order = Criteria::ASC)

Order by the expiration_date column

ChildOrderCouponQuery
orderByIsCumulative($order = Criteria::ASC)

Order by the is_cumulative column

ChildOrderCouponQuery
orderByIsRemovingPostage($order = Criteria::ASC)

Order by the isremovingpostage column

ChildOrderCouponQuery
orderByIsAvailableOnSpecialOffers($order = Criteria::ASC)

Order by the isavailableonspecialoffers column

ChildOrderCouponQuery
orderBySerializedConditions($order = Criteria::ASC)

Order by the serialized_conditions column

ChildOrderCouponQuery
orderByPerCustomerUsageCount($order = Criteria::ASC)

Order by the percustomerusage_count column

ChildOrderCouponQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildOrderCouponQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildOrderCouponQuery
groupById()

Group by the id column

ChildOrderCouponQuery
groupByOrderId()

Group by the order_id column

ChildOrderCouponQuery
groupByCode()

Group by the code column

ChildOrderCouponQuery
groupByType()

Group by the type column

ChildOrderCouponQuery
groupByAmount()

Group by the amount column

ChildOrderCouponQuery
groupByTitle()

Group by the title column

ChildOrderCouponQuery
groupByShortDescription()

Group by the short_description column

ChildOrderCouponQuery
groupByDescription()

Group by the description column

ChildOrderCouponQuery
groupByStartDate()

Group by the start_date column

ChildOrderCouponQuery
groupByExpirationDate()

Group by the expiration_date column

ChildOrderCouponQuery
groupByIsCumulative()

Group by the is_cumulative column

ChildOrderCouponQuery
groupByIsRemovingPostage()

Group by the isremovingpostage column

ChildOrderCouponQuery
groupByIsAvailableOnSpecialOffers()

Group by the isavailableonspecialoffers column

ChildOrderCouponQuery
groupBySerializedConditions()

Group by the serialized_conditions column

ChildOrderCouponQuery
groupByPerCustomerUsageCount()

Group by the percustomerusage_count column

ChildOrderCouponQuery
groupByCreatedAt()

Group by the created_at column

ChildOrderCouponQuery
groupByUpdatedAt()

Group by the updated_at column

ChildOrderCouponQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildOrderCouponQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildOrderCouponQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildOrderCouponQuery
leftJoinOrder($relationAlias = null)

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

ChildOrderCouponQuery
rightJoinOrder($relationAlias = null)

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

ChildOrderCouponQuery
innerJoinOrder($relationAlias = null)

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

ChildOrderCouponQuery
leftJoinOrderCouponCountry($relationAlias = null)

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

ChildOrderCouponQuery
rightJoinOrderCouponCountry($relationAlias = null)

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

ChildOrderCouponQuery
innerJoinOrderCouponCountry($relationAlias = null)

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

ChildOrderCouponQuery
leftJoinOrderCouponModule($relationAlias = null)

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

ChildOrderCouponQuery
rightJoinOrderCouponModule($relationAlias = null)

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

ChildOrderCouponQuery
innerJoinOrderCouponModule($relationAlias = null)

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

ChildOrderCoupon
findOne( ConnectionInterface $con = null)

Return the first ChildOrderCoupon matching the query

ChildOrderCoupon
findOneOrCreate( ConnectionInterface $con = null)

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

ChildOrderCoupon
findOneById( int $id)

Return the first ChildOrderCoupon filtered by the id column

ChildOrderCoupon
findOneByOrderId( int $order_id)

Return the first ChildOrderCoupon filtered by the order_id column

ChildOrderCoupon
findOneByCode( string $code)

Return the first ChildOrderCoupon filtered by the code column

ChildOrderCoupon
findOneByType( string $type)

Return the first ChildOrderCoupon filtered by the type column

ChildOrderCoupon
findOneByAmount( string $amount)

Return the first ChildOrderCoupon filtered by the amount column

ChildOrderCoupon
findOneByTitle( string $title)

Return the first ChildOrderCoupon filtered by the title column

ChildOrderCoupon
findOneByShortDescription( string $short_description)

Return the first ChildOrderCoupon filtered by the short_description column

ChildOrderCoupon
findOneByDescription( string $description)

Return the first ChildOrderCoupon filtered by the description column

ChildOrderCoupon
findOneByStartDate( string $start_date)

Return the first ChildOrderCoupon filtered by the start_date column

ChildOrderCoupon
findOneByExpirationDate( string $expiration_date)

Return the first ChildOrderCoupon filtered by the expiration_date column

ChildOrderCoupon
findOneByIsCumulative( boolean $is_cumulative)

Return the first ChildOrderCoupon filtered by the is_cumulative column

ChildOrderCoupon
findOneByIsRemovingPostage( boolean $is_removing_postage)

Return the first ChildOrderCoupon filtered by the isremovingpostage column

ChildOrderCoupon
findOneByIsAvailableOnSpecialOffers( boolean $is_available_on_special_offers)

Return the first ChildOrderCoupon filtered by the isavailableonspecialoffers column

ChildOrderCoupon
findOneBySerializedConditions( string $serialized_conditions)

Return the first ChildOrderCoupon filtered by the serialized_conditions column

ChildOrderCoupon
findOneByPerCustomerUsageCount( boolean $per_customer_usage_count)

Return the first ChildOrderCoupon filtered by the percustomerusage_count column

ChildOrderCoupon
findOneByCreatedAt( string $created_at)

Return the first ChildOrderCoupon filtered by the created_at column

ChildOrderCoupon
findOneByUpdatedAt( string $updated_at)

Return the first ChildOrderCoupon filtered by the updated_at column

array
findById( int $id)

Return ChildOrderCoupon objects filtered by the id column

array
findByOrderId( int $order_id)

Return ChildOrderCoupon objects filtered by the order_id column

array
findByCode( string $code)

Return ChildOrderCoupon objects filtered by the code column

array
findByType( string $type)

Return ChildOrderCoupon objects filtered by the type column

array
findByAmount( string $amount)

Return ChildOrderCoupon objects filtered by the amount column

array
findByTitle( string $title)

Return ChildOrderCoupon objects filtered by the title column

array
findByShortDescription( string $short_description)

Return ChildOrderCoupon objects filtered by the short_description column

array
findByDescription( string $description)

Return ChildOrderCoupon objects filtered by the description column

array
findByStartDate( string $start_date)

Return ChildOrderCoupon objects filtered by the start_date column

array
findByExpirationDate( string $expiration_date)

Return ChildOrderCoupon objects filtered by the expiration_date column

array
findByIsCumulative( boolean $is_cumulative)

Return ChildOrderCoupon objects filtered by the is_cumulative column

array
findByIsRemovingPostage( boolean $is_removing_postage)

Return ChildOrderCoupon objects filtered by the isremovingpostage column

array
findByIsAvailableOnSpecialOffers( boolean $is_available_on_special_offers)

Return ChildOrderCoupon objects filtered by the isavailableonspecialoffers column

array
findBySerializedConditions( string $serialized_conditions)

Return ChildOrderCoupon objects filtered by the serialized_conditions column

array
findByPerCustomerUsageCount( boolean $per_customer_usage_count)

Return ChildOrderCoupon objects filtered by the percustomerusage_count column

array
findByCreatedAt( string $created_at)

Return ChildOrderCoupon objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildOrderCoupon objects filtered by the updated_at column

Details

in OrderCouponQuery at line 126
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\OrderCoupon', string $modelAlias = null)

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

Returns a new ChildOrderCouponQuery object.

Parameters

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

Return Value

OrderCouponQuery

in OrderCouponQuery at line 169
OrderCoupon|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

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

in OrderCouponQuery at line 251
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 OrderCouponQuery at line 272
OrderCouponQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 285
OrderCouponQuery 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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 309
OrderCouponQuery 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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 352
OrderCouponQuery filterByOrderId( mixed $orderId = null, string $comparison = null)

Filter the query on the order_id column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

See also

filterByOrder()

in OrderCouponQuery at line 390
OrderCouponQuery filterByCode( string $code = null, string $comparison = null)

Filter the query on the code column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 419
OrderCouponQuery filterByType( string $type = null, string $comparison = null)

Filter the query on the type column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 451
OrderCouponQuery filterByAmount( mixed $amount = null, string $comparison = null)

Filter the query on the amount column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 489
OrderCouponQuery filterByTitle( string $title = null, string $comparison = null)

Filter the query on the title column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 518
OrderCouponQuery filterByShortDescription( string $shortDescription = null, string $comparison = null)

Filter the query on the short_description column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 547
OrderCouponQuery filterByDescription( string $description = null, string $comparison = null)

Filter the query on the description column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 581
OrderCouponQuery filterByStartDate( mixed $startDate = null, string $comparison = null)

Filter the query on the start_date column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 624
OrderCouponQuery filterByExpirationDate( mixed $expirationDate = null, string $comparison = null)

Filter the query on the expiration_date column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 665
OrderCouponQuery filterByIsCumulative( boolean|string $isCumulative = null, string $comparison = null)

Filter the query on the is_cumulative column

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

Parameters

boolean|string $isCumulative 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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 692
OrderCouponQuery filterByIsRemovingPostage( boolean|string $isRemovingPostage = null, string $comparison = null)

Filter the query on the isremovingpostage column

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

Parameters

boolean|string $isRemovingPostage 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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 719
OrderCouponQuery filterByIsAvailableOnSpecialOffers( boolean|string $isAvailableOnSpecialOffers = null, string $comparison = null)

Filter the query on the isavailableonspecialoffers column

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

Parameters

boolean|string $isAvailableOnSpecialOffers 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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 743
OrderCouponQuery filterBySerializedConditions( string $serializedConditions = null, string $comparison = null)

Filter the query on the serialized_conditions column

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

Parameters

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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 775
OrderCouponQuery filterByPerCustomerUsageCount( boolean|string $perCustomerUsageCount = null, string $comparison = null)

Filter the query on the percustomerusage_count column

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

Parameters

boolean|string $perCustomerUsageCount 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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 804
OrderCouponQuery 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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 847
OrderCouponQuery 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

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 878
OrderCouponQuery filterByOrder( Order|ObjectCollection $order, string $comparison = null)

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

Parameters

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

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 903
OrderCouponQuery joinOrder( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Order relation

Parameters

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

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 938
OrderQuery useOrderQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in OrderCouponQuery at line 953
OrderCouponQuery filterByOrderCouponCountry( OrderCouponCountry|ObjectCollection $orderCouponCountry, string $comparison = null)

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

Parameters

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

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 976
OrderCouponQuery joinOrderCouponCountry( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderCouponCountry relation

Parameters

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

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1011
OrderCouponCountryQuery useOrderCouponCountryQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in OrderCouponQuery at line 1026
OrderCouponQuery filterByOrderCouponModule( OrderCouponModule|ObjectCollection $orderCouponModule, string $comparison = null)

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

Parameters

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

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1049
OrderCouponQuery joinOrderCouponModule( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderCouponModule relation

Parameters

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

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1084
OrderCouponModuleQuery useOrderCouponModuleQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in OrderCouponQuery at line 1100
OrderCouponQuery filterByCountry( Country $country, string $comparison = Criteria::EQUAL)

Filter the query by a related Country object using the ordercouponcountry table as cross reference

Parameters

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

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1117
OrderCouponQuery filterByModule( Module $module, string $comparison = Criteria::EQUAL)

Filter the query by a related Module object using the ordercouponmodule table as cross reference

Parameters

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

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1132
OrderCouponQuery prune( OrderCoupon $orderCoupon = null)

Exclude object from result

Parameters

OrderCoupon $orderCoupon Object to remove from the list of results

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1147
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the order_coupon table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

in OrderCouponQuery at line 1184
int delete( ConnectionInterface $con = null)

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

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1237
OrderCouponQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1247
OrderCouponQuery lastUpdatedFirst()

Order by update date desc

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1257
OrderCouponQuery firstUpdatedFirst()

Order by update date asc

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1267
OrderCouponQuery lastCreatedFirst()

Order by create date desc

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 1277
OrderCouponQuery firstCreatedFirst()

Order by create date asc

Return Value

OrderCouponQuery The current query, for fluid interface

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByOrderId($order = Criteria::ASC)

Order by the order_id column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByCode($order = Criteria::ASC)

Order by the code column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByType($order = Criteria::ASC)

Order by the type column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByAmount($order = Criteria::ASC)

Order by the amount column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByTitle($order = Criteria::ASC)

Order by the title column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByShortDescription($order = Criteria::ASC)

Order by the short_description column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByDescription($order = Criteria::ASC)

Order by the description column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByStartDate($order = Criteria::ASC)

Order by the start_date column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByExpirationDate($order = Criteria::ASC)

Order by the expiration_date column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByIsCumulative($order = Criteria::ASC)

Order by the is_cumulative column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByIsRemovingPostage($order = Criteria::ASC)

Order by the isremovingpostage column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByIsAvailableOnSpecialOffers($order = Criteria::ASC)

Order by the isavailableonspecialoffers column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderBySerializedConditions($order = Criteria::ASC)

Order by the serialized_conditions column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByPerCustomerUsageCount($order = Criteria::ASC)

Order by the percustomerusage_count column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupById()

Group by the id column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByOrderId()

Group by the order_id column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByCode()

Group by the code column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByType()

Group by the type column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByAmount()

Group by the amount column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByTitle()

Group by the title column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByShortDescription()

Group by the short_description column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByDescription()

Group by the description column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByStartDate()

Group by the start_date column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByExpirationDate()

Group by the expiration_date column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByIsCumulative()

Group by the is_cumulative column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByIsRemovingPostage()

Group by the isremovingpostage column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByIsAvailableOnSpecialOffers()

Group by the isavailableonspecialoffers column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupBySerializedConditions()

Group by the serialized_conditions column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByPerCustomerUsageCount()

Group by the percustomerusage_count column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery leftJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery rightJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery innerJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery leftJoinOrderCouponCountry($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery rightJoinOrderCouponCountry($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery innerJoinOrderCouponCountry($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery leftJoinOrderCouponModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery rightJoinOrderCouponModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCouponQuery innerJoinOrderCouponModule($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderCouponQuery

in OrderCouponQuery at line 116
ChildOrderCoupon findOne( ConnectionInterface $con = null)

Return the first ChildOrderCoupon matching the query

Parameters

ConnectionInterface $con

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneById( int $id)

Return the first ChildOrderCoupon filtered by the id column

Parameters

int $id

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByOrderId( int $order_id)

Return the first ChildOrderCoupon filtered by the order_id column

Parameters

int $order_id

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByCode( string $code)

Return the first ChildOrderCoupon filtered by the code column

Parameters

string $code

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByType( string $type)

Return the first ChildOrderCoupon filtered by the type column

Parameters

string $type

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByAmount( string $amount)

Return the first ChildOrderCoupon filtered by the amount column

Parameters

string $amount

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByTitle( string $title)

Return the first ChildOrderCoupon filtered by the title column

Parameters

string $title

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByShortDescription( string $short_description)

Return the first ChildOrderCoupon filtered by the short_description column

Parameters

string $short_description

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByDescription( string $description)

Return the first ChildOrderCoupon filtered by the description column

Parameters

string $description

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByStartDate( string $start_date)

Return the first ChildOrderCoupon filtered by the start_date column

Parameters

string $start_date

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByExpirationDate( string $expiration_date)

Return the first ChildOrderCoupon filtered by the expiration_date column

Parameters

string $expiration_date

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByIsCumulative( boolean $is_cumulative)

Return the first ChildOrderCoupon filtered by the is_cumulative column

Parameters

boolean $is_cumulative

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByIsRemovingPostage( boolean $is_removing_postage)

Return the first ChildOrderCoupon filtered by the isremovingpostage column

Parameters

boolean $is_removing_postage

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByIsAvailableOnSpecialOffers( boolean $is_available_on_special_offers)

Return the first ChildOrderCoupon filtered by the isavailableonspecialoffers column

Parameters

boolean $is_available_on_special_offers

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneBySerializedConditions( string $serialized_conditions)

Return the first ChildOrderCoupon filtered by the serialized_conditions column

Parameters

string $serialized_conditions

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByPerCustomerUsageCount( boolean $per_customer_usage_count)

Return the first ChildOrderCoupon filtered by the percustomerusage_count column

Parameters

boolean $per_customer_usage_count

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByCreatedAt( string $created_at)

Return the first ChildOrderCoupon filtered by the created_at column

Parameters

string $created_at

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
ChildOrderCoupon findOneByUpdatedAt( string $updated_at)

Return the first ChildOrderCoupon filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildOrderCoupon

in OrderCouponQuery at line 116
array findById( int $id)

Return ChildOrderCoupon objects filtered by the id column

Parameters

int $id

Return Value

array

in OrderCouponQuery at line 116
array findByOrderId( int $order_id)

Return ChildOrderCoupon objects filtered by the order_id column

Parameters

int $order_id

Return Value

array

in OrderCouponQuery at line 116
array findByCode( string $code)

Return ChildOrderCoupon objects filtered by the code column

Parameters

string $code

Return Value

array

in OrderCouponQuery at line 116
array findByType( string $type)

Return ChildOrderCoupon objects filtered by the type column

Parameters

string $type

Return Value

array

in OrderCouponQuery at line 116
array findByAmount( string $amount)

Return ChildOrderCoupon objects filtered by the amount column

Parameters

string $amount

Return Value

array

in OrderCouponQuery at line 116
array findByTitle( string $title)

Return ChildOrderCoupon objects filtered by the title column

Parameters

string $title

Return Value

array

in OrderCouponQuery at line 116
array findByShortDescription( string $short_description)

Return ChildOrderCoupon objects filtered by the short_description column

Parameters

string $short_description

Return Value

array

in OrderCouponQuery at line 116
array findByDescription( string $description)

Return ChildOrderCoupon objects filtered by the description column

Parameters

string $description

Return Value

array

in OrderCouponQuery at line 116
array findByStartDate( string $start_date)

Return ChildOrderCoupon objects filtered by the start_date column

Parameters

string $start_date

Return Value

array

in OrderCouponQuery at line 116
array findByExpirationDate( string $expiration_date)

Return ChildOrderCoupon objects filtered by the expiration_date column

Parameters

string $expiration_date

Return Value

array

in OrderCouponQuery at line 116
array findByIsCumulative( boolean $is_cumulative)

Return ChildOrderCoupon objects filtered by the is_cumulative column

Parameters

boolean $is_cumulative

Return Value

array

in OrderCouponQuery at line 116
array findByIsRemovingPostage( boolean $is_removing_postage)

Return ChildOrderCoupon objects filtered by the isremovingpostage column

Parameters

boolean $is_removing_postage

Return Value

array

in OrderCouponQuery at line 116
array findByIsAvailableOnSpecialOffers( boolean $is_available_on_special_offers)

Return ChildOrderCoupon objects filtered by the isavailableonspecialoffers column

Parameters

boolean $is_available_on_special_offers

Return Value

array

in OrderCouponQuery at line 116
array findBySerializedConditions( string $serialized_conditions)

Return ChildOrderCoupon objects filtered by the serialized_conditions column

Parameters

string $serialized_conditions

Return Value

array

in OrderCouponQuery at line 116
array findByPerCustomerUsageCount( boolean $per_customer_usage_count)

Return ChildOrderCoupon objects filtered by the percustomerusage_count column

Parameters

boolean $per_customer_usage_count

Return Value

array

in OrderCouponQuery at line 116
array findByCreatedAt( string $created_at)

Return ChildOrderCoupon objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in OrderCouponQuery at line 116
array findByUpdatedAt( string $updated_at)

Return ChildOrderCoupon objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array