class OrderQuery extends OrderQuery

Skeleton subclass for performing query and update operations on the 'order' 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.

Properties

static $isVersioningEnabled Whether the versioning is enabled from  OrderQuery

Methods

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

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

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

Returns a new ChildOrderQuery object.

from  OrderQuery
Order|array|mixed
findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

from  OrderQuery
ObjectCollection|array|mixed
findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

from  OrderQuery
filterByPrimaryKey( mixed $key)

Filter the query by primary key

from  OrderQuery
filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

from  OrderQuery
filterById( mixed $id = null, string $comparison = null)

Filter the query on the id column

from  OrderQuery
filterByRef( string $ref = null, string $comparison = null)

Filter the query on the ref column

from  OrderQuery
filterByCustomerId( mixed $customerId = null, string $comparison = null)

Filter the query on the customer_id column

from  OrderQuery
filterByInvoiceOrderAddressId( mixed $invoiceOrderAddressId = null, string $comparison = null)

Filter the query on the invoiceorderaddress_id column

from  OrderQuery
filterByDeliveryOrderAddressId( mixed $deliveryOrderAddressId = null, string $comparison = null)

Filter the query on the deliveryorderaddress_id column

from  OrderQuery
filterByInvoiceDate( mixed $invoiceDate = null, string $comparison = null)

Filter the query on the invoice_date column

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

Filter the query on the currency_id column

from  OrderQuery
filterByCurrencyRate( mixed $currencyRate = null, string $comparison = null)

Filter the query on the currency_rate column

from  OrderQuery
filterByTransactionRef( string $transactionRef = null, string $comparison = null)

Filter the query on the transaction_ref column

from  OrderQuery
filterByDeliveryRef( string $deliveryRef = null, string $comparison = null)

Filter the query on the delivery_ref column

from  OrderQuery
filterByInvoiceRef( string $invoiceRef = null, string $comparison = null)

Filter the query on the invoice_ref column

from  OrderQuery
filterByDiscount( mixed $discount = null, string $comparison = null)

Filter the query on the discount column

from  OrderQuery
filterByPostage( mixed $postage = null, string $comparison = null)

Filter the query on the postage column

from  OrderQuery
filterByPostageTax( mixed $postageTax = null, string $comparison = null)

Filter the query on the postage_tax column

from  OrderQuery
filterByPostageTaxRuleTitle( string $postageTaxRuleTitle = null, string $comparison = null)

Filter the query on the postagetaxrule_title column

from  OrderQuery
filterByPaymentModuleId( mixed $paymentModuleId = null, string $comparison = null)

Filter the query on the paymentmoduleid column

from  OrderQuery
filterByDeliveryModuleId( mixed $deliveryModuleId = null, string $comparison = null)

Filter the query on the deliverymoduleid column

from  OrderQuery
filterByStatusId( mixed $statusId = null, string $comparison = null)

Filter the query on the status_id column

from  OrderQuery
filterByLangId( mixed $langId = null, string $comparison = null)

Filter the query on the lang_id column

from  OrderQuery
filterByCartId( mixed $cartId = null, string $comparison = null)

Filter the query on the cart_id column

from  OrderQuery
filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

from  OrderQuery
filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

from  OrderQuery
filterByVersion( mixed $version = null, string $comparison = null)

Filter the query on the version column

from  OrderQuery
filterByVersionCreatedAt( mixed $versionCreatedAt = null, string $comparison = null)

Filter the query on the versioncreatedat column

from  OrderQuery
filterByVersionCreatedBy( string $versionCreatedBy = null, string $comparison = null)

Filter the query on the versioncreatedby column

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

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

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

Adds a JOIN clause to the query using the Currency relation

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

Use the Currency relation Currency object

from  OrderQuery
filterByCustomer( Customer|ObjectCollection $customer, string $comparison = null)

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

