Overview

Namespaces

  • Thelia
    • Action
    • Config
    • Controller
    • Core
      • Bundle
      • DependencyInjection
        • Compiler
        • Loader
      • Event
      • EventListener
      • Template
        • BaseParam
    • Exception
    • Log
      • Destination
    • Model
      • map
      • om
    • Routing
      • Matcher
    • Tools
    • Tpex
      • BaseParam
      • Element
        • Loop
        • TestLoop
      • Event
      • Exception
      • Filter
      • Tokenizer

Classes

  • BaseAccessory
  • BaseAccessoryPeer
  • BaseAccessoryQuery
  • BaseAddress
  • BaseAddressPeer
  • BaseAddressQuery
  • BaseAdmin
  • BaseAdminGroup
  • BaseAdminGroupPeer
  • BaseAdminGroupQuery
  • BaseAdminLog
  • BaseAdminLogPeer
  • BaseAdminLogQuery
  • BaseAdminPeer
  • BaseAdminQuery
  • BaseArea
  • BaseAreaPeer
  • BaseAreaQuery
  • BaseAttribute
  • BaseAttributeAv
  • BaseAttributeAvI18n
  • BaseAttributeAvI18nPeer
  • BaseAttributeAvI18nQuery
  • BaseAttributeAvPeer
  • BaseAttributeAvQuery
  • BaseAttributeCategory
  • BaseAttributeCategoryPeer
  • BaseAttributeCategoryQuery
  • BaseAttributeCombination
  • BaseAttributeCombinationPeer
  • BaseAttributeCombinationQuery
  • BaseAttributeI18n
  • BaseAttributeI18nPeer
  • BaseAttributeI18nQuery
  • BaseAttributePeer
  • BaseAttributeQuery
  • BaseCategory
  • BaseCategoryI18n
  • BaseCategoryI18nPeer
  • BaseCategoryI18nQuery
  • BaseCategoryPeer
  • BaseCategoryQuery
  • BaseCategoryVersion
  • BaseCategoryVersionPeer
  • BaseCategoryVersionQuery
  • BaseCombination
  • BaseCombinationPeer
  • BaseCombinationQuery
  • BaseConfig
  • BaseConfigI18n
  • BaseConfigI18nPeer
  • BaseConfigI18nQuery
  • BaseConfigPeer
  • BaseConfigQuery
  • BaseContent
  • BaseContentAssoc
  • BaseContentAssocPeer
  • BaseContentAssocQuery
  • BaseContentFolder
  • BaseContentFolderPeer
  • BaseContentFolderQuery
  • BaseContentI18n
  • BaseContentI18nPeer
  • BaseContentI18nQuery
  • BaseContentPeer
  • BaseContentQuery
  • BaseContentVersion
  • BaseContentVersionPeer
  • BaseContentVersionQuery
  • BaseCountry
  • BaseCountryI18n
  • BaseCountryI18nPeer
  • BaseCountryI18nQuery
  • BaseCountryPeer
  • BaseCountryQuery
  • BaseCoupon
  • BaseCouponOrder
  • BaseCouponOrderPeer
  • BaseCouponOrderQuery
  • BaseCouponPeer
  • BaseCouponQuery
  • BaseCouponRule
  • BaseCouponRulePeer
  • BaseCouponRuleQuery
  • BaseCurrency
  • BaseCurrencyPeer
  • BaseCurrencyQuery
  • BaseCustomer
  • BaseCustomerPeer
  • BaseCustomerQuery
  • BaseCustomerTitle
  • BaseCustomerTitleI18n
  • BaseCustomerTitleI18nPeer
  • BaseCustomerTitleI18nQuery
  • BaseCustomerTitlePeer
  • BaseCustomerTitleQuery
  • BaseDelivzone
  • BaseDelivzonePeer
  • BaseDelivzoneQuery
  • BaseDocument
  • BaseDocumentI18n
  • BaseDocumentI18nPeer
  • BaseDocumentI18nQuery
  • BaseDocumentPeer
  • BaseDocumentQuery
  • BaseFeature
  • BaseFeatureAv
  • BaseFeatureAvI18n
  • BaseFeatureAvI18nPeer
  • BaseFeatureAvI18nQuery
  • BaseFeatureAvPeer
  • BaseFeatureAvQuery
  • BaseFeatureCategory
  • BaseFeatureCategoryPeer
  • BaseFeatureCategoryQuery
  • BaseFeatureI18n
  • BaseFeatureI18nPeer
  • BaseFeatureI18nQuery
  • BaseFeaturePeer
  • BaseFeatureProd
  • BaseFeatureProdPeer
  • BaseFeatureProdQuery
  • BaseFeatureQuery
  • BaseFolder
  • BaseFolderI18n
  • BaseFolderI18nPeer
  • BaseFolderI18nQuery
  • BaseFolderPeer
  • BaseFolderQuery
  • BaseFolderVersion
  • BaseFolderVersionPeer
  • BaseFolderVersionQuery
  • BaseGroup
  • BaseGroupI18n
  • BaseGroupI18nPeer
  • BaseGroupI18nQuery
  • BaseGroupModule
  • BaseGroupModulePeer
  • BaseGroupModuleQuery
  • BaseGroupPeer
  • BaseGroupQuery
  • BaseGroupResource
  • BaseGroupResourcePeer
  • BaseGroupResourceQuery
  • BaseImage
  • BaseImageI18n
  • BaseImageI18nPeer
  • BaseImageI18nQuery
  • BaseImagePeer
  • BaseImageQuery
  • BaseLang
  • BaseLangPeer
  • BaseLangQuery
  • BaseMessage
  • BaseMessageI18n
  • BaseMessageI18nPeer
  • BaseMessageI18nQuery
  • BaseMessagePeer
  • BaseMessageQuery
  • BaseMessageVersion
  • BaseMessageVersionPeer
  • BaseMessageVersionQuery
  • BaseModule
  • BaseModuleI18n
  • BaseModuleI18nPeer
  • BaseModuleI18nQuery
  • BaseModulePeer
  • BaseModuleQuery
  • BaseOrder
  • BaseOrderAddress
  • BaseOrderAddressPeer
  • BaseOrderAddressQuery
  • BaseOrderFeature
  • BaseOrderFeaturePeer
  • BaseOrderFeatureQuery
  • BaseOrderPeer
  • BaseOrderProduct
  • BaseOrderProductPeer
  • BaseOrderProductQuery
  • BaseOrderQuery
  • BaseOrderStatus
  • BaseOrderStatusI18n
  • BaseOrderStatusI18nPeer
  • BaseOrderStatusI18nQuery
  • BaseOrderStatusPeer
  • BaseOrderStatusQuery
  • BaseProduct
  • BaseProductCategory
  • BaseProductCategoryPeer
  • BaseProductCategoryQuery
  • BaseProductI18n
  • BaseProductI18nPeer
  • BaseProductI18nQuery
  • BaseProductPeer
  • BaseProductQuery
  • BaseProductVersion
  • BaseProductVersionPeer
  • BaseProductVersionQuery
  • BaseResource
  • BaseResourceI18n
  • BaseResourceI18nPeer
  • BaseResourceI18nQuery
  • BaseResourcePeer
  • BaseResourceQuery
  • BaseRewriting
  • BaseRewritingPeer
  • BaseRewritingQuery
  • BaseStock
  • BaseStockPeer
  • BaseStockQuery
  • BaseTax
  • BaseTaxI18n
  • BaseTaxI18nPeer
  • BaseTaxI18nQuery
  • BaseTaxPeer
  • BaseTaxQuery
  • BaseTaxRule
  • BaseTaxRuleCountry
  • BaseTaxRuleCountryPeer
  • BaseTaxRuleCountryQuery
  • BaseTaxRuleI18n
  • BaseTaxRuleI18nPeer
  • BaseTaxRuleI18nQuery
  • BaseTaxRulePeer
  • BaseTaxRuleQuery
  • Overview
  • Namespace
  • Class
  • Tree

Class BaseOrderProductQuery

Base class that represents a query for the 'order_product' table.

ModelCriteria
Extended by Thelia\Model\om\BaseOrderProductQuery

Direct known subclasses

Thelia\Model\OrderProductQuery
Abstract
Namespace: Thelia\Model\om
Package: propel\generator\Thelia\Model\om
Located at core/lib/Thelia/Model/om/BaseOrderProductQuery.php
Methods summary
public
# __construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\OrderProduct', string $modelAlias = null )

Initializes internal state of BaseOrderProductQuery object.

Initializes internal state of BaseOrderProductQuery object.

Parameters

$dbName
string
$dbName The dabase name
$modelName
string
$modelName The phpName of a model, e.g. 'Book'
$modelAlias
string
$modelAlias The alias for the model in this query, e.g. 'b'
public static Thelia\Model\OrderProductQuery
# create( string $modelAlias = null, Thelia\Model\OrderProductQuery|Criteria $criteria = null )

Returns a new OrderProductQuery object.

Returns a new OrderProductQuery object.

Parameters

$modelAlias
string
$modelAlias The alias of a model in the query
$criteria
Thelia\Model\OrderProductQuery|Criteria
$criteria Optional Criteria to build the query from

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProduct|Thelia\Model\OrderProduct[]|mixed
# findPk( mixed $key, PropelPDO $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.

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

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

Returns

Thelia\Model\OrderProduct|Thelia\Model\OrderProduct[]|mixed
the result, formatted by the current formatter
public Thelia\Model\OrderProduct
# findOneById( mixed $key, PropelPDO $con = null )

Alias of findPk to use instance pooling

Alias of findPk to use instance pooling

Parameters

$key
mixed
$key Primary key to use for the query
$con
PropelPDO
$con A connection object

Returns

Thelia\Model\OrderProduct
A model object, or null if the key is not found

Throws

PropelException
protected Thelia\Model\OrderProduct
# findPkSimple( mixed $key, PropelPDO $con )

Find object by primary key using raw SQL to go fast. Bypass doSelect() and the object formatter by using generated code.

Find object by primary key using raw SQL to go fast. Bypass doSelect() and the object formatter by using generated code.

Parameters

$key
mixed
$key Primary key to use for the query
$con
PropelPDO
$con A connection object

Returns

Thelia\Model\OrderProduct
A model object, or null if the key is not found

Throws

PropelException
protected Thelia\Model\OrderProduct|Thelia\Model\OrderProduct[]|mixed
# findPkComplex( mixed $key, PropelPDO $con )

Find object by primary key.

Find object by primary key.

Parameters

$key
mixed
$key Primary key to use for the query
$con
PropelPDO
$con A connection object

Returns

Thelia\Model\OrderProduct|Thelia\Model\OrderProduct[]|mixed
the result, formatted by the current formatter
public PropelObjectCollection|Thelia\Model\OrderProduct[]|mixed
# findPks( array $keys, PropelPDO $con = null )

Find objects by primary key

$objs = $c->findPks(array(12, 56, 832), $con);

Find objects by primary key

$objs = $c->findPks(array(12, 56, 832), $con);

Parameters

$keys
array
$keys Primary keys to use for the query
$con
PropelPDO
$con an optional connection object

Returns

PropelObjectCollection|Thelia\Model\OrderProduct[]|mixed
the list of results, formatted by the current formatter
public Thelia\Model\OrderProductQuery
# filterByPrimaryKey( mixed $key )

Filter the query by primary key

Filter the query by primary key

Parameters

$key
mixed
$key Primary key to use for the query

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByPrimaryKeys( array $keys )

Filter the query by a list of primary keys

Filter the query by a list of primary keys

Parameters

$keys
array
$keys The list of primary key to use for the query

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterById( mixed $id = null, string $comparison = null )

Filter the query on the id column

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
$query->filterById(array('max' => 12)); // WHERE id <= 12

Parameters

$id
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.
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByOrderId( mixed $orderId = null, string $comparison = null )

Filter the query on the order_id column

Filter the query on the order_id column

Example usage:

$query->filterByOrderId(1234); // WHERE order_id = 1234
$query->filterByOrderId(array(12, 34)); // WHERE order_id IN (12, 34)
$query->filterByOrderId(array('min' => 12)); // WHERE order_id >= 12
$query->filterByOrderId(array('max' => 12)); // WHERE order_id <= 12

Parameters

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

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface

See

Thelia\Model\om\BaseOrderProductQuery::filterByOrder()
public Thelia\Model\OrderProductQuery
# filterByProductRef( string $productRef = null, string $comparison = null )

Filter the query on the product_ref column

Filter the query on the product_ref column

Example usage:

$query->filterByProductRef('fooValue');   // WHERE product_ref = 'fooValue'
$query->filterByProductRef('%fooValue%'); // WHERE product_ref LIKE '%fooValue%'

Parameters

$productRef
string
$productRef The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByTitle( string $title = null, string $comparison = null )

Filter the query on the title column

Filter the query on the title column

Example usage:

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

Parameters

$title
string
$title The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByDescription( string $description = null, string $comparison = null )

Filter the query on the description column

Filter the query on the description column

Example usage:

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

Parameters

$description
string
$description The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByChapo( string $chapo = null, string $comparison = null )

Filter the query on the chapo column

Filter the query on the chapo column

Example usage:

$query->filterByChapo('fooValue');   // WHERE chapo = 'fooValue'
$query->filterByChapo('%fooValue%'); // WHERE chapo LIKE '%fooValue%'

Parameters

$chapo
string
$chapo The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByQuantity( mixed $quantity = null, string $comparison = null )

Filter the query on the quantity column

Filter the query on the quantity column

Example usage:

$query->filterByQuantity(1234); // WHERE quantity = 1234
$query->filterByQuantity(array(12, 34)); // WHERE quantity IN (12, 34)
$query->filterByQuantity(array('min' => 12)); // WHERE quantity >= 12
$query->filterByQuantity(array('max' => 12)); // WHERE quantity <= 12

Parameters

$quantity
mixed
$quantity 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.
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByPrice( mixed $price = null, string $comparison = null )

Filter the query on the price column

Filter the query on the price column

Example usage:

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

Parameters

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

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByTax( mixed $tax = null, string $comparison = null )

Filter the query on the tax column

Filter the query on the tax column

Example usage:

$query->filterByTax(1234); // WHERE tax = 1234
$query->filterByTax(array(12, 34)); // WHERE tax IN (12, 34)
$query->filterByTax(array('min' => 12)); // WHERE tax >= 12
$query->filterByTax(array('max' => 12)); // WHERE tax <= 12

Parameters

$tax
mixed
$tax 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.
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByParent( mixed $parent = null, string $comparison = null )

Filter the query on the parent column

Filter the query on the parent column

Example usage:

$query->filterByParent(1234); // WHERE parent = 1234
$query->filterByParent(array(12, 34)); // WHERE parent IN (12, 34)
$query->filterByParent(array('min' => 12)); // WHERE parent >= 12
$query->filterByParent(array('max' => 12)); // WHERE parent <= 12

Parameters

$parent
mixed
$parent 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.
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByCreatedAt( mixed $createdAt = null, string $comparison = null )

Filter the query on the created_at column

Filter the query on the created_at column

Example usage:

$query->filterByCreatedAt('2011-03-14'); // WHERE created_at = '2011-03-14'
$query->filterByCreatedAt('now'); // WHERE created_at = '2011-03-14'
$query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at > '2011-03-13'

Parameters

$createdAt
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.
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null )

Filter the query on the updated_at column

Filter the query on the updated_at column

Example usage:

$query->filterByUpdatedAt('2011-03-14'); // WHERE updated_at = '2011-03-14'
$query->filterByUpdatedAt('now'); // WHERE updated_at = '2011-03-14'
$query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'

Parameters

$updatedAt
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.
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# filterByOrder( Thelia\Model\Order|PropelObjectCollection $order, string $comparison = null )

Filter the query by a related Order object

Filter the query by a related Order object

Parameters

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

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface

Throws

PropelException
- if the provided filter is invalid.
public Thelia\Model\OrderProductQuery
# joinOrder( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )

Adds a JOIN clause to the query using the Order relation

Adds a JOIN clause to the query using the Order relation

Parameters

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

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderQuery
# useOrderQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )

Use the Order relation Order object

Use the Order relation Order object

Parameters

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

Returns

Thelia\Model\OrderQuery
A secondary query class using the current class as primary query

See

useQuery()
public Thelia\Model\OrderProductQuery
# filterByOrderFeature( Thelia\Model\OrderFeature|PropelObjectCollection $orderFeature, string $comparison = null )

Filter the query by a related OrderFeature object

Filter the query by a related OrderFeature object

Parameters

$orderFeature
Thelia\Model\OrderFeature|PropelObjectCollection
$orderFeature the related object to use as filter
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface

Throws

PropelException
- if the provided filter is invalid.
public Thelia\Model\OrderProductQuery
# joinOrderFeature( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )

Adds a JOIN clause to the query using the OrderFeature relation

Adds a JOIN clause to the query using the OrderFeature relation

Parameters

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

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderFeatureQuery
# useOrderFeatureQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )

Use the OrderFeature relation OrderFeature object

Use the OrderFeature relation OrderFeature object

Parameters

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

Returns

Thelia\Model\OrderFeatureQuery
A secondary query class using the current class as primary query

See

useQuery()
public Thelia\Model\OrderProductQuery
# prune( Thelia\Model\OrderProduct $orderProduct = null )

Exclude object from result

Exclude object from result

Parameters

$orderProduct
Thelia\Model\OrderProduct
$orderProduct Object to remove from the list of results

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# recentlyUpdated( integer $nbDays = 7 )

Filter by the latest updated

Filter by the latest updated

Parameters

$nbDays
integer
$nbDays Maximum age of the latest update in days

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# lastUpdatedFirst( )

Order by update date desc

Order by update date desc

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# firstUpdatedFirst( )

Order by update date asc

Order by update date asc

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# recentlyCreated( integer $nbDays = 7 )

Filter by the latest created

Filter by the latest created

Parameters

$nbDays
integer
$nbDays Maximum age of in days

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# lastCreatedFirst( )

Order by create date desc

Order by create date desc

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
public Thelia\Model\OrderProductQuery
# firstCreatedFirst( )

Order by create date asc

Order by create date asc

Returns

Thelia\Model\OrderProductQuery
The current query, for fluid interface
Magic methods summary
public Thelia\Model\OrderProductQuery
# orderById( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the id column

Order by the id column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByOrderId( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the order_id column

Order by the order_id column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByProductRef( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the product_ref column

Order by the product_ref column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByTitle( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the title column

Order by the title column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByDescription( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the description column

Order by the description column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByChapo( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the chapo column

Order by the chapo column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByQuantity( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the quantity column

Order by the quantity column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByPrice( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the price column

Order by the price column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByTax( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the tax column

Order by the tax column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByParent( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the parent column

Order by the parent column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByCreatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the created_at column

Order by the created_at column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# orderByUpdatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the updated_at column

Order by the updated_at column

Parameters

$order
mixed
$order

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupById( )

Group by the id column

Group by the id column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByOrderId( )

Group by the order_id column

Group by the order_id column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByProductRef( )

Group by the product_ref column

Group by the product_ref column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByTitle( )

Group by the title column

Group by the title column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByDescription( )

Group by the description column

Group by the description column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByChapo( )

Group by the chapo column

Group by the chapo column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByQuantity( )

Group by the quantity column

Group by the quantity column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByPrice( )

Group by the price column

Group by the price column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByTax( )

Group by the tax column

Group by the tax column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByParent( )

Group by the parent column

Group by the parent column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByCreatedAt( )

Group by the created_at column

Group by the created_at column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# groupByUpdatedAt( )

Group by the updated_at column

Group by the updated_at column

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# leftJoin( mixed $relation = )

Adds a LEFT JOIN clause to the query

Adds a LEFT JOIN clause to the query

Parameters

$relation
mixed
$relation

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# rightJoin( mixed $relation = )

Adds a RIGHT JOIN clause to the query

Adds a RIGHT JOIN clause to the query

Parameters

$relation
mixed
$relation

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# innerJoin( mixed $relation = )

Adds a INNER JOIN clause to the query

Adds a INNER JOIN clause to the query

Parameters

$relation
mixed
$relation

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# leftJoinOrder( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# rightJoinOrder( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# innerJoinOrder( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# leftJoinOrderFeature( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# rightJoinOrderFeature( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProductQuery
# innerJoinOrderFeature( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\OrderProductQuery
public Thelia\Model\OrderProduct
# findOne( PropelPDO $con = null )

Return the first OrderProduct matching the query

Return the first OrderProduct matching the query

Parameters

$con
PropelPDO
$con

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneOrCreate( PropelPDO $con = null )

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

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

Parameters

$con
PropelPDO
$con

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByOrderId( integer $order_id = )

Return the first OrderProduct filtered by the order_id column

Return the first OrderProduct filtered by the order_id column

Parameters

$order_id
integer
$order_id

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByProductRef( string $product_ref = )

Return the first OrderProduct filtered by the product_ref column

Return the first OrderProduct filtered by the product_ref column

Parameters

$product_ref
string
$product_ref

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByTitle( string $title = )

Return the first OrderProduct filtered by the title column

Return the first OrderProduct filtered by the title column

Parameters

$title
string
$title

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByDescription( string $description = )

Return the first OrderProduct filtered by the description column

Return the first OrderProduct filtered by the description column

Parameters

$description
string
$description

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByChapo( string $chapo = )

Return the first OrderProduct filtered by the chapo column

Return the first OrderProduct filtered by the chapo column

Parameters

$chapo
string
$chapo

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByQuantity( float $quantity = )

Return the first OrderProduct filtered by the quantity column

Return the first OrderProduct filtered by the quantity column

Parameters

$quantity
float
$quantity

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByPrice( float $price = )

Return the first OrderProduct filtered by the price column

Return the first OrderProduct filtered by the price column

Parameters

$price
float
$price

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByTax( float $tax = )

Return the first OrderProduct filtered by the tax column

Return the first OrderProduct filtered by the tax column

Parameters

$tax
float
$tax

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByParent( integer $parent = )

Return the first OrderProduct filtered by the parent column

Return the first OrderProduct filtered by the parent column

Parameters

$parent
integer
$parent

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByCreatedAt( string $created_at = )

Return the first OrderProduct filtered by the created_at column

Return the first OrderProduct filtered by the created_at column

Parameters

$created_at
string
$created_at

Returns

Thelia\Model\OrderProduct
public Thelia\Model\OrderProduct
# findOneByUpdatedAt( string $updated_at = )

Return the first OrderProduct filtered by the updated_at column

Return the first OrderProduct filtered by the updated_at column

Parameters

$updated_at
string
$updated_at

Returns

Thelia\Model\OrderProduct
public array
# findById( integer $id = )

Return OrderProduct objects filtered by the id column

Return OrderProduct objects filtered by the id column

Parameters

$id
integer
$id

Returns

array
public array
# findByOrderId( integer $order_id = )

Return OrderProduct objects filtered by the order_id column

Return OrderProduct objects filtered by the order_id column

Parameters

$order_id
integer
$order_id

Returns

array
public array
# findByProductRef( string $product_ref = )

Return OrderProduct objects filtered by the product_ref column

Return OrderProduct objects filtered by the product_ref column

Parameters

$product_ref
string
$product_ref

Returns

array
public array
# findByTitle( string $title = )

Return OrderProduct objects filtered by the title column

Return OrderProduct objects filtered by the title column

Parameters

$title
string
$title

Returns

array
public array
# findByDescription( string $description = )

Return OrderProduct objects filtered by the description column

Return OrderProduct objects filtered by the description column

Parameters

$description
string
$description

Returns

array
public array
# findByChapo( string $chapo = )

Return OrderProduct objects filtered by the chapo column

Return OrderProduct objects filtered by the chapo column

Parameters

$chapo
string
$chapo

Returns

array
public array
# findByQuantity( float $quantity = )

Return OrderProduct objects filtered by the quantity column

Return OrderProduct objects filtered by the quantity column

Parameters

$quantity
float
$quantity

Returns

array
public array
# findByPrice( float $price = )

Return OrderProduct objects filtered by the price column

Return OrderProduct objects filtered by the price column

Parameters

$price
float
$price

Returns

array
public array
# findByTax( float $tax = )

Return OrderProduct objects filtered by the tax column

Return OrderProduct objects filtered by the tax column

Parameters

$tax
float
$tax

Returns

array
public array
# findByParent( integer $parent = )

Return OrderProduct objects filtered by the parent column

Return OrderProduct objects filtered by the parent column

Parameters

$parent
integer
$parent

Returns

array
public array
# findByCreatedAt( string $created_at = )

Return OrderProduct objects filtered by the created_at column

Return OrderProduct objects filtered by the created_at column

Parameters

$created_at
string
$created_at

Returns

array
public array
# findByUpdatedAt( string $updated_at = )

Return OrderProduct objects filtered by the updated_at column

Return OrderProduct objects filtered by the updated_at column

Parameters

$updated_at
string
$updated_at

Returns

array
thelia API documentation generated by ApiGen 2.8.0