CouponQuery
class CouponQuery extends ModelCriteria
Base class that represents a query for the 'coupon' table.
Properties
static | $isVersioningEnabled | Whether the versioning is enabled |
Methods
Initializes internal state of \Thelia\Model\Base\CouponQuery object.
Returns a new ChildCouponQuery object.
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Filter the query by primary key
Filter the query by a list of primary keys
Filter the query on the id column
Filter the query on the code column
Filter the query on the type column
Filter the query on the serialized_effects column
Filter the query on the is_enabled column
Filter the query on the start_date column
Filter the query on the expiration_date column
Filter the query on the max_usage column
Filter the query on the is_cumulative column
Filter the query on the isremovingpostage column
Filter the query on the isavailableonspecialoffers column
Filter the query on the is_used column
Filter the query on the serialized_conditions column
Filter the query on the percustomerusage_count column
Filter the query on the created_at column
Filter the query on the updated_at column
Filter the query on the version column
Filter the query on the versioncreatedat column
Filter the query on the versioncreatedby column
Filter the query by a related \Thelia\Model\CouponCountry object
Adds a JOIN clause to the query using the CouponCountry relation
Use the CouponCountry relation CouponCountry object
Filter the query by a related \Thelia\Model\CouponModule object
Adds a JOIN clause to the query using the CouponModule relation
Use the CouponModule relation CouponModule object
Filter the query by a related \Thelia\Model\CouponCustomerCount object
Adds a JOIN clause to the query using the CouponCustomerCount relation
Use the CouponCustomerCount relation CouponCustomerCount object
Filter the query by a related \Thelia\Model\CouponI18n object
Adds a JOIN clause to the query using the CouponI18n relation
Use the CouponI18n relation CouponI18n object
Filter the query by a related \Thelia\Model\CouponVersion object
Adds a JOIN clause to the query using the CouponVersion relation
Use the CouponVersion relation CouponVersion object
Filter the query by a related Country object using the coupon_country table as cross reference
Filter the query by a related Module object using the coupon_module table as cross reference
Filter the query by a related Customer object using the couponcustomercount table as cross reference
Deletes all rows from the coupon table.
Performs a DELETE on the database, given a ChildCoupon or Criteria object OR a primary key value.
Filter by the latest updated
Filter by the latest created
Order by update date desc
Order by update date asc
Order by create date desc
Order by create date asc
Adds a JOIN clause to the query using the i18n relation
Adds a JOIN clause to the query and hydrates the related I18n object.
Use the I18n relation query object
Checks whether versioning is enabled
Enables versioning
Disables versioning
Order by the id column
Order by the code column
Order by the type column
Order by the serialized_effects column
Order by the is_enabled column
Order by the start_date column
Order by the expiration_date column
Order by the max_usage column
Order by the is_cumulative column
Order by the isremovingpostage column
Order by the isavailableonspecialoffers column
Order by the is_used column
Order by the serialized_conditions column
Order by the percustomerusage_count column
Order by the created_at column
Order by the updated_at column
Order by the version column
Order by the versioncreatedat column
Order by the versioncreatedby column
Group by the id column
Group by the code column
Group by the type column
Group by the serialized_effects column
Group by the is_enabled column
Group by the start_date column
Group by the expiration_date column
Group by the max_usage column
Group by the is_cumulative column
Group by the isremovingpostage column
Group by the isavailableonspecialoffers column
Group by the is_used column
Group by the serialized_conditions column
Group by the percustomerusage_count column
Group by the created_at column
Group by the updated_at column
Group by the version column
Group by the versioncreatedat column
Group by the versioncreatedby column
Adds a LEFT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Adds a INNER JOIN clause to the query
Adds a LEFT JOIN clause to the query using the CouponCountry relation
Adds a RIGHT JOIN clause to the query using the CouponCountry relation
Adds a INNER JOIN clause to the query using the CouponCountry relation
Adds a LEFT JOIN clause to the query using the CouponModule relation
Adds a RIGHT JOIN clause to the query using the CouponModule relation
Adds a INNER JOIN clause to the query using the CouponModule relation
Adds a LEFT JOIN clause to the query using the CouponCustomerCount relation
Adds a RIGHT JOIN clause to the query using the CouponCustomerCount relation
Adds a INNER JOIN clause to the query using the CouponCustomerCount relation
Adds a LEFT JOIN clause to the query using the CouponI18n relation
Adds a RIGHT JOIN clause to the query using the CouponI18n relation
Adds a INNER JOIN clause to the query using the CouponI18n relation
Adds a LEFT JOIN clause to the query using the CouponVersion relation
Adds a RIGHT JOIN clause to the query using the CouponVersion relation
Adds a INNER JOIN clause to the query using the CouponVersion relation
Return the first ChildCoupon matching the query
Return the first ChildCoupon matching the query, or a new ChildCoupon object populated from the query conditions when no match is found
Return the first ChildCoupon filtered by the id column
Return the first ChildCoupon filtered by the code column
Return the first ChildCoupon filtered by the type column
Return the first ChildCoupon filtered by the serialized_effects column
Return the first ChildCoupon filtered by the is_enabled column
Return the first ChildCoupon filtered by the start_date column
Return the first ChildCoupon filtered by the expiration_date column
Return the first ChildCoupon filtered by the max_usage column
Return the first ChildCoupon filtered by the is_cumulative column
Return the first ChildCoupon filtered by the isremovingpostage column
Return the first ChildCoupon filtered by the isavailableonspecialoffers column
Return the first ChildCoupon filtered by the is_used column
Return the first ChildCoupon filtered by the serialized_conditions column
Return the first ChildCoupon filtered by the percustomerusage_count column
Return the first ChildCoupon filtered by the created_at column
Return the first ChildCoupon filtered by the updated_at column
Return the first ChildCoupon filtered by the version column
Return the first ChildCoupon filtered by the versioncreatedat column
Return the first ChildCoupon filtered by the versioncreatedby column
Return ChildCoupon objects filtered by the id column
Return ChildCoupon objects filtered by the code column
Return ChildCoupon objects filtered by the type column
Return ChildCoupon objects filtered by the serialized_effects column
Return ChildCoupon objects filtered by the is_enabled column
Return ChildCoupon objects filtered by the start_date column
Return ChildCoupon objects filtered by the expiration_date column
Return ChildCoupon objects filtered by the max_usage column
Return ChildCoupon objects filtered by the is_cumulative column
Return ChildCoupon objects filtered by the isremovingpostage column
Return ChildCoupon objects filtered by the isavailableonspecialoffers column
Return ChildCoupon objects filtered by the is_used column
Return ChildCoupon objects filtered by the serialized_conditions column
Return ChildCoupon objects filtered by the percustomerusage_count column
Return ChildCoupon objects filtered by the created_at column
Return ChildCoupon objects filtered by the updated_at column
Return ChildCoupon objects filtered by the version column
Return ChildCoupon objects filtered by the versioncreatedat column
Return ChildCoupon objects filtered by the versioncreatedby column
Details
at line 150
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\Coupon',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\CouponQuery object.
at line 163
static
CouponQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildCouponQuery object.
at line 193
Coupon|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);
at line 275
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 296
CouponQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 309
CouponQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 333
CouponQuery
filterById(
mixed $id = null,
string $comparison = null)
Filter the query on the id column
Example usage:
$query->filterById(1234); // WHERE id = 1234
$query->filterById(array(12, 34)); // WHERE id IN (12, 34)
$query->filterById(array('min' => 12)); // WHERE id > 12
at line 371
CouponQuery
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%'
at line 400
CouponQuery
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%'
at line 429
CouponQuery
filterBySerializedEffects(
string $serializedEffects = null,
string $comparison = null)
Filter the query on the serialized_effects column
Example usage:
$query->filterBySerializedEffects('fooValue'); // WHERE serializedeffects = 'fooValue'
$query->filterBySerializedEffects('%fooValue%'); // WHERE serializedeffects LIKE '%fooValue%'
at line 461
CouponQuery
filterByIsEnabled(
boolean|string $isEnabled = null,
string $comparison = null)
Filter the query on the is_enabled column
Example usage:
$query->filterByIsEnabled(true); // WHERE isenabled = true
$query->filterByIsEnabled('yes'); // WHERE isenabled = true
at line 490
CouponQuery
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'
at line 533
CouponQuery
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'
at line 574
CouponQuery
filterByMaxUsage(
mixed $maxUsage = null,
string $comparison = null)
Filter the query on the max_usage column
Example usage:
$query->filterByMaxUsage(1234); // WHERE maxusage = 1234
$query->filterByMaxUsage(array(12, 34)); // WHERE maxusage IN (12, 34)
$query->filterByMaxUsage(array('min' => 12)); // WHERE max_usage > 12
at line 615
CouponQuery
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
at line 642
CouponQuery
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
at line 669
CouponQuery
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
at line 696
CouponQuery
filterByIsUsed(
boolean|string $isUsed = null,
string $comparison = null)
Filter the query on the is_used column
Example usage:
$query->filterByIsUsed(true); // WHERE isused = true
$query->filterByIsUsed('yes'); // WHERE isused = true
at line 720
CouponQuery
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%'
at line 752
CouponQuery
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
at line 781
CouponQuery
filterByCreatedAt(
mixed $createdAt = null,
string $comparison = null)
Filter the query on the created_at column
Example usage:
$query->filterByCreatedAt('2011-03-14'); // WHERE createdat = '2011-03-14'
$query->filterByCreatedAt('now'); // WHERE createdat = '2011-03-14'
$query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at > '2011-03-13'
at line 824
CouponQuery
filterByUpdatedAt(
mixed $updatedAt = null,
string $comparison = null)
Filter the query on the updated_at column
Example usage:
$query->filterByUpdatedAt('2011-03-14'); // WHERE updatedat = '2011-03-14'
$query->filterByUpdatedAt('now'); // WHERE updatedat = '2011-03-14'
$query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'
at line 865
CouponQuery
filterByVersion(
mixed $version = null,
string $comparison = null)
Filter the query on the version column
Example usage:
$query->filterByVersion(1234); // WHERE version = 1234
$query->filterByVersion(array(12, 34)); // WHERE version IN (12, 34)
$query->filterByVersion(array('min' => 12)); // WHERE version > 12
at line 908
CouponQuery
filterByVersionCreatedAt(
mixed $versionCreatedAt = null,
string $comparison = null)
Filter the query on the versioncreatedat column
Example usage:
$query->filterByVersionCreatedAt('2011-03-14'); // WHERE versioncreatedat = '2011-03-14'
$query->filterByVersionCreatedAt('now'); // WHERE versioncreatedat = '2011-03-14'
$query->filterByVersionCreatedAt(array('max' => 'yesterday')); // WHERE versioncreatedat > '2011-03-13'
at line 946
CouponQuery
filterByVersionCreatedBy(
string $versionCreatedBy = null,
string $comparison = null)
Filter the query on the versioncreatedby column
Example usage:
$query->filterByVersionCreatedBy('fooValue'); // WHERE versioncreatedby = 'fooValue'
$query->filterByVersionCreatedBy('%fooValue%'); // WHERE versioncreatedby LIKE '%fooValue%'
at line 968
CouponQuery
filterByCouponCountry(
CouponCountry|ObjectCollection $couponCountry,
string $comparison = null)
Filter the query by a related \Thelia\Model\CouponCountry object
at line 991
CouponQuery
joinCouponCountry(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the CouponCountry relation
at line 1026
CouponCountryQuery
useCouponCountryQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the CouponCountry relation CouponCountry object
at line 1041
CouponQuery
filterByCouponModule(
CouponModule|ObjectCollection $couponModule,
string $comparison = null)
Filter the query by a related \Thelia\Model\CouponModule object
at line 1064
CouponQuery
joinCouponModule(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the CouponModule relation
at line 1099
CouponModuleQuery
useCouponModuleQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the CouponModule relation CouponModule object
at line 1114
CouponQuery
filterByCouponCustomerCount(
CouponCustomerCount|ObjectCollection $couponCustomerCount,
string $comparison = null)
Filter the query by a related \Thelia\Model\CouponCustomerCount object
at line 1137
CouponQuery
joinCouponCustomerCount(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the CouponCustomerCount relation
at line 1172
CouponCustomerCountQuery
useCouponCustomerCountQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the CouponCustomerCount relation CouponCustomerCount object
at line 1187
CouponQuery
filterByCouponI18n(
CouponI18n|ObjectCollection $couponI18n,
string $comparison = null)
Filter the query by a related \Thelia\Model\CouponI18n object
at line 1210
CouponQuery
joinCouponI18n(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Adds a JOIN clause to the query using the CouponI18n relation
at line 1245
CouponI18nQuery
useCouponI18nQuery(
string $relationAlias = null,
string $joinType = 'LEFT JOIN')
Use the CouponI18n relation CouponI18n object
at line 1260
CouponQuery
filterByCouponVersion(
CouponVersion|ObjectCollection $couponVersion,
string $comparison = null)
Filter the query by a related \Thelia\Model\CouponVersion object
at line 1283
CouponQuery
joinCouponVersion(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the CouponVersion relation
at line 1318
CouponVersionQuery
useCouponVersionQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the CouponVersion relation CouponVersion object
at line 1334
CouponQuery
filterByCountry(
Country $country,
string $comparison = Criteria::EQUAL)
Filter the query by a related Country object using the coupon_country table as cross reference
at line 1351
CouponQuery
filterByModule(
Module $module,
string $comparison = Criteria::EQUAL)
Filter the query by a related Module object using the coupon_module table as cross reference
at line 1368
CouponQuery
filterByCustomer(
Customer $customer,
string $comparison = Criteria::EQUAL)
Filter the query by a related Customer object using the couponcustomercount table as cross reference
at line 1383
CouponQuery
prune(
Coupon $coupon = null)
Exclude object from result
at line 1398
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the coupon table.
at line 1435
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildCoupon or Criteria object OR a primary key value.
at line 1476
CouponQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 1488
CouponQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 1498
CouponQuery
lastUpdatedFirst()
Order by update date desc
at line 1508
CouponQuery
firstUpdatedFirst()
Order by update date asc
at line 1518
CouponQuery
lastCreatedFirst()
Order by create date desc
at line 1528
CouponQuery
firstCreatedFirst()
Order by create date asc
at line 1544
CouponQuery
joinI18n(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Adds a JOIN clause to the query using the i18n relation
at line 1562
CouponQuery
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()
at line 1583
CouponI18nQuery
useI18nQuery(
string $locale = 'en_US',
string $relationAlias = null,
string $joinType = Criteria::LEFT_JOIN)
Use the I18n relation query object
at line 1597
static
boolean
isVersioningEnabled()
Checks whether versioning is enabled
at line 1605
static
enableVersioning()
Enables versioning
at line 1613
static
disableVersioning()
Disables versioning
at line 133
ChildCouponQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 133
ChildCouponQuery
orderByCode($order = Criteria::ASC)
Order by the code column
at line 133
ChildCouponQuery
orderByType($order = Criteria::ASC)
Order by the type column
at line 133
ChildCouponQuery
orderBySerializedEffects($order = Criteria::ASC)
Order by the serialized_effects column
at line 133
ChildCouponQuery
orderByIsEnabled($order = Criteria::ASC)
Order by the is_enabled column
at line 133
ChildCouponQuery
orderByStartDate($order = Criteria::ASC)
Order by the start_date column
at line 133
ChildCouponQuery
orderByExpirationDate($order = Criteria::ASC)
Order by the expiration_date column
at line 133
ChildCouponQuery
orderByMaxUsage($order = Criteria::ASC)
Order by the max_usage column
at line 133
ChildCouponQuery
orderByIsCumulative($order = Criteria::ASC)
Order by the is_cumulative column
at line 133
ChildCouponQuery
orderByIsRemovingPostage($order = Criteria::ASC)
Order by the isremovingpostage column
at line 133
ChildCouponQuery
orderByIsAvailableOnSpecialOffers($order = Criteria::ASC)
Order by the isavailableonspecialoffers column
at line 133
ChildCouponQuery
orderByIsUsed($order = Criteria::ASC)
Order by the is_used column
at line 133
ChildCouponQuery
orderBySerializedConditions($order = Criteria::ASC)
Order by the serialized_conditions column
at line 133
ChildCouponQuery
orderByPerCustomerUsageCount($order = Criteria::ASC)
Order by the percustomerusage_count column
at line 133
ChildCouponQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 133
ChildCouponQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 133
ChildCouponQuery
orderByVersion($order = Criteria::ASC)
Order by the version column
at line 133
ChildCouponQuery
orderByVersionCreatedAt($order = Criteria::ASC)
Order by the versioncreatedat column
at line 133
ChildCouponQuery
orderByVersionCreatedBy($order = Criteria::ASC)
Order by the versioncreatedby column
at line 133
ChildCouponQuery
groupById()
Group by the id column
at line 133
ChildCouponQuery
groupByCode()
Group by the code column
at line 133
ChildCouponQuery
groupByType()
Group by the type column
at line 133
ChildCouponQuery
groupBySerializedEffects()
Group by the serialized_effects column
at line 133
ChildCouponQuery
groupByIsEnabled()
Group by the is_enabled column
at line 133
ChildCouponQuery
groupByStartDate()
Group by the start_date column
at line 133
ChildCouponQuery
groupByExpirationDate()
Group by the expiration_date column
at line 133
ChildCouponQuery
groupByMaxUsage()
Group by the max_usage column
at line 133
ChildCouponQuery
groupByIsCumulative()
Group by the is_cumulative column
at line 133
ChildCouponQuery
groupByIsRemovingPostage()
Group by the isremovingpostage column
at line 133
ChildCouponQuery
groupByIsAvailableOnSpecialOffers()
Group by the isavailableonspecialoffers column
at line 133
ChildCouponQuery
groupByIsUsed()
Group by the is_used column
at line 133
ChildCouponQuery
groupBySerializedConditions()
Group by the serialized_conditions column
at line 133
ChildCouponQuery
groupByPerCustomerUsageCount()
Group by the percustomerusage_count column
at line 133
ChildCouponQuery
groupByCreatedAt()
Group by the created_at column
at line 133
ChildCouponQuery
groupByUpdatedAt()
Group by the updated_at column
at line 133
ChildCouponQuery
groupByVersion()
Group by the version column
at line 133
ChildCouponQuery
groupByVersionCreatedAt()
Group by the versioncreatedat column
at line 133
ChildCouponQuery
groupByVersionCreatedBy()
Group by the versioncreatedby column
at line 133
ChildCouponQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 133
ChildCouponQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 133
ChildCouponQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 133
ChildCouponQuery
leftJoinCouponCountry($relationAlias = null)
Adds a LEFT JOIN clause to the query using the CouponCountry relation
at line 133
ChildCouponQuery
rightJoinCouponCountry($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the CouponCountry relation
at line 133
ChildCouponQuery
innerJoinCouponCountry($relationAlias = null)
Adds a INNER JOIN clause to the query using the CouponCountry relation
at line 133
ChildCouponQuery
leftJoinCouponModule($relationAlias = null)
Adds a LEFT JOIN clause to the query using the CouponModule relation
at line 133
ChildCouponQuery
rightJoinCouponModule($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the CouponModule relation
at line 133
ChildCouponQuery
innerJoinCouponModule($relationAlias = null)
Adds a INNER JOIN clause to the query using the CouponModule relation
at line 133
ChildCouponQuery
leftJoinCouponCustomerCount($relationAlias = null)
Adds a LEFT JOIN clause to the query using the CouponCustomerCount relation
at line 133
ChildCouponQuery
rightJoinCouponCustomerCount($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the CouponCustomerCount relation
at line 133
ChildCouponQuery
innerJoinCouponCustomerCount($relationAlias = null)
Adds a INNER JOIN clause to the query using the CouponCustomerCount relation
at line 133
ChildCouponQuery
leftJoinCouponI18n($relationAlias = null)
Adds a LEFT JOIN clause to the query using the CouponI18n relation
at line 133
ChildCouponQuery
rightJoinCouponI18n($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the CouponI18n relation
at line 133
ChildCouponQuery
innerJoinCouponI18n($relationAlias = null)
Adds a INNER JOIN clause to the query using the CouponI18n relation
at line 133
ChildCouponQuery
leftJoinCouponVersion($relationAlias = null)
Adds a LEFT JOIN clause to the query using the CouponVersion relation
at line 133
ChildCouponQuery
rightJoinCouponVersion($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the CouponVersion relation
at line 133
ChildCouponQuery
innerJoinCouponVersion($relationAlias = null)
Adds a INNER JOIN clause to the query using the CouponVersion relation
at line 133
ChildCoupon
findOne(
ConnectionInterface $con = null)
Return the first ChildCoupon matching the query
at line 133
ChildCoupon
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildCoupon matching the query, or a new ChildCoupon object populated from the query conditions when no match is found
at line 133
ChildCoupon
findOneById(
int $id)
Return the first ChildCoupon filtered by the id column
at line 133
ChildCoupon
findOneByCode(
string $code)
Return the first ChildCoupon filtered by the code column
at line 133
ChildCoupon
findOneByType(
string $type)
Return the first ChildCoupon filtered by the type column
at line 133
ChildCoupon
findOneBySerializedEffects(
string $serialized_effects)
Return the first ChildCoupon filtered by the serialized_effects column
at line 133
ChildCoupon
findOneByIsEnabled(
boolean $is_enabled)
Return the first ChildCoupon filtered by the is_enabled column
at line 133
ChildCoupon
findOneByStartDate(
string $start_date)
Return the first ChildCoupon filtered by the start_date column
at line 133
ChildCoupon
findOneByExpirationDate(
string $expiration_date)
Return the first ChildCoupon filtered by the expiration_date column
at line 133
ChildCoupon
findOneByMaxUsage(
int $max_usage)
Return the first ChildCoupon filtered by the max_usage column
at line 133
ChildCoupon
findOneByIsCumulative(
boolean $is_cumulative)
Return the first ChildCoupon filtered by the is_cumulative column
at line 133
ChildCoupon
findOneByIsRemovingPostage(
boolean $is_removing_postage)
Return the first ChildCoupon filtered by the isremovingpostage column
at line 133
ChildCoupon
findOneByIsAvailableOnSpecialOffers(
boolean $is_available_on_special_offers)
Return the first ChildCoupon filtered by the isavailableonspecialoffers column
at line 133
ChildCoupon
findOneByIsUsed(
boolean $is_used)
Return the first ChildCoupon filtered by the is_used column
at line 133
ChildCoupon
findOneBySerializedConditions(
string $serialized_conditions)
Return the first ChildCoupon filtered by the serialized_conditions column
at line 133
ChildCoupon
findOneByPerCustomerUsageCount(
boolean $per_customer_usage_count)
Return the first ChildCoupon filtered by the percustomerusage_count column
at line 133
ChildCoupon
findOneByCreatedAt(
string $created_at)
Return the first ChildCoupon filtered by the created_at column
at line 133
ChildCoupon
findOneByUpdatedAt(
string $updated_at)
Return the first ChildCoupon filtered by the updated_at column
at line 133
ChildCoupon
findOneByVersion(
int $version)
Return the first ChildCoupon filtered by the version column
at line 133
ChildCoupon
findOneByVersionCreatedAt(
string $version_created_at)
Return the first ChildCoupon filtered by the versioncreatedat column
at line 133
ChildCoupon
findOneByVersionCreatedBy(
string $version_created_by)
Return the first ChildCoupon filtered by the versioncreatedby column
at line 133
array
findById(
int $id)
Return ChildCoupon objects filtered by the id column
at line 133
array
findByCode(
string $code)
Return ChildCoupon objects filtered by the code column
at line 133
array
findByType(
string $type)
Return ChildCoupon objects filtered by the type column
at line 133
array
findBySerializedEffects(
string $serialized_effects)
Return ChildCoupon objects filtered by the serialized_effects column
at line 133
array
findByIsEnabled(
boolean $is_enabled)
Return ChildCoupon objects filtered by the is_enabled column
at line 133
array
findByStartDate(
string $start_date)
Return ChildCoupon objects filtered by the start_date column
at line 133
array
findByExpirationDate(
string $expiration_date)
Return ChildCoupon objects filtered by the expiration_date column
at line 133
array
findByMaxUsage(
int $max_usage)
Return ChildCoupon objects filtered by the max_usage column
at line 133
array
findByIsCumulative(
boolean $is_cumulative)
Return ChildCoupon objects filtered by the is_cumulative column
at line 133
array
findByIsRemovingPostage(
boolean $is_removing_postage)
Return ChildCoupon objects filtered by the isremovingpostage column
at line 133
array
findByIsAvailableOnSpecialOffers(
boolean $is_available_on_special_offers)
Return ChildCoupon objects filtered by the isavailableonspecialoffers column
at line 133
array
findByIsUsed(
boolean $is_used)
Return ChildCoupon objects filtered by the is_used column
at line 133
array
findBySerializedConditions(
string $serialized_conditions)
Return ChildCoupon objects filtered by the serialized_conditions column
at line 133
array
findByPerCustomerUsageCount(
boolean $per_customer_usage_count)
Return ChildCoupon objects filtered by the percustomerusage_count column
at line 133
array
findByCreatedAt(
string $created_at)
Return ChildCoupon objects filtered by the created_at column
at line 133
array
findByUpdatedAt(
string $updated_at)
Return ChildCoupon objects filtered by the updated_at column
at line 133
array
findByVersion(
int $version)
Return ChildCoupon objects filtered by the version column
at line 133
array
findByVersionCreatedAt(
string $version_created_at)
Return ChildCoupon objects filtered by the versioncreatedat column
at line 133
array
findByVersionCreatedBy(
string $version_created_by)
Return ChildCoupon objects filtered by the versioncreatedby column