from  OrderQuery
joinCustomer( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Customer relation

from  OrderQuery
useCustomerQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Customer relation Customer object

from  OrderQuery
filterByOrderAddressRelatedByInvoiceOrderAddressId( OrderAddress|ObjectCollection $orderAddress, string $comparison = null)

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

from  OrderQuery
joinOrderAddressRelatedByInvoiceOrderAddressId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation

from  OrderQuery
useOrderAddressRelatedByInvoiceOrderAddressIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the OrderAddressRelatedByInvoiceOrderAddressId relation OrderAddress object

from  OrderQuery
filterByOrderAddressRelatedByDeliveryOrderAddressId( OrderAddress|ObjectCollection $orderAddress, string $comparison = null)

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

from  OrderQuery
joinOrderAddressRelatedByDeliveryOrderAddressId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation

from  OrderQuery
useOrderAddressRelatedByDeliveryOrderAddressIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the OrderAddressRelatedByDeliveryOrderAddressId relation OrderAddress object

from  OrderQuery
filterByOrderStatus( OrderStatus|ObjectCollection $orderStatus, string $comparison = null)

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

from  OrderQuery
joinOrderStatus( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderStatus relation

from  OrderQuery
useOrderStatusQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the OrderStatus relation OrderStatus object

from  OrderQuery
filterByModuleRelatedByPaymentModuleId( Module|ObjectCollection $module, string $comparison = null)

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

from  OrderQuery
joinModuleRelatedByPaymentModuleId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation

from  OrderQuery
useModuleRelatedByPaymentModuleIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ModuleRelatedByPaymentModuleId relation Module object

from  OrderQuery
filterByModuleRelatedByDeliveryModuleId( Module|ObjectCollection $module, string $comparison = null)

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

from  OrderQuery
joinModuleRelatedByDeliveryModuleId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation

from  OrderQuery
useModuleRelatedByDeliveryModuleIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ModuleRelatedByDeliveryModuleId relation Module object

from  OrderQuery
filterByLang( Lang|ObjectCollection $lang, string $comparison = null)

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

from  OrderQuery
joinLang( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Lang relation

from  OrderQuery
useLangQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Lang relation Lang object

from  OrderQuery
filterByOrderProduct( OrderProduct|ObjectCollection $orderProduct, string $comparison = null)

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

from  OrderQuery
joinOrderProduct( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderProduct relation

from  OrderQuery
useOrderProductQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the OrderProduct relation OrderProduct object

from  OrderQuery
filterByOrderCoupon( OrderCoupon|ObjectCollection $orderCoupon, string $comparison = null)

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

from  OrderQuery
joinOrderCoupon( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderCoupon relation

from  OrderQuery
useOrderCouponQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the OrderCoupon relation OrderCoupon object

from  OrderQuery
filterByOrderVersion( OrderVersion|ObjectCollection $orderVersion, string $comparison = null)

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

from  OrderQuery
joinOrderVersion( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderVersion relation

from  OrderQuery
useOrderVersionQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the OrderVersion relation OrderVersion object

from  OrderQuery
prune( Order $order = null)

Exclude object from result

from  OrderQuery
int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the order table.

from  OrderQuery
int
delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildOrder or Criteria object OR a primary key value.

from  OrderQuery
recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

from  OrderQuery
recentlyCreated( int $nbDays = 7)

Filter by the latest created

from  OrderQuery
lastUpdatedFirst()

Order by update date desc

from  OrderQuery
firstUpdatedFirst()

Order by update date asc

from  OrderQuery
lastCreatedFirst()

Order by create date desc

from  OrderQuery
firstCreatedFirst()

Order by create date asc

from  OrderQuery
static  boolean
isVersioningEnabled()

Checks whether versioning is enabled

from  OrderQuery
static 
enableVersioning()

Enables versioning

from  OrderQuery
static 
disableVersioning()

Disables versioning

from  OrderQuery
ChildOrderQuery
orderById($order = Criteria::ASC)

Order by the id column

from  OrderQuery
ChildOrderQuery
orderByRef($order = Criteria::ASC)

Order by the ref column

from  OrderQuery
ChildOrderQuery
orderByCustomerId($order = Criteria::ASC)

Order by the customer_id column

from  OrderQuery
ChildOrderQuery
orderByInvoiceOrderAddressId($order = Criteria::ASC)

Order by the invoiceorderaddress_id column

from  OrderQuery
ChildOrderQuery
orderByDeliveryOrderAddressId($order = Criteria::ASC)

Order by the deliveryorderaddress_id column

from  OrderQuery
ChildOrderQuery
orderByInvoiceDate($order = Criteria::ASC)

Order by the invoice_date column

from  OrderQuery
ChildOrderQuery
orderByCurrencyId($order = Criteria::ASC)

Order by the currency_id column

from  OrderQuery
ChildOrderQuery
orderByCurrencyRate($order = Criteria::ASC)

Order by the currency_rate column

from  OrderQuery
ChildOrderQuery
orderByTransactionRef($order = Criteria::ASC)

Order by the transaction_ref column

from  OrderQuery
ChildOrderQuery
orderByDeliveryRef($order = Criteria::ASC)

Order by the delivery_ref column

from  OrderQuery
ChildOrderQuery
orderByInvoiceRef($order = Criteria::ASC)

Order by the invoice_ref column

from  OrderQuery
ChildOrderQuery
orderByDiscount($order = Criteria::ASC)

Order by the discount column

from  OrderQuery
ChildOrderQuery
orderByPostage($order = Criteria::ASC)

Order by the postage column

from  OrderQuery
ChildOrderQuery
orderByPostageTax($order = Criteria::ASC)

Order by the postage_tax column

from  OrderQuery
ChildOrderQuery
orderByPostageTaxRuleTitle($order = Criteria::ASC)

Order by the postagetaxrule_title column

from  OrderQuery
ChildOrderQuery
orderByPaymentModuleId($order = Criteria::ASC)

Order by the paymentmoduleid column

from  OrderQuery
ChildOrderQuery
orderByDeliveryModuleId($order = Criteria::ASC)

Order by the deliverymoduleid column

from  OrderQuery
ChildOrderQuery
orderByStatusId($order = Criteria::ASC)

Order by the status_id column

from  OrderQuery
ChildOrderQuery
orderByLangId($order = Criteria::ASC)

Order by the lang_id column

from  OrderQuery
ChildOrderQuery
orderByCartId($order = Criteria::ASC)

Order by the cart_id column

from  OrderQuery
ChildOrderQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

from  OrderQuery
ChildOrderQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

from  OrderQuery
ChildOrderQuery
orderByVersion($order = Criteria::ASC)

Order by the version column

from  OrderQuery
ChildOrderQuery
orderByVersionCreatedAt($order = Criteria::ASC)

Order by the versioncreatedat column

from  OrderQuery
ChildOrderQuery
orderByVersionCreatedBy($order = Criteria::ASC)

Order by the versioncreatedby column

from  OrderQuery
ChildOrderQuery
groupById()

Group by the id column

from  OrderQuery
ChildOrderQuery
groupByRef()

Group by the ref column

from  OrderQuery
ChildOrderQuery
groupByCustomerId()

Group by the customer_id column

from  OrderQuery
ChildOrderQuery
groupByInvoiceOrderAddressId()

Group by the invoiceorderaddress_id column

from  OrderQuery
ChildOrderQuery
groupByDeliveryOrderAddressId()

Group by the deliveryorderaddress_id column

from  OrderQuery
ChildOrderQuery
groupByInvoiceDate()

Group by the invoice_date column

from  OrderQuery
ChildOrderQuery
groupByCurrencyId()

Group by the currency_id column

from  OrderQuery
ChildOrderQuery
groupByCurrencyRate()

Group by the currency_rate column

from  OrderQuery
ChildOrderQuery
groupByTransactionRef()

Group by the transaction_ref column

from  OrderQuery
ChildOrderQuery
groupByDeliveryRef()

Group by the delivery_ref column

from  OrderQuery
ChildOrderQuery
groupByInvoiceRef()

Group by the invoice_ref column

from  OrderQuery
ChildOrderQuery
groupByDiscount()

Group by the discount column

from  OrderQuery
ChildOrderQuery
groupByPostage()

Group by the postage column

from  OrderQuery
ChildOrderQuery
groupByPostageTax()

Group by the postage_tax column

from  OrderQuery
ChildOrderQuery
groupByPostageTaxRuleTitle()

Group by the postagetaxrule_title column

from  OrderQuery
ChildOrderQuery
groupByPaymentModuleId()

Group by the paymentmoduleid column

from  OrderQuery
ChildOrderQuery
groupByDeliveryModuleId()

Group by the deliverymoduleid column

from  OrderQuery
ChildOrderQuery
groupByStatusId()

Group by the status_id column

from  OrderQuery
ChildOrderQuery
groupByLangId()

Group by the lang_id column

from  OrderQuery
ChildOrderQuery
groupByCartId()

Group by the cart_id column

from  OrderQuery
ChildOrderQuery
groupByCreatedAt()

Group by the created_at column

from  OrderQuery
ChildOrderQuery
groupByUpdatedAt()

Group by the updated_at column

from  OrderQuery
ChildOrderQuery
groupByVersion()

Group by the version column

from  OrderQuery
ChildOrderQuery
groupByVersionCreatedAt()

Group by the versioncreatedat column

from  OrderQuery
ChildOrderQuery
groupByVersionCreatedBy()

Group by the versioncreatedby column

from  OrderQuery
ChildOrderQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

from  OrderQuery
ChildOrderQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

from  OrderQuery
ChildOrderQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

from  OrderQuery
ChildOrderQuery
leftJoinCurrency($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinCurrency($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinCurrency($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinCustomer($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinCustomer($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinCustomer($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinOrderStatus($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinOrderStatus($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinOrderStatus($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinModuleRelatedByPaymentModuleId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinModuleRelatedByPaymentModuleId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinModuleRelatedByPaymentModuleId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinModuleRelatedByDeliveryModuleId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinModuleRelatedByDeliveryModuleId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinModuleRelatedByDeliveryModuleId($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinLang($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinLang($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinLang($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinOrderProduct($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinOrderProduct($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinOrderProduct($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinOrderCoupon($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinOrderCoupon($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinOrderCoupon($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
leftJoinOrderVersion($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
rightJoinOrderVersion($relationAlias = null)

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

from  OrderQuery
ChildOrderQuery
innerJoinOrderVersion($relationAlias = null)

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

from  OrderQuery
ChildOrder
findOne( ConnectionInterface $con = null)

Return the first ChildOrder matching the query

from  OrderQuery
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

from  OrderQuery
ChildOrder
findOneById( int $id)

Return the first ChildOrder filtered by the id column

from  OrderQuery
ChildOrder
findOneByRef( string $ref)

Return the first ChildOrder filtered by the ref column

from  OrderQuery
ChildOrder
findOneByCustomerId( int $customer_id)

Return the first ChildOrder filtered by the customer_id column

from  OrderQuery
ChildOrder
findOneByInvoiceOrderAddressId( int $invoice_order_address_id)

Return the first ChildOrder filtered by the invoiceorderaddress_id column

from  OrderQuery
ChildOrder
findOneByDeliveryOrderAddressId( int $delivery_order_address_id)

Return the first ChildOrder filtered by the deliveryorderaddress_id column

from  OrderQuery
ChildOrder
findOneByInvoiceDate( string $invoice_date)

Return the first ChildOrder filtered by the invoice_date column

from  OrderQuery
ChildOrder
findOneByCurrencyId( int $currency_id)

Return the first ChildOrder filtered by the currency_id column

from  OrderQuery
ChildOrder
findOneByCurrencyRate( double $currency_rate)

Return the first ChildOrder filtered by the currency_rate column

from  OrderQuery
ChildOrder
findOneByTransactionRef( string $transaction_ref)

Return the first ChildOrder filtered by the transaction_ref column

from  OrderQuery
ChildOrder
findOneByDeliveryRef( string $delivery_ref)

Return the first ChildOrder filtered by the delivery_ref column

from  OrderQuery
ChildOrder
findOneByInvoiceRef( string $invoice_ref)

Return the first ChildOrder filtered by the invoice_ref column

from  OrderQuery
ChildOrder
findOneByDiscount( string $discount)

Return the first ChildOrder filtered by the discount column

from  OrderQuery
ChildOrder
findOneByPostage( string $postage)

Return the first ChildOrder filtered by the postage column

from  OrderQuery
ChildOrder
findOneByPostageTax( string $postage_tax)

Return the first ChildOrder filtered by the postage_tax column

from  OrderQuery
ChildOrder
findOneByPostageTaxRuleTitle( string $postage_tax_rule_title)

Return the first ChildOrder filtered by the postagetaxrule_title column

from  OrderQuery
ChildOrder
findOneByPaymentModuleId( int $payment_module_id)

Return the first ChildOrder filtered by the paymentmoduleid column

from  OrderQuery
ChildOrder
findOneByDeliveryModuleId( int $delivery_module_id)

Return the first ChildOrder filtered by the deliverymoduleid column

from  OrderQuery
ChildOrder
findOneByStatusId( int $status_id)

Return the first ChildOrder filtered by the status_id column

from  OrderQuery
ChildOrder
findOneByLangId( int $lang_id)

Return the first ChildOrder filtered by the lang_id column

from  OrderQuery
ChildOrder
findOneByCartId( int $cart_id)

Return the first ChildOrder filtered by the cart_id column

from  OrderQuery
ChildOrder
findOneByCreatedAt( string $created_at)

Return the first ChildOrder filtered by the created_at column

from  OrderQuery
ChildOrder
findOneByUpdatedAt( string $updated_at)

Return the first ChildOrder filtered by the updated_at column

from  OrderQuery
ChildOrder
findOneByVersion( int $version)

Return the first ChildOrder filtered by the version column

from  OrderQuery
ChildOrder
findOneByVersionCreatedAt( string $version_created_at)

Return the first ChildOrder filtered by the versioncreatedat column

from  OrderQuery
ChildOrder
findOneByVersionCreatedBy( string $version_created_by)

Return the first ChildOrder filtered by the versioncreatedby column

from  OrderQuery
array
findById( int $id)

Return ChildOrder objects filtered by the id column

from  OrderQuery
array
findByRef( string $ref)

Return ChildOrder objects filtered by the ref column

from  OrderQuery
array
findByCustomerId( int $customer_id)

Return ChildOrder objects filtered by the customer_id column

from  OrderQuery
array
findByInvoiceOrderAddressId( int $invoice_order_address_id)

Return ChildOrder objects filtered by the invoiceorderaddress_id column

from  OrderQuery
array
findByDeliveryOrderAddressId( int $delivery_order_address_id)

Return ChildOrder objects filtered by the deliveryorderaddress_id column

from  OrderQuery
array
findByInvoiceDate( string $invoice_date)

Return ChildOrder objects filtered by the invoice_date column

from  OrderQuery
array
findByCurrencyId( int $currency_id)

Return ChildOrder objects filtered by the currency_id column

from  OrderQuery
array
findByCurrencyRate( double $currency_rate)

Return ChildOrder objects filtered by the currency_rate column

from  OrderQuery
array
findByTransactionRef( string $transaction_ref)

Return ChildOrder objects filtered by the transaction_ref column

from  OrderQuery
array
findByDeliveryRef( string $delivery_ref)

Return ChildOrder objects filtered by the delivery_ref column

from  OrderQuery
array
findByInvoiceRef( string $invoice_ref)

Return ChildOrder objects filtered by the invoice_ref column

from  OrderQuery
array
findByDiscount( string $discount)

Return ChildOrder objects filtered by the discount column

from  OrderQuery
array
findByPostage( string $postage)

Return ChildOrder objects filtered by the postage column

from  OrderQuery
array
findByPostageTax( string $postage_tax)

Return ChildOrder objects filtered by the postage_tax column

from  OrderQuery
array
findByPostageTaxRuleTitle( string $postage_tax_rule_title)

Return ChildOrder objects filtered by the postagetaxrule_title column

from  OrderQuery
array
findByPaymentModuleId( int $payment_module_id)

Return ChildOrder objects filtered by the paymentmoduleid column

from  OrderQuery
array
findByDeliveryModuleId( int $delivery_module_id)

Return ChildOrder objects filtered by the deliverymoduleid column

from  OrderQuery
array
findByStatusId( int $status_id)

Return ChildOrder objects filtered by the status_id column

from  OrderQuery
array
findByLangId( int $lang_id)

Return ChildOrder objects filtered by the lang_id column

from  OrderQuery
array
findByCartId( int $cart_id)

Return ChildOrder objects filtered by the cart_id column

from  OrderQuery
array
findByCreatedAt( string $created_at)

Return ChildOrder objects filtered by the created_at column

from  OrderQuery
array
findByUpdatedAt( string $updated_at)

Return ChildOrder objects filtered by the updated_at column

from  OrderQuery
array
findByVersion( int $version)

Return ChildOrder objects filtered by the version column

from  OrderQuery
array
findByVersionCreatedAt( string $version_created_at)

Return ChildOrder objects filtered by the versioncreatedat column

from  OrderQuery
array
findByVersionCreatedBy( string $version_created_by)

Return ChildOrder objects filtered by the versioncreatedby column

from  OrderQuery
static 
getMonthlySaleStats($month, $year)

No description

static 
getMonthlyOrdersStats($month, $year, $status = null)

No description

static 
getFirstOrdersStats($month, $year)

No description

static  int
getSaleStats( DateTime $startDate, DateTime $endDate, $includeShipping)

No description

static  int
getOrderStats( DateTime $startDate, DateTime $endDate, $status = array(1, 2, 3, 4))

No description

Details

in OrderQuery at line 197
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Order', string $modelAlias = null)

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

Returns a new ChildOrderQuery object.

Parameters

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

Return Value

OrderQuery

in OrderQuery 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);

Parameters

mixed $key Primary key to use for the query
ConnectionInterface $con an optional connection object

Return Value

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

in OrderQuery 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);

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 OrderQuery at line 343
OrderQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 356
OrderQuery 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

OrderQuery The current query, for fluid interface

in OrderQuery 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

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

OrderQuery The current query, for fluid interface

in OrderQuery 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%'

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

See also

filterByCustomer()

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

See also

filterByOrderAddressRelatedByInvoiceOrderAddressId()

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

See also

filterByOrderAddressRelatedByDeliveryOrderAddressId()

in OrderQuery 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'

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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

Parameters

mixed $currencyId The value to use as filter. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

OrderQuery The current query, for fluid interface

See also

filterByCurrency()

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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%'

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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%'

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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%'

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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%'

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

See also

filterByModuleRelatedByPaymentModuleId()

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

See also

filterByModuleRelatedByDeliveryModuleId()

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

See also

filterByOrderStatus()

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

See also

filterByLang()

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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'

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

OrderQuery The current query, for fluid interface

in OrderQuery 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'

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

OrderQuery The current query, for fluid interface

in OrderQuery 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

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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'

Parameters

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

OrderQuery The current query, for fluid interface

in OrderQuery 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%'

Parameters

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

OrderQuery The current query, for fluid interface

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

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

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

Adds a JOIN clause to the query using the Currency relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

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

Use the Currency relation Currency object

Parameters

string $relationAlias optional alias for the relation, to be used as main alias in the secondary query
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

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

See also

useQuery()

in OrderQuery at line 1422
OrderQuery filterByCustomer( Customer|ObjectCollection $customer, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1447
OrderQuery joinCustomer( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Customer relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1482
CustomerQuery useCustomerQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in OrderQuery at line 1497
OrderQuery filterByOrderAddressRelatedByInvoiceOrderAddressId( OrderAddress|ObjectCollection $orderAddress, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1522
OrderQuery joinOrderAddressRelatedByInvoiceOrderAddressId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderAddressRelatedByInvoiceOrderAddressId relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1557
OrderAddressQuery useOrderAddressRelatedByInvoiceOrderAddressIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the OrderAddressRelatedByInvoiceOrderAddressId relation OrderAddress 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

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

See also

useQuery()

in OrderQuery at line 1572
OrderQuery filterByOrderAddressRelatedByDeliveryOrderAddressId( OrderAddress|ObjectCollection $orderAddress, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1597
OrderQuery joinOrderAddressRelatedByDeliveryOrderAddressId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderAddressRelatedByDeliveryOrderAddressId relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1632
OrderAddressQuery useOrderAddressRelatedByDeliveryOrderAddressIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the OrderAddressRelatedByDeliveryOrderAddressId relation OrderAddress 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

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

See also

useQuery()

in OrderQuery at line 1647
OrderQuery filterByOrderStatus( OrderStatus|ObjectCollection $orderStatus, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1672
OrderQuery joinOrderStatus( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderStatus relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1707
OrderStatusQuery useOrderStatusQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in OrderQuery at line 1722
OrderQuery filterByModuleRelatedByPaymentModuleId( Module|ObjectCollection $module, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1747
OrderQuery joinModuleRelatedByPaymentModuleId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ModuleRelatedByPaymentModuleId relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1782
ModuleQuery useModuleRelatedByPaymentModuleIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ModuleRelatedByPaymentModuleId relation Module 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

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

See also

useQuery()

in OrderQuery at line 1797
OrderQuery filterByModuleRelatedByDeliveryModuleId( Module|ObjectCollection $module, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1822
OrderQuery joinModuleRelatedByDeliveryModuleId( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ModuleRelatedByDeliveryModuleId relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1857
ModuleQuery useModuleRelatedByDeliveryModuleIdQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ModuleRelatedByDeliveryModuleId relation Module 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

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

See also

useQuery()

in OrderQuery at line 1872
OrderQuery filterByLang( Lang|ObjectCollection $lang, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1897
OrderQuery joinLang( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Lang relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1932
LangQuery useLangQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in OrderQuery at line 1947
OrderQuery filterByOrderProduct( OrderProduct|ObjectCollection $orderProduct, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 1970
OrderQuery joinOrderProduct( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderProduct relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2005
OrderProductQuery useOrderProductQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in OrderQuery at line 2020
OrderQuery filterByOrderCoupon( OrderCoupon|ObjectCollection $orderCoupon, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2043
OrderQuery joinOrderCoupon( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderCoupon relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

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

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

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

See also

useQuery()

in OrderQuery at line 2093
OrderQuery filterByOrderVersion( OrderVersion|ObjectCollection $orderVersion, string $comparison = null)

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

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2116
OrderQuery joinOrderVersion( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the OrderVersion relation

Parameters

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

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2151
OrderVersionQuery useOrderVersionQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

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

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

See also

useQuery()

in OrderQuery at line 2165
OrderQuery prune( Order $order = null)

Exclude object from result

Parameters

Order $order Object to remove from the list of results

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2180
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the order table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

in OrderQuery 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.

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 OrderQuery at line 2258
OrderQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2270
OrderQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2280
OrderQuery lastUpdatedFirst()

Order by update date desc

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2290
OrderQuery firstUpdatedFirst()

Order by update date asc

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2300
OrderQuery lastCreatedFirst()

Order by create date desc

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2310
OrderQuery firstCreatedFirst()

Order by create date asc

Return Value

OrderQuery The current query, for fluid interface

in OrderQuery at line 2322
static boolean isVersioningEnabled()

Checks whether versioning is enabled

Return Value

boolean

in OrderQuery at line 2330
static enableVersioning()

Enables versioning

in OrderQuery at line 2338
static disableVersioning()

Disables versioning

in OrderQuery at line 180
ChildOrderQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByRef($order = Criteria::ASC)

Order by the ref column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByCustomerId($order = Criteria::ASC)

Order by the customer_id column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByInvoiceOrderAddressId($order = Criteria::ASC)

Order by the invoiceorderaddress_id column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByDeliveryOrderAddressId($order = Criteria::ASC)

Order by the deliveryorderaddress_id column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByInvoiceDate($order = Criteria::ASC)

Order by the invoice_date column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByCurrencyId($order = Criteria::ASC)

Order by the currency_id column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByCurrencyRate($order = Criteria::ASC)

Order by the currency_rate column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByTransactionRef($order = Criteria::ASC)

Order by the transaction_ref column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByDeliveryRef($order = Criteria::ASC)

Order by the delivery_ref column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByInvoiceRef($order = Criteria::ASC)

Order by the invoice_ref column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByDiscount($order = Criteria::ASC)

Order by the discount column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByPostage($order = Criteria::ASC)

Order by the postage column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByPostageTax($order = Criteria::ASC)

Order by the postage_tax column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByPostageTaxRuleTitle($order = Criteria::ASC)

Order by the postagetaxrule_title column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByPaymentModuleId($order = Criteria::ASC)

Order by the paymentmoduleid column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByDeliveryModuleId($order = Criteria::ASC)

Order by the deliverymoduleid column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByStatusId($order = Criteria::ASC)

Order by the status_id column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByLangId($order = Criteria::ASC)

Order by the lang_id column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByCartId($order = Criteria::ASC)

Order by the cart_id column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByVersion($order = Criteria::ASC)

Order by the version column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByVersionCreatedAt($order = Criteria::ASC)

Order by the versioncreatedat column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery orderByVersionCreatedBy($order = Criteria::ASC)

Order by the versioncreatedby column

Parameters

$order

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupById()

Group by the id column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByRef()

Group by the ref column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByCustomerId()

Group by the customer_id column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByInvoiceOrderAddressId()

Group by the invoiceorderaddress_id column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByDeliveryOrderAddressId()

Group by the deliveryorderaddress_id column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByInvoiceDate()

Group by the invoice_date column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByCurrencyId()

Group by the currency_id column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByCurrencyRate()

Group by the currency_rate column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByTransactionRef()

Group by the transaction_ref column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByDeliveryRef()

Group by the delivery_ref column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByInvoiceRef()

Group by the invoice_ref column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByDiscount()

Group by the discount column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByPostage()

Group by the postage column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByPostageTax()

Group by the postage_tax column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByPostageTaxRuleTitle()

Group by the postagetaxrule_title column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByPaymentModuleId()

Group by the paymentmoduleid column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByDeliveryModuleId()

Group by the deliverymoduleid column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByStatusId()

Group by the status_id column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByLangId()

Group by the lang_id column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByCartId()

Group by the cart_id column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByVersion()

Group by the version column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByVersionCreatedAt()

Group by the versioncreatedat column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery groupByVersionCreatedBy()

Group by the versioncreatedby column

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinCurrency($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinCurrency($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinCurrency($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinOrderAddressRelatedByInvoiceOrderAddressId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinOrderAddressRelatedByDeliveryOrderAddressId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinOrderStatus($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinOrderStatus($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinOrderStatus($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinModuleRelatedByPaymentModuleId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinModuleRelatedByPaymentModuleId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinModuleRelatedByPaymentModuleId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinModuleRelatedByDeliveryModuleId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinModuleRelatedByDeliveryModuleId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinModuleRelatedByDeliveryModuleId($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinLang($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinLang($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinLang($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinOrderProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinOrderProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinOrderProduct($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinOrderCoupon($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinOrderCoupon($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinOrderCoupon($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery leftJoinOrderVersion($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery rightJoinOrderVersion($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrderQuery innerJoinOrderVersion($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildOrderQuery

in OrderQuery at line 180
ChildOrder findOne( ConnectionInterface $con = null)

Return the first ChildOrder matching the query

Parameters

ConnectionInterface $con

Return Value

ChildOrder

in OrderQuery 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

Parameters

ConnectionInterface $con

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneById( int $id)

Return the first ChildOrder filtered by the id column

Parameters

int $id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByRef( string $ref)

Return the first ChildOrder filtered by the ref column

Parameters

string $ref

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByCustomerId( int $customer_id)

Return the first ChildOrder filtered by the customer_id column

Parameters

int $customer_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByInvoiceOrderAddressId( int $invoice_order_address_id)

Return the first ChildOrder filtered by the invoiceorderaddress_id column

Parameters

int $invoice_order_address_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByDeliveryOrderAddressId( int $delivery_order_address_id)

Return the first ChildOrder filtered by the deliveryorderaddress_id column

Parameters

int $delivery_order_address_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByInvoiceDate( string $invoice_date)

Return the first ChildOrder filtered by the invoice_date column

Parameters

string $invoice_date

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByCurrencyId( int $currency_id)

Return the first ChildOrder filtered by the currency_id column

Parameters

int $currency_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByCurrencyRate( double $currency_rate)

Return the first ChildOrder filtered by the currency_rate column

Parameters

double $currency_rate

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByTransactionRef( string $transaction_ref)

Return the first ChildOrder filtered by the transaction_ref column

Parameters

string $transaction_ref

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByDeliveryRef( string $delivery_ref)

Return the first ChildOrder filtered by the delivery_ref column

Parameters

string $delivery_ref

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByInvoiceRef( string $invoice_ref)

Return the first ChildOrder filtered by the invoice_ref column

Parameters

string $invoice_ref

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByDiscount( string $discount)

Return the first ChildOrder filtered by the discount column

Parameters

string $discount

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByPostage( string $postage)

Return the first ChildOrder filtered by the postage column

Parameters

string $postage

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByPostageTax( string $postage_tax)

Return the first ChildOrder filtered by the postage_tax column

Parameters

string $postage_tax

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByPostageTaxRuleTitle( string $postage_tax_rule_title)

Return the first ChildOrder filtered by the postagetaxrule_title column

Parameters

string $postage_tax_rule_title

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByPaymentModuleId( int $payment_module_id)

Return the first ChildOrder filtered by the paymentmoduleid column

Parameters

int $payment_module_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByDeliveryModuleId( int $delivery_module_id)

Return the first ChildOrder filtered by the deliverymoduleid column

Parameters

int $delivery_module_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByStatusId( int $status_id)

Return the first ChildOrder filtered by the status_id column

Parameters

int $status_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByLangId( int $lang_id)

Return the first ChildOrder filtered by the lang_id column

Parameters

int $lang_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByCartId( int $cart_id)

Return the first ChildOrder filtered by the cart_id column

Parameters

int $cart_id

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByCreatedAt( string $created_at)

Return the first ChildOrder filtered by the created_at column

Parameters

string $created_at

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByUpdatedAt( string $updated_at)

Return the first ChildOrder filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByVersion( int $version)

Return the first ChildOrder filtered by the version column

Parameters

int $version

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByVersionCreatedAt( string $version_created_at)

Return the first ChildOrder filtered by the versioncreatedat column

Parameters

string $version_created_at

Return Value

ChildOrder

in OrderQuery at line 180
ChildOrder findOneByVersionCreatedBy( string $version_created_by)

Return the first ChildOrder filtered by the versioncreatedby column

Parameters

string $version_created_by

Return Value

ChildOrder

in OrderQuery at line 180
array findById( int $id)

Return ChildOrder objects filtered by the id column

Parameters

int $id

Return Value

array

in OrderQuery at line 180
array findByRef( string $ref)

Return ChildOrder objects filtered by the ref column

Parameters

string $ref

Return Value

array

in OrderQuery at line 180
array findByCustomerId( int $customer_id)

Return ChildOrder objects filtered by the customer_id column

Parameters

int $customer_id

Return Value

array

in OrderQuery at line 180
array findByInvoiceOrderAddressId( int $invoice_order_address_id)

Return ChildOrder objects filtered by the invoiceorderaddress_id column

Parameters

int $invoice_order_address_id

Return Value

array

in OrderQuery at line 180
array findByDeliveryOrderAddressId( int $delivery_order_address_id)

Return ChildOrder objects filtered by the deliveryorderaddress_id column

Parameters

int $delivery_order_address_id

Return Value

array

in OrderQuery at line 180
array findByInvoiceDate( string $invoice_date)

Return ChildOrder objects filtered by the invoice_date column

Parameters

string $invoice_date

Return Value

array

in OrderQuery at line 180
array findByCurrencyId( int $currency_id)

Return ChildOrder objects filtered by the currency_id column

Parameters

int $currency_id

Return Value

array

in OrderQuery at line 180
array findByCurrencyRate( double $currency_rate)

Return ChildOrder objects filtered by the currency_rate column

Parameters

double $currency_rate

Return Value

array

in OrderQuery at line 180
array findByTransactionRef( string $transaction_ref)

Return ChildOrder objects filtered by the transaction_ref column

Parameters

string $transaction_ref

Return Value

array

in OrderQuery at line 180
array findByDeliveryRef( string $delivery_ref)

Return ChildOrder objects filtered by the delivery_ref column

Parameters

string $delivery_ref

Return Value

array

in OrderQuery at line 180
array findByInvoiceRef( string $invoice_ref)

Return ChildOrder objects filtered by the invoice_ref column

Parameters

string $invoice_ref

Return Value

array

in OrderQuery at line 180
array findByDiscount( string $discount)

Return ChildOrder objects filtered by the discount column

Parameters

string $discount

Return Value

array

in OrderQuery at line 180
array findByPostage( string $postage)

Return ChildOrder objects filtered by the postage column

Parameters

string $postage

Return Value

array

in OrderQuery at line 180
array findByPostageTax( string $postage_tax)

Return ChildOrder objects filtered by the postage_tax column

Parameters

string $postage_tax

Return Value

array

in OrderQuery at line 180
array findByPostageTaxRuleTitle( string $postage_tax_rule_title)

Return ChildOrder objects filtered by the postagetaxrule_title column

Parameters

string $postage_tax_rule_title

Return Value

array

in OrderQuery at line 180
array findByPaymentModuleId( int $payment_module_id)

Return ChildOrder objects filtered by the paymentmoduleid column

Parameters

int $payment_module_id

Return Value

array

in OrderQuery at line 180
array findByDeliveryModuleId( int $delivery_module_id)

Return ChildOrder objects filtered by the deliverymoduleid column

Parameters

int $delivery_module_id

Return Value

array

in OrderQuery at line 180
array findByStatusId( int $status_id)

Return ChildOrder objects filtered by the status_id column

Parameters

int $status_id

Return Value

array

in OrderQuery at line 180
array findByLangId( int $lang_id)

Return ChildOrder objects filtered by the lang_id column

Parameters

int $lang_id

Return Value

array

in OrderQuery at line 180
array findByCartId( int $cart_id)

Return ChildOrder objects filtered by the cart_id column

Parameters

int $cart_id

Return Value

array

in OrderQuery at line 180
array findByCreatedAt( string $created_at)

Return ChildOrder objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in OrderQuery at line 180
array findByUpdatedAt( string $updated_at)

Return ChildOrder objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array

in OrderQuery at line 180
array findByVersion( int $version)

Return ChildOrder objects filtered by the version column

Parameters

int $version

Return Value

array

in OrderQuery at line 180
array findByVersionCreatedAt( string $version_created_at)

Return ChildOrder objects filtered by the versioncreatedat column

Parameters

string $version_created_at

Return Value

array

in OrderQuery at line 180
array findByVersionCreatedBy( string $version_created_by)

Return ChildOrder objects filtered by the versioncreatedby column

Parameters

string $version_created_by

Return Value

array

at line 24
static getMonthlySaleStats($month, $year)

Parameters

$month
$year

at line 41
static getMonthlyOrdersStats($month, $year, $status = null)

Parameters

$month
$year
$status

at line 60
static getFirstOrdersStats($month, $year)

Parameters

$month
$year

at line 94
static int getSaleStats( DateTime $startDate, DateTime $endDate, $includeShipping)

Parameters

DateTime $startDate
DateTime $endDate
$includeShipping

Return Value

int

at line 156
static int getOrderStats( DateTime $startDate, DateTime $endDate, $status = array(1, 2, 3, 4))

Parameters

DateTime $startDate
DateTime $endDate
$status

Return Value

int