OrderQuery
class OrderQuery extends ModelCriteria
Base class that represents a query for the 'order' table.
Properties
static | $isVersioningEnabled | Whether the versioning is enabled |
Methods
Initializes internal state of \Thelia\Model\Base\OrderQuery object.
Returns a new ChildOrderQuery 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 ref column
Filter the query on the customer_id column
Filter the query on the invoiceorderaddress_id column
Filter the query on the deliveryorderaddress_id column
Filter the query on the invoice_date column
Filter the query on the currency_id column
Filter the query on the currency_rate column
Filter the query on the transaction_ref column
Filter the query on the delivery_ref column
Filter the query on the invoice_ref column
Filter the query on the discount column
Filter the query on the postage column
Filter the query on the postage_tax column
Filter the query on the postagetaxrule_title column
Filter the query on the paymentmoduleid column
Filter the query on the deliverymoduleid column
Filter the query on the status_id column
Filter the query on the lang_id column
Filter the query on the cart_id 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\Currency object
Adds a JOIN clause to the query using the Currency relation
Use the Currency relation Currency object
Filter the query by a related \Thelia\Model\Customer object
Adds a JOIN clause to the query using the Customer relation
Use the Customer relation Customer object
Filter the query by a related \Thelia\Model\OrderAddress object
Adds a JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation
Use the OrderAddressRelatedByInvoiceOrderAddressId relation OrderAddress object
Filter the query by a related \Thelia\Model\OrderAddress object
Adds a JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation
Use the OrderAddressRelatedByDeliveryOrderAddressId relation OrderAddress object
Filter the query by a related \Thelia\Model\OrderStatus object
Adds a JOIN clause to the query using the OrderStatus relation
Use the OrderStatus relation OrderStatus object
Filter the query by a related \Thelia\Model\Module object
Adds a JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation
Use the ModuleRelatedByPaymentModuleId relation Module object
Filter the query by a related \Thelia\Model\Module object
Adds a JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation
Use the ModuleRelatedByDeliveryModuleId relation Module object
Filter the query by a related \Thelia\Model\Lang object
Adds a JOIN clause to the query using the Lang relation
Use the Lang relation Lang object
Filter the query by a related \Thelia\Model\OrderProduct object
Adds a JOIN clause to the query using the OrderProduct relation
Use the OrderProduct relation OrderProduct object
Filter the query by a related \Thelia\Model\OrderCoupon object
Adds a JOIN clause to the query using the OrderCoupon relation
Use the OrderCoupon relation OrderCoupon object
Filter the query by a related \Thelia\Model\OrderVersion object
Adds a JOIN clause to the query using the OrderVersion relation
Use the OrderVersion relation OrderVersion object
Deletes all rows from the order table.
Performs a DELETE on the database, given a ChildOrder 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
Checks whether versioning is enabled
Enables versioning
Disables versioning
Order by the id column
Order by the ref column
Order by the customer_id column
Order by the invoiceorderaddress_id column
Order by the deliveryorderaddress_id column
Order by the invoice_date column
Order by the currency_id column
Order by the currency_rate column
Order by the transaction_ref column
Order by the delivery_ref column
Order by the invoice_ref column
Order by the discount column
Order by the postage column
Order by the postage_tax column
Order by the postagetaxrule_title column
Order by the paymentmoduleid column
Order by the deliverymoduleid column
Order by the status_id column
Order by the lang_id column
Order by the cart_id 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 ref column
Group by the customer_id column
Group by the invoiceorderaddress_id column
Group by the deliveryorderaddress_id column
Group by the invoice_date column
Group by the currency_id column
Group by the currency_rate column
Group by the transaction_ref column
Group by the delivery_ref column
Group by the invoice_ref column
Group by the discount column
Group by the postage column
Group by the postage_tax column
Group by the postagetaxrule_title column
Group by the paymentmoduleid column
Group by the deliverymoduleid column
Group by the status_id column
Group by the lang_id column
Group by the cart_id 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 Currency relation
Adds a RIGHT JOIN clause to the query using the Currency relation
Adds a INNER JOIN clause to the query using the Currency relation
Adds a LEFT JOIN clause to the query using the Customer relation
Adds a RIGHT JOIN clause to the query using the Customer relation
Adds a INNER JOIN clause to the query using the Customer relation
Adds a LEFT JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation
Adds a RIGHT JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation
Adds a INNER JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation
Adds a LEFT JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation
Adds a RIGHT JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation
Adds a INNER JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation
Adds a LEFT JOIN clause to the query using the OrderStatus relation
Adds a RIGHT JOIN clause to the query using the OrderStatus relation
Adds a INNER JOIN clause to the query using the OrderStatus relation
Adds a LEFT JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation
Adds a RIGHT JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation
Adds a INNER JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation
Adds a LEFT JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation
Adds a RIGHT JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation
Adds a INNER JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation
Adds a LEFT JOIN clause to the query using the Lang relation
Adds a RIGHT JOIN clause to the query using the Lang relation
Adds a INNER JOIN clause to the query using the Lang relation
Adds a LEFT JOIN clause to the query using the OrderProduct relation
Adds a RIGHT JOIN clause to the query using the OrderProduct relation
Adds a INNER JOIN clause to the query using the OrderProduct relation
Adds a LEFT JOIN clause to the query using the OrderCoupon relation
Adds a RIGHT JOIN clause to the query using the OrderCoupon relation
Adds a INNER JOIN clause to the query using the OrderCoupon relation
Adds a LEFT JOIN clause to the query using the OrderVersion relation
Adds a RIGHT JOIN clause to the query using the OrderVersion relation
Adds a INNER JOIN clause to the query using the OrderVersion relation
Return the first ChildOrder matching the query
Return the first ChildOrder matching the query, or a new ChildOrder object populated from the query conditions when no match is found
Return the first ChildOrder filtered by the id column
Return the first ChildOrder filtered by the ref column
Return the first ChildOrder filtered by the customer_id column
Return the first ChildOrder filtered by the invoiceorderaddress_id column
Return the first ChildOrder filtered by the deliveryorderaddress_id column
Return the first ChildOrder filtered by the invoice_date column
Return the first ChildOrder filtered by the currency_id column
Return the first ChildOrder filtered by the currency_rate column
Return the first ChildOrder filtered by the transaction_ref column
Return the first ChildOrder filtered by the delivery_ref column
Return the first ChildOrder filtered by the invoice_ref column
Return the first ChildOrder filtered by the discount column
Return the first ChildOrder filtered by the postage column
Return the first ChildOrder filtered by the postage_tax column
Return the first ChildOrder filtered by the postagetaxrule_title column
Return the first ChildOrder filtered by the paymentmoduleid column
Return the first ChildOrder filtered by the deliverymoduleid column
Return the first ChildOrder filtered by the status_id column
Return the first ChildOrder filtered by the lang_id column
Return the first ChildOrder filtered by the cart_id column
Return the first ChildOrder filtered by the created_at column
Return the first ChildOrder filtered by the updated_at column
Return the first ChildOrder filtered by the version column
Return the first ChildOrder filtered by the versioncreatedat column
Return the first ChildOrder filtered by the versioncreatedby column
Return ChildOrder objects filtered by the id column
Return ChildOrder objects filtered by the ref column
Return ChildOrder objects filtered by the customer_id column
Return ChildOrder objects filtered by the invoiceorderaddress_id column
Return ChildOrder objects filtered by the deliveryorderaddress_id column
Return ChildOrder objects filtered by the invoice_date column
Return ChildOrder objects filtered by the currency_id column
Return ChildOrder objects filtered by the currency_rate column
Return ChildOrder objects filtered by the transaction_ref column
Return ChildOrder objects filtered by the delivery_ref column
Return ChildOrder objects filtered by the invoice_ref column
Return ChildOrder objects filtered by the discount column
Return ChildOrder objects filtered by the postage column
Return ChildOrder objects filtered by the postage_tax column
Return ChildOrder objects filtered by the postagetaxrule_title column
Return ChildOrder objects filtered by the paymentmoduleid column
Return ChildOrder objects filtered by the deliverymoduleid column
Return ChildOrder objects filtered by the status_id column
Return ChildOrder objects filtered by the lang_id column
Return ChildOrder objects filtered by the cart_id column
Return ChildOrder objects filtered by the created_at column
Return ChildOrder objects filtered by the updated_at column
Return ChildOrder objects filtered by the version column
Return ChildOrder objects filtered by the versioncreatedat column
Return ChildOrder objects filtered by the versioncreatedby column
Details
at line 197
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\Order',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\OrderQuery object.
at line 210
static
OrderQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildOrderQuery object.
at line 240
Order|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 322
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 343
OrderQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 356
OrderQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 380
OrderQuery
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 418
OrderQuery
filterByRef(
string $ref = null,
string $comparison = null)
Filter the query on the ref column
Example usage:
$query->filterByRef('fooValue'); // WHERE ref = 'fooValue'
$query->filterByRef('%fooValue%'); // WHERE ref LIKE '%fooValue%'
at line 452
OrderQuery
filterByCustomerId(
mixed $customerId = null,
string $comparison = null)
Filter the query on the customer_id column
Example usage:
$query->filterByCustomerId(1234); // WHERE customerid = 1234
$query->filterByCustomerId(array(12, 34)); // WHERE customerid IN (12, 34)
$query->filterByCustomerId(array('min' => 12)); // WHERE customer_id > 12
at line 495
OrderQuery
filterByInvoiceOrderAddressId(
mixed $invoiceOrderAddressId = null,
string $comparison = null)
Filter the query on the invoiceorderaddress_id column
Example usage:
$query->filterByInvoiceOrderAddressId(1234); // WHERE invoiceorderaddressid = 1234
$query->filterByInvoiceOrderAddressId(array(12, 34)); // WHERE invoiceorderaddressid IN (12, 34)
$query->filterByInvoiceOrderAddressId(array('min' => 12)); // WHERE invoiceorderaddress_id > 12
at line 538
OrderQuery
filterByDeliveryOrderAddressId(
mixed $deliveryOrderAddressId = null,
string $comparison = null)
Filter the query on the deliveryorderaddress_id column
Example usage:
$query->filterByDeliveryOrderAddressId(1234); // WHERE deliveryorderaddressid = 1234
$query->filterByDeliveryOrderAddressId(array(12, 34)); // WHERE deliveryorderaddressid IN (12, 34)
$query->filterByDeliveryOrderAddressId(array('min' => 12)); // WHERE deliveryorderaddress_id > 12
at line 581
OrderQuery
filterByInvoiceDate(
mixed $invoiceDate = null,
string $comparison = null)
Filter the query on the invoice_date column
Example usage:
$query->filterByInvoiceDate('2011-03-14'); // WHERE invoicedate = '2011-03-14'
$query->filterByInvoiceDate('now'); // WHERE invoicedate = '2011-03-14'
$query->filterByInvoiceDate(array('max' => 'yesterday')); // WHERE invoice_date > '2011-03-13'
at line 624
OrderQuery
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
at line 665
OrderQuery
filterByCurrencyRate(
mixed $currencyRate = null,
string $comparison = null)
Filter the query on the currency_rate column
Example usage:
$query->filterByCurrencyRate(1234); // WHERE currencyrate = 1234
$query->filterByCurrencyRate(array(12, 34)); // WHERE currencyrate IN (12, 34)
$query->filterByCurrencyRate(array('min' => 12)); // WHERE currency_rate > 12
at line 703
OrderQuery
filterByTransactionRef(
string $transactionRef = null,
string $comparison = null)
Filter the query on the transaction_ref column
Example usage:
$query->filterByTransactionRef('fooValue'); // WHERE transactionref = 'fooValue'
$query->filterByTransactionRef('%fooValue%'); // WHERE transactionref LIKE '%fooValue%'
at line 732
OrderQuery
filterByDeliveryRef(
string $deliveryRef = null,
string $comparison = null)
Filter the query on the delivery_ref column
Example usage:
$query->filterByDeliveryRef('fooValue'); // WHERE deliveryref = 'fooValue'
$query->filterByDeliveryRef('%fooValue%'); // WHERE deliveryref LIKE '%fooValue%'
at line 761
OrderQuery
filterByInvoiceRef(
string $invoiceRef = null,
string $comparison = null)
Filter the query on the invoice_ref column
Example usage:
$query->filterByInvoiceRef('fooValue'); // WHERE invoiceref = 'fooValue'
$query->filterByInvoiceRef('%fooValue%'); // WHERE invoiceref LIKE '%fooValue%'
at line 793
OrderQuery
filterByDiscount(
mixed $discount = null,
string $comparison = null)
Filter the query on the discount column
Example usage:
$query->filterByDiscount(1234); // WHERE discount = 1234
$query->filterByDiscount(array(12, 34)); // WHERE discount IN (12, 34)
$query->filterByDiscount(array('min' => 12)); // WHERE discount > 12
at line 834
OrderQuery
filterByPostage(
mixed $postage = null,
string $comparison = null)
Filter the query on the postage column
Example usage:
$query->filterByPostage(1234); // WHERE postage = 1234
$query->filterByPostage(array(12, 34)); // WHERE postage IN (12, 34)
$query->filterByPostage(array('min' => 12)); // WHERE postage > 12
at line 875
OrderQuery
filterByPostageTax(
mixed $postageTax = null,
string $comparison = null)
Filter the query on the postage_tax column
Example usage:
$query->filterByPostageTax(1234); // WHERE postagetax = 1234
$query->filterByPostageTax(array(12, 34)); // WHERE postagetax IN (12, 34)
$query->filterByPostageTax(array('min' => 12)); // WHERE postage_tax > 12
at line 913
OrderQuery
filterByPostageTaxRuleTitle(
string $postageTaxRuleTitle = null,
string $comparison = null)
Filter the query on the postagetaxrule_title column
Example usage:
$query->filterByPostageTaxRuleTitle('fooValue'); // WHERE postagetaxruletitle = 'fooValue'
$query->filterByPostageTaxRuleTitle('%fooValue%'); // WHERE postagetaxruletitle LIKE '%fooValue%'
at line 947
OrderQuery
filterByPaymentModuleId(
mixed $paymentModuleId = null,
string $comparison = null)
Filter the query on the paymentmoduleid column
Example usage:
$query->filterByPaymentModuleId(1234); // WHERE paymentmoduleid = 1234
$query->filterByPaymentModuleId(array(12, 34)); // WHERE paymentmoduleid IN (12, 34)
$query->filterByPaymentModuleId(array('min' => 12)); // WHERE paymentmoduleid > 12
at line 990
OrderQuery
filterByDeliveryModuleId(
mixed $deliveryModuleId = null,
string $comparison = null)
Filter the query on the deliverymoduleid column
Example usage:
$query->filterByDeliveryModuleId(1234); // WHERE deliverymoduleid = 1234
$query->filterByDeliveryModuleId(array(12, 34)); // WHERE deliverymoduleid IN (12, 34)
$query->filterByDeliveryModuleId(array('min' => 12)); // WHERE deliverymoduleid > 12
at line 1033
OrderQuery
filterByStatusId(
mixed $statusId = null,
string $comparison = null)
Filter the query on the status_id column
Example usage:
$query->filterByStatusId(1234); // WHERE statusid = 1234
$query->filterByStatusId(array(12, 34)); // WHERE statusid IN (12, 34)
$query->filterByStatusId(array('min' => 12)); // WHERE status_id > 12
at line 1076
OrderQuery
filterByLangId(
mixed $langId = null,
string $comparison = null)
Filter the query on the lang_id column
Example usage:
$query->filterByLangId(1234); // WHERE langid = 1234
$query->filterByLangId(array(12, 34)); // WHERE langid IN (12, 34)
$query->filterByLangId(array('min' => 12)); // WHERE lang_id > 12
at line 1117
OrderQuery
filterByCartId(
mixed $cartId = null,
string $comparison = null)
Filter the query on the cart_id column
Example usage:
$query->filterByCartId(1234); // WHERE cartid = 1234
$query->filterByCartId(array(12, 34)); // WHERE cartid IN (12, 34)
$query->filterByCartId(array('min' => 12)); // WHERE cart_id > 12
at line 1160
OrderQuery
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 1203
OrderQuery
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 1244
OrderQuery
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 1287
OrderQuery
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 1325
OrderQuery
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 1347
OrderQuery
filterByCurrency(
Currency|ObjectCollection $currency,
string $comparison = null)
Filter the query by a related \Thelia\Model\Currency object
at line 1372
OrderQuery
joinCurrency(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Currency relation
at line 1407
CurrencyQuery
useCurrencyQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Currency relation Currency object
at line 1422
OrderQuery
filterByCustomer(
Customer|ObjectCollection $customer,
string $comparison = null)
Filter the query by a related \Thelia\Model\Customer object
at line 1447
OrderQuery
joinCustomer(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Customer relation
at line 1482
CustomerQuery
useCustomerQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Customer relation Customer object
at line 1497
OrderQuery
filterByOrderAddressRelatedByInvoiceOrderAddressId(
OrderAddress|ObjectCollection $orderAddress,
string $comparison = null)
Filter the query by a related \Thelia\Model\OrderAddress object
at line 1522
OrderQuery
joinOrderAddressRelatedByInvoiceOrderAddressId(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation
at line 1557
OrderAddressQuery
useOrderAddressRelatedByInvoiceOrderAddressIdQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the OrderAddressRelatedByInvoiceOrderAddressId relation OrderAddress object
at line 1572
OrderQuery
filterByOrderAddressRelatedByDeliveryOrderAddressId(
OrderAddress|ObjectCollection $orderAddress,
string $comparison = null)
Filter the query by a related \Thelia\Model\OrderAddress object
at line 1597
OrderQuery
joinOrderAddressRelatedByDeliveryOrderAddressId(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation
at line 1632
OrderAddressQuery
useOrderAddressRelatedByDeliveryOrderAddressIdQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the OrderAddressRelatedByDeliveryOrderAddressId relation OrderAddress object
at line 1647
OrderQuery
filterByOrderStatus(
OrderStatus|ObjectCollection $orderStatus,
string $comparison = null)
Filter the query by a related \Thelia\Model\OrderStatus object
at line 1672
OrderQuery
joinOrderStatus(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the OrderStatus relation
at line 1707
OrderStatusQuery
useOrderStatusQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the OrderStatus relation OrderStatus object
at line 1722
OrderQuery
filterByModuleRelatedByPaymentModuleId(
Module|ObjectCollection $module,
string $comparison = null)
Filter the query by a related \Thelia\Model\Module object
at line 1747
OrderQuery
joinModuleRelatedByPaymentModuleId(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation
at line 1782
ModuleQuery
useModuleRelatedByPaymentModuleIdQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ModuleRelatedByPaymentModuleId relation Module object
at line 1797
OrderQuery
filterByModuleRelatedByDeliveryModuleId(
Module|ObjectCollection $module,
string $comparison = null)
Filter the query by a related \Thelia\Model\Module object
at line 1822
OrderQuery
joinModuleRelatedByDeliveryModuleId(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation
at line 1857
ModuleQuery
useModuleRelatedByDeliveryModuleIdQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the ModuleRelatedByDeliveryModuleId relation Module object
at line 1872
OrderQuery
filterByLang(
Lang|ObjectCollection $lang,
string $comparison = null)
Filter the query by a related \Thelia\Model\Lang object
at line 1897
OrderQuery
joinLang(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Lang relation
at line 1932
LangQuery
useLangQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Lang relation Lang object
at line 1947
OrderQuery
filterByOrderProduct(
OrderProduct|ObjectCollection $orderProduct,
string $comparison = null)
Filter the query by a related \Thelia\Model\OrderProduct object
at line 1970
OrderQuery
joinOrderProduct(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the OrderProduct relation
at line 2005
OrderProductQuery
useOrderProductQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the OrderProduct relation OrderProduct object
at line 2020
OrderQuery
filterByOrderCoupon(
OrderCoupon|ObjectCollection $orderCoupon,
string $comparison = null)
Filter the query by a related \Thelia\Model\OrderCoupon object
at line 2043
OrderQuery
joinOrderCoupon(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the OrderCoupon relation
at line 2078
OrderCouponQuery
useOrderCouponQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the OrderCoupon relation OrderCoupon object
at line 2093
OrderQuery
filterByOrderVersion(
OrderVersion|ObjectCollection $orderVersion,
string $comparison = null)
Filter the query by a related \Thelia\Model\OrderVersion object
at line 2116
OrderQuery
joinOrderVersion(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the OrderVersion relation
at line 2151
OrderVersionQuery
useOrderVersionQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the OrderVersion relation OrderVersion object
at line 2165
OrderQuery
prune(
Order $order = null)
Exclude object from result
at line 2180
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the order table.
at line 2217
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildOrder or Criteria object OR a primary key value.
at line 2258
OrderQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 2270
OrderQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 2280
OrderQuery
lastUpdatedFirst()
Order by update date desc
at line 2290
OrderQuery
firstUpdatedFirst()
Order by update date asc
at line 2300
OrderQuery
lastCreatedFirst()
Order by create date desc
at line 2310
OrderQuery
firstCreatedFirst()
Order by create date asc
at line 2322
static
boolean
isVersioningEnabled()
Checks whether versioning is enabled
at line 2330
static
enableVersioning()
Enables versioning
at line 2338
static
disableVersioning()
Disables versioning
at line 180
ChildOrderQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 180
ChildOrderQuery
orderByRef($order = Criteria::ASC)
Order by the ref column
at line 180
ChildOrderQuery
orderByCustomerId($order = Criteria::ASC)
Order by the customer_id column
at line 180
ChildOrderQuery
orderByInvoiceOrderAddressId($order = Criteria::ASC)
Order by the invoiceorderaddress_id column
at line 180
ChildOrderQuery
orderByDeliveryOrderAddressId($order = Criteria::ASC)
Order by the deliveryorderaddress_id column
at line 180
ChildOrderQuery
orderByInvoiceDate($order = Criteria::ASC)
Order by the invoice_date column
at line 180
ChildOrderQuery
orderByCurrencyId($order = Criteria::ASC)
Order by the currency_id column
at line 180
ChildOrderQuery
orderByCurrencyRate($order = Criteria::ASC)
Order by the currency_rate column
at line 180
ChildOrderQuery
orderByTransactionRef($order = Criteria::ASC)
Order by the transaction_ref column
at line 180
ChildOrderQuery
orderByDeliveryRef($order = Criteria::ASC)
Order by the delivery_ref column
at line 180
ChildOrderQuery
orderByInvoiceRef($order = Criteria::ASC)
Order by the invoice_ref column
at line 180
ChildOrderQuery
orderByDiscount($order = Criteria::ASC)
Order by the discount column
at line 180
ChildOrderQuery
orderByPostage($order = Criteria::ASC)
Order by the postage column
at line 180
ChildOrderQuery
orderByPostageTax($order = Criteria::ASC)
Order by the postage_tax column
at line 180
ChildOrderQuery
orderByPostageTaxRuleTitle($order = Criteria::ASC)
Order by the postagetaxrule_title column
at line 180
ChildOrderQuery
orderByPaymentModuleId($order = Criteria::ASC)
Order by the paymentmoduleid column
at line 180
ChildOrderQuery
orderByDeliveryModuleId($order = Criteria::ASC)
Order by the deliverymoduleid column
at line 180
ChildOrderQuery
orderByStatusId($order = Criteria::ASC)
Order by the status_id column
at line 180
ChildOrderQuery
orderByLangId($order = Criteria::ASC)
Order by the lang_id column
at line 180
ChildOrderQuery
orderByCartId($order = Criteria::ASC)
Order by the cart_id column
at line 180
ChildOrderQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 180
ChildOrderQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 180
ChildOrderQuery
orderByVersion($order = Criteria::ASC)
Order by the version column
at line 180
ChildOrderQuery
orderByVersionCreatedAt($order = Criteria::ASC)
Order by the versioncreatedat column
at line 180
ChildOrderQuery
orderByVersionCreatedBy($order = Criteria::ASC)
Order by the versioncreatedby column
at line 180
ChildOrderQuery
groupById()
Group by the id column
at line 180
ChildOrderQuery
groupByRef()
Group by the ref column
at line 180
ChildOrderQuery
groupByCustomerId()
Group by the customer_id column
at line 180
ChildOrderQuery
groupByInvoiceOrderAddressId()
Group by the invoiceorderaddress_id column
at line 180
ChildOrderQuery
groupByDeliveryOrderAddressId()
Group by the deliveryorderaddress_id column
at line 180
ChildOrderQuery
groupByInvoiceDate()
Group by the invoice_date column
at line 180
ChildOrderQuery
groupByCurrencyId()
Group by the currency_id column
at line 180
ChildOrderQuery
groupByCurrencyRate()
Group by the currency_rate column
at line 180
ChildOrderQuery
groupByTransactionRef()
Group by the transaction_ref column
at line 180
ChildOrderQuery
groupByDeliveryRef()
Group by the delivery_ref column
at line 180
ChildOrderQuery
groupByInvoiceRef()
Group by the invoice_ref column
at line 180
ChildOrderQuery
groupByDiscount()
Group by the discount column
at line 180
ChildOrderQuery
groupByPostage()
Group by the postage column
at line 180
ChildOrderQuery
groupByPostageTax()
Group by the postage_tax column
at line 180
ChildOrderQuery
groupByPostageTaxRuleTitle()
Group by the postagetaxrule_title column
at line 180
ChildOrderQuery
groupByPaymentModuleId()
Group by the paymentmoduleid column
at line 180
ChildOrderQuery
groupByDeliveryModuleId()
Group by the deliverymoduleid column
at line 180
ChildOrderQuery
groupByStatusId()
Group by the status_id column
at line 180
ChildOrderQuery
groupByLangId()
Group by the lang_id column
at line 180
ChildOrderQuery
groupByCartId()
Group by the cart_id column
at line 180
ChildOrderQuery
groupByCreatedAt()
Group by the created_at column
at line 180
ChildOrderQuery
groupByUpdatedAt()
Group by the updated_at column
at line 180
ChildOrderQuery
groupByVersion()
Group by the version column
at line 180
ChildOrderQuery
groupByVersionCreatedAt()
Group by the versioncreatedat column
at line 180
ChildOrderQuery
groupByVersionCreatedBy()
Group by the versioncreatedby column
at line 180
ChildOrderQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 180
ChildOrderQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 180
ChildOrderQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 180
ChildOrderQuery
leftJoinCurrency($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Currency relation
at line 180
ChildOrderQuery
rightJoinCurrency($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Currency relation
at line 180
ChildOrderQuery
innerJoinCurrency($relationAlias = null)
Adds a INNER JOIN clause to the query using the Currency relation
at line 180
ChildOrderQuery
leftJoinCustomer($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Customer relation
at line 180
ChildOrderQuery
rightJoinCustomer($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Customer relation
at line 180
ChildOrderQuery
innerJoinCustomer($relationAlias = null)
Adds a INNER JOIN clause to the query using the Customer relation
at line 180
ChildOrderQuery
leftJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)
Adds a LEFT JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation
at line 180
ChildOrderQuery
rightJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation
at line 180
ChildOrderQuery
innerJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)
Adds a INNER JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation
at line 180
ChildOrderQuery
leftJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)
Adds a LEFT JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation
at line 180
ChildOrderQuery
rightJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation
at line 180
ChildOrderQuery
innerJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)
Adds a INNER JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation
at line 180
ChildOrderQuery
leftJoinOrderStatus($relationAlias = null)
Adds a LEFT JOIN clause to the query using the OrderStatus relation
at line 180
ChildOrderQuery
rightJoinOrderStatus($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the OrderStatus relation
at line 180
ChildOrderQuery
innerJoinOrderStatus($relationAlias = null)
Adds a INNER JOIN clause to the query using the OrderStatus relation
at line 180
ChildOrderQuery
leftJoinModuleRelatedByPaymentModuleId($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation
at line 180
ChildOrderQuery
rightJoinModuleRelatedByPaymentModuleId($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation
at line 180
ChildOrderQuery
innerJoinModuleRelatedByPaymentModuleId($relationAlias = null)
Adds a INNER JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation
at line 180
ChildOrderQuery
leftJoinModuleRelatedByDeliveryModuleId($relationAlias = null)
Adds a LEFT JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation
at line 180
ChildOrderQuery
rightJoinModuleRelatedByDeliveryModuleId($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation
at line 180
ChildOrderQuery
innerJoinModuleRelatedByDeliveryModuleId($relationAlias = null)
Adds a INNER JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation
at line 180
ChildOrderQuery
leftJoinLang($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Lang relation
at line 180
ChildOrderQuery
rightJoinLang($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Lang relation
at line 180
ChildOrderQuery
innerJoinLang($relationAlias = null)
Adds a INNER JOIN clause to the query using the Lang relation
at line 180
ChildOrderQuery
leftJoinOrderProduct($relationAlias = null)
Adds a LEFT JOIN clause to the query using the OrderProduct relation
at line 180
ChildOrderQuery
rightJoinOrderProduct($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the OrderProduct relation
at line 180
ChildOrderQuery
innerJoinOrderProduct($relationAlias = null)
Adds a INNER JOIN clause to the query using the OrderProduct relation
at line 180
ChildOrderQuery
leftJoinOrderCoupon($relationAlias = null)
Adds a LEFT JOIN clause to the query using the OrderCoupon relation
at line 180
ChildOrderQuery
rightJoinOrderCoupon($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the OrderCoupon relation
at line 180
ChildOrderQuery
innerJoinOrderCoupon($relationAlias = null)
Adds a INNER JOIN clause to the query using the OrderCoupon relation
at line 180
ChildOrderQuery
leftJoinOrderVersion($relationAlias = null)
Adds a LEFT JOIN clause to the query using the OrderVersion relation
at line 180
ChildOrderQuery
rightJoinOrderVersion($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the OrderVersion relation
at line 180
ChildOrderQuery
innerJoinOrderVersion($relationAlias = null)
Adds a INNER JOIN clause to the query using the OrderVersion relation
at line 180
ChildOrder
findOne(
ConnectionInterface $con = null)
Return the first ChildOrder matching the query
at line 180
ChildOrder
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildOrder matching the query, or a new ChildOrder object populated from the query conditions when no match is found
at line 180
ChildOrder
findOneById(
int $id)
Return the first ChildOrder filtered by the id column
at line 180
ChildOrder
findOneByRef(
string $ref)
Return the first ChildOrder filtered by the ref column
at line 180
ChildOrder
findOneByCustomerId(
int $customer_id)
Return the first ChildOrder filtered by the customer_id column
at line 180
ChildOrder
findOneByInvoiceOrderAddressId(
int $invoice_order_address_id)
Return the first ChildOrder filtered by the invoiceorderaddress_id column
at line 180
ChildOrder
findOneByDeliveryOrderAddressId(
int $delivery_order_address_id)
Return the first ChildOrder filtered by the deliveryorderaddress_id column
at line 180
ChildOrder
findOneByInvoiceDate(
string $invoice_date)
Return the first ChildOrder filtered by the invoice_date column
at line 180
ChildOrder
findOneByCurrencyId(
int $currency_id)
Return the first ChildOrder filtered by the currency_id column
at line 180
ChildOrder
findOneByCurrencyRate(
double $currency_rate)
Return the first ChildOrder filtered by the currency_rate column
at line 180
ChildOrder
findOneByTransactionRef(
string $transaction_ref)
Return the first ChildOrder filtered by the transaction_ref column
at line 180
ChildOrder
findOneByDeliveryRef(
string $delivery_ref)
Return the first ChildOrder filtered by the delivery_ref column
at line 180
ChildOrder
findOneByInvoiceRef(
string $invoice_ref)
Return the first ChildOrder filtered by the invoice_ref column
at line 180
ChildOrder
findOneByDiscount(
string $discount)
Return the first ChildOrder filtered by the discount column
at line 180
ChildOrder
findOneByPostage(
string $postage)
Return the first ChildOrder filtered by the postage column
at line 180
ChildOrder
findOneByPostageTax(
string $postage_tax)
Return the first ChildOrder filtered by the postage_tax column
at line 180
ChildOrder
findOneByPostageTaxRuleTitle(
string $postage_tax_rule_title)
Return the first ChildOrder filtered by the postagetaxrule_title column
at line 180
ChildOrder
findOneByPaymentModuleId(
int $payment_module_id)
Return the first ChildOrder filtered by the paymentmoduleid column
at line 180
ChildOrder
findOneByDeliveryModuleId(
int $delivery_module_id)
Return the first ChildOrder filtered by the deliverymoduleid column
at line 180
ChildOrder
findOneByStatusId(
int $status_id)
Return the first ChildOrder filtered by the status_id column
at line 180
ChildOrder
findOneByLangId(
int $lang_id)
Return the first ChildOrder filtered by the lang_id column
at line 180
ChildOrder
findOneByCartId(
int $cart_id)
Return the first ChildOrder filtered by the cart_id column
at line 180
ChildOrder
findOneByCreatedAt(
string $created_at)
Return the first ChildOrder filtered by the created_at column
at line 180
ChildOrder
findOneByUpdatedAt(
string $updated_at)
Return the first ChildOrder filtered by the updated_at column
at line 180
ChildOrder
findOneByVersion(
int $version)
Return the first ChildOrder filtered by the version column
at line 180
ChildOrder
findOneByVersionCreatedAt(
string $version_created_at)
Return the first ChildOrder filtered by the versioncreatedat column
at line 180
ChildOrder
findOneByVersionCreatedBy(
string $version_created_by)
Return the first ChildOrder filtered by the versioncreatedby column
at line 180
array
findById(
int $id)
Return ChildOrder objects filtered by the id column
at line 180
array
findByRef(
string $ref)
Return ChildOrder objects filtered by the ref column
at line 180
array
findByCustomerId(
int $customer_id)
Return ChildOrder objects filtered by the customer_id column
at line 180
array
findByInvoiceOrderAddressId(
int $invoice_order_address_id)
Return ChildOrder objects filtered by the invoiceorderaddress_id column
at line 180
array
findByDeliveryOrderAddressId(
int $delivery_order_address_id)
Return ChildOrder objects filtered by the deliveryorderaddress_id column
at line 180
array
findByInvoiceDate(
string $invoice_date)
Return ChildOrder objects filtered by the invoice_date column
at line 180
array
findByCurrencyId(
int $currency_id)
Return ChildOrder objects filtered by the currency_id column
at line 180
array
findByCurrencyRate(
double $currency_rate)
Return ChildOrder objects filtered by the currency_rate column
at line 180
array
findByTransactionRef(
string $transaction_ref)
Return ChildOrder objects filtered by the transaction_ref column
at line 180
array
findByDeliveryRef(
string $delivery_ref)
Return ChildOrder objects filtered by the delivery_ref column
at line 180
array
findByInvoiceRef(
string $invoice_ref)
Return ChildOrder objects filtered by the invoice_ref column
at line 180
array
findByDiscount(
string $discount)
Return ChildOrder objects filtered by the discount column
at line 180
array
findByPostage(
string $postage)
Return ChildOrder objects filtered by the postage column
at line 180
array
findByPostageTax(
string $postage_tax)
Return ChildOrder objects filtered by the postage_tax column
at line 180
array
findByPostageTaxRuleTitle(
string $postage_tax_rule_title)
Return ChildOrder objects filtered by the postagetaxrule_title column
at line 180
array
findByPaymentModuleId(
int $payment_module_id)
Return ChildOrder objects filtered by the paymentmoduleid column
at line 180
array
findByDeliveryModuleId(
int $delivery_module_id)
Return ChildOrder objects filtered by the deliverymoduleid column
at line 180
array
findByStatusId(
int $status_id)
Return ChildOrder objects filtered by the status_id column
at line 180
array
findByLangId(
int $lang_id)
Return ChildOrder objects filtered by the lang_id column
at line 180
array
findByCartId(
int $cart_id)
Return ChildOrder objects filtered by the cart_id column
at line 180
array
findByCreatedAt(
string $created_at)
Return ChildOrder objects filtered by the created_at column
at line 180
array
findByUpdatedAt(
string $updated_at)
Return ChildOrder objects filtered by the updated_at column
at line 180
array
findByVersion(
int $version)
Return ChildOrder objects filtered by the version column
at line 180
array
findByVersionCreatedAt(
string $version_created_at)
Return ChildOrder objects filtered by the versioncreatedat column
at line 180
array
findByVersionCreatedBy(
string $version_created_by)
Return ChildOrder objects filtered by the versioncreatedby column