Overview

Namespaces

  • Thelia
    • Action
    • Controller
    • Core
      • Bundle
      • Event
      • EventListener
      • Template
        • BaseParam
    • Exception
    • Log
      • Destination
    • Model
      • map
      • om
    • Routing
      • Matcher
    • Tools
    • Tpex
      • BaseParam
      • Exception
      • Loop
      • Tests

Classes

  • BaseAccessory
  • BaseAccessoryPeer
  • BaseAccessoryQuery
  • BaseAddress
  • BaseAddressPeer
  • BaseAddressQuery
  • BaseAdmin
  • BaseAdminGroup
  • BaseAdminGroupPeer
  • BaseAdminGroupQuery
  • BaseAdminLog
  • BaseAdminLogPeer
  • BaseAdminLogQuery
  • BaseAdminPeer
  • BaseAdminQuery
  • BaseArea
  • BaseAreaPeer
  • BaseAreaQuery
  • BaseAttribute
  • BaseAttributeAv
  • BaseAttributeAvDesc
  • BaseAttributeAvDescPeer
  • BaseAttributeAvDescQuery
  • BaseAttributeAvI18n
  • BaseAttributeAvI18nPeer
  • BaseAttributeAvI18nQuery
  • BaseAttributeAvPeer
  • BaseAttributeAvQuery
  • BaseAttributeCategory
  • BaseAttributeCategoryPeer
  • BaseAttributeCategoryQuery
  • BaseAttributeCombination
  • BaseAttributeCombinationPeer
  • BaseAttributeCombinationQuery
  • BaseAttributeDesc
  • BaseAttributeDescPeer
  • BaseAttributeDescQuery
  • BaseAttributeI18n
  • BaseAttributeI18nPeer
  • BaseAttributeI18nQuery
  • BaseAttributePeer
  • BaseAttributeQuery
  • BaseCategory
  • BaseCategoryDesc
  • BaseCategoryDescPeer
  • BaseCategoryDescQuery
  • BaseCategoryI18n
  • BaseCategoryI18nPeer
  • BaseCategoryI18nQuery
  • BaseCategoryPeer
  • BaseCategoryQuery
  • BaseCategoryVersion
  • BaseCategoryVersionPeer
  • BaseCategoryVersionQuery
  • BaseCombination
  • BaseCombinationPeer
  • BaseCombinationQuery
  • BaseConfig
  • BaseConfigDesc
  • BaseConfigDescPeer
  • BaseConfigDescQuery
  • BaseConfigI18n
  • BaseConfigI18nPeer
  • BaseConfigI18nQuery
  • BaseConfigPeer
  • BaseConfigQuery
  • BaseContent
  • BaseContentAssoc
  • BaseContentAssocPeer
  • BaseContentAssocQuery
  • BaseContentDesc
  • BaseContentDescPeer
  • BaseContentDescQuery
  • BaseContentFolder
  • BaseContentFolderPeer
  • BaseContentFolderQuery
  • BaseContentI18n
  • BaseContentI18nPeer
  • BaseContentI18nQuery
  • BaseContentPeer
  • BaseContentQuery
  • BaseContentVersion
  • BaseContentVersionPeer
  • BaseContentVersionQuery
  • BaseCountry
  • BaseCountryDesc
  • BaseCountryDescPeer
  • BaseCountryDescQuery
  • BaseCountryI18n
  • BaseCountryI18nPeer
  • BaseCountryI18nQuery
  • BaseCountryPeer
  • BaseCountryQuery
  • BaseCoupon
  • BaseCouponOrder
  • BaseCouponOrderPeer
  • BaseCouponOrderQuery
  • BaseCouponPeer
  • BaseCouponQuery
  • BaseCouponRule
  • BaseCouponRulePeer
  • BaseCouponRuleQuery
  • BaseCurrency
  • BaseCurrencyPeer
  • BaseCurrencyQuery
  • BaseCustomer
  • BaseCustomerPeer
  • BaseCustomerQuery
  • BaseCustomerTitle
  • BaseCustomerTitleDesc
  • BaseCustomerTitleDescPeer
  • BaseCustomerTitleDescQuery
  • BaseCustomerTitleI18n
  • BaseCustomerTitleI18nPeer
  • BaseCustomerTitleI18nQuery
  • BaseCustomerTitlePeer
  • BaseCustomerTitleQuery
  • BaseDelivzone
  • BaseDelivzonePeer
  • BaseDelivzoneQuery
  • BaseDocument
  • BaseDocumentDesc
  • BaseDocumentDescPeer
  • BaseDocumentDescQuery
  • BaseDocumentI18n
  • BaseDocumentI18nPeer
  • BaseDocumentI18nQuery
  • BaseDocumentPeer
  • BaseDocumentQuery
  • BaseFeature
  • BaseFeatureAv
  • BaseFeatureAvDesc
  • BaseFeatureAvDescPeer
  • BaseFeatureAvDescQuery
  • BaseFeatureAvI18n
  • BaseFeatureAvI18nPeer
  • BaseFeatureAvI18nQuery
  • BaseFeatureAvPeer
  • BaseFeatureAvQuery
  • BaseFeatureCategory
  • BaseFeatureCategoryPeer
  • BaseFeatureCategoryQuery
  • BaseFeatureDesc
  • BaseFeatureDescPeer
  • BaseFeatureDescQuery
  • BaseFeatureI18n
  • BaseFeatureI18nPeer
  • BaseFeatureI18nQuery
  • BaseFeaturePeer
  • BaseFeatureProd
  • BaseFeatureProdPeer
  • BaseFeatureProdQuery
  • BaseFeatureQuery
  • BaseFolder
  • BaseFolderDesc
  • BaseFolderDescPeer
  • BaseFolderDescQuery
  • BaseFolderI18n
  • BaseFolderI18nPeer
  • BaseFolderI18nQuery
  • BaseFolderPeer
  • BaseFolderQuery
  • BaseFolderVersion
  • BaseFolderVersionPeer
  • BaseFolderVersionQuery
  • BaseGroup
  • BaseGroupDesc
  • BaseGroupDescPeer
  • BaseGroupDescQuery
  • BaseGroupI18n
  • BaseGroupI18nPeer
  • BaseGroupI18nQuery
  • BaseGroupModule
  • BaseGroupModulePeer
  • BaseGroupModuleQuery
  • BaseGroupPeer
  • BaseGroupQuery
  • BaseGroupResource
  • BaseGroupResourcePeer
  • BaseGroupResourceQuery
  • BaseImage
  • BaseImageDesc
  • BaseImageDescPeer
  • BaseImageDescQuery
  • BaseImageI18n
  • BaseImageI18nPeer
  • BaseImageI18nQuery
  • BaseImagePeer
  • BaseImageQuery
  • BaseLang
  • BaseLangPeer
  • BaseLangQuery
  • BaseMessage
  • BaseMessageDesc
  • BaseMessageDescPeer
  • BaseMessageDescQuery
  • BaseMessageI18n
  • BaseMessageI18nPeer
  • BaseMessageI18nQuery
  • BaseMessagePeer
  • BaseMessageQuery
  • BaseMessageVersion
  • BaseMessageVersionPeer
  • BaseMessageVersionQuery
  • BaseModuleDesc
  • BaseModuleDescPeer
  • BaseModuleDescQuery
  • BaseModuleI18n
  • BaseModuleI18nPeer
  • BaseModuleI18nQuery
  • BaseModulePeer
  • BaseOrder
  • BaseOrderAddress
  • BaseOrderAddressPeer
  • BaseOrderAddressQuery
  • BaseOrderFeature
  • BaseOrderFeaturePeer
  • BaseOrderFeatureQuery
  • BaseOrderPeer
  • BaseOrderProduct
  • BaseOrderProductPeer
  • BaseOrderProductQuery
  • BaseOrderQuery
  • BaseOrderStatus
  • BaseOrderStatusDesc
  • BaseOrderStatusDescPeer
  • BaseOrderStatusDescQuery
  • BaseOrderStatusI18n
  • BaseOrderStatusI18nPeer
  • BaseOrderStatusI18nQuery
  • BaseOrderStatusPeer
  • BaseOrderStatusQuery
  • BaseProduct
  • BaseProductCategory
  • BaseProductCategoryPeer
  • BaseProductCategoryQuery
  • BaseProductDesc
  • BaseProductDescPeer
  • BaseProductDescQuery
  • BaseProductI18n
  • BaseProductI18nPeer
  • BaseProductI18nQuery
  • BaseProductPeer
  • BaseProductQuery
  • BaseProductVersion
  • BaseProductVersionPeer
  • BaseProductVersionQuery
  • BaseResource
  • BaseResourceDesc
  • BaseResourceDescPeer
  • BaseResourceDescQuery
  • BaseResourceI18n
  • BaseResourceI18nPeer
  • BaseResourceI18nQuery
  • BaseResourcePeer
  • BaseResourceQuery
  • BaseRewriting
  • BaseRewritingPeer
  • BaseRewritingQuery
  • BaseStock
  • BaseStockPeer
  • BaseStockQuery
  • BaseTax
  • BaseTaxDesc
  • BaseTaxDescPeer
  • BaseTaxDescQuery
  • BaseTaxI18n
  • BaseTaxI18nPeer
  • BaseTaxI18nQuery
  • BaseTaxPeer
  • BaseTaxQuery
  • BaseTaxRule
  • BaseTaxRuleCountry
  • BaseTaxRuleCountryPeer
  • BaseTaxRuleCountryQuery
  • BaseTaxRuleDesc
  • BaseTaxRuleDescPeer
  • BaseTaxRuleDescQuery
  • BaseTaxRuleI18n
  • BaseTaxRuleI18nPeer
  • BaseTaxRuleI18nQuery
  • BaseTaxRulePeer
  • BaseTaxRuleQuery
  • Overview
  • Namespace
  • Class
  • Tree

Class BaseCustomerQuery

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

ModelCriteria
Extended by Thelia\Model\om\BaseCustomerQuery

Direct known subclasses

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

Initializes internal state of BaseCustomerQuery object.

Initializes internal state of BaseCustomerQuery 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\CustomerQuery
# create( string $modelAlias = null, Thelia\Model\CustomerQuery|Criteria $criteria = null )

Returns a new CustomerQuery object.

Returns a new CustomerQuery object.

Parameters

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

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\Customer|Thelia\Model\Customer[]|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\Customer|Thelia\Model\Customer[]|mixed
the result, formatted by the current formatter
public Thelia\Model\Customer
# 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\Customer
A model object, or null if the key is not found

Throws

PropelException
protected Thelia\Model\Customer
# 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\Customer
A model object, or null if the key is not found

Throws

PropelException
protected Thelia\Model\Customer|Thelia\Model\Customer[]|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\Customer|Thelia\Model\Customer[]|mixed
the result, formatted by the current formatter
public PropelObjectCollection|Thelia\Model\Customer[]|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\Customer[]|mixed
the list of results, formatted by the current formatter
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByRef( string $ref = null, string $comparison = null )

Filter the query on the ref column

Filter the query on the ref column

Example usage:

$query->filterByRef('fooValue');   // WHERE ref = 'fooValue'
$query->filterByRef('%fooValue%'); // WHERE ref LIKE '%fooValue%'

Parameters

$ref
string
$ref 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByCustomerTitleId( mixed $customerTitleId = null, string $comparison = null )

Filter the query on the customer_title_id column

Filter the query on the customer_title_id column

Example usage:

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

Parameters

$customerTitleId
mixed
$customerTitleId 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\CustomerQuery
The current query, for fluid interface

See

Thelia\Model\om\BaseCustomerQuery::filterByCustomerTitle()
public Thelia\Model\CustomerQuery
# filterByCompany( string $company = null, string $comparison = null )

Filter the query on the company column

Filter the query on the company column

Example usage:

$query->filterByCompany('fooValue');   // WHERE company = 'fooValue'
$query->filterByCompany('%fooValue%'); // WHERE company LIKE '%fooValue%'

Parameters

$company
string
$company 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByFirstname( string $firstname = null, string $comparison = null )

Filter the query on the firstname column

Filter the query on the firstname column

Example usage:

$query->filterByFirstname('fooValue');   // WHERE firstname = 'fooValue'
$query->filterByFirstname('%fooValue%'); // WHERE firstname LIKE '%fooValue%'

Parameters

$firstname
string
$firstname 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByLastname( string $lastname = null, string $comparison = null )

Filter the query on the lastname column

Filter the query on the lastname column

Example usage:

$query->filterByLastname('fooValue');   // WHERE lastname = 'fooValue'
$query->filterByLastname('%fooValue%'); // WHERE lastname LIKE '%fooValue%'

Parameters

$lastname
string
$lastname 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByAddress1( string $address1 = null, string $comparison = null )

Filter the query on the address1 column

Filter the query on the address1 column

Example usage:

$query->filterByAddress1('fooValue');   // WHERE address1 = 'fooValue'
$query->filterByAddress1('%fooValue%'); // WHERE address1 LIKE '%fooValue%'

Parameters

$address1
string
$address1 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByAddress2( string $address2 = null, string $comparison = null )

Filter the query on the address2 column

Filter the query on the address2 column

Example usage:

$query->filterByAddress2('fooValue');   // WHERE address2 = 'fooValue'
$query->filterByAddress2('%fooValue%'); // WHERE address2 LIKE '%fooValue%'

Parameters

$address2
string
$address2 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByAddress3( string $address3 = null, string $comparison = null )

Filter the query on the address3 column

Filter the query on the address3 column

Example usage:

$query->filterByAddress3('fooValue');   // WHERE address3 = 'fooValue'
$query->filterByAddress3('%fooValue%'); // WHERE address3 LIKE '%fooValue%'

Parameters

$address3
string
$address3 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByZipcode( string $zipcode = null, string $comparison = null )

Filter the query on the zipcode column

Filter the query on the zipcode column

Example usage:

$query->filterByZipcode('fooValue');   // WHERE zipcode = 'fooValue'
$query->filterByZipcode('%fooValue%'); // WHERE zipcode LIKE '%fooValue%'

Parameters

$zipcode
string
$zipcode 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByCity( string $city = null, string $comparison = null )

Filter the query on the city column

Filter the query on the city column

Example usage:

$query->filterByCity('fooValue');   // WHERE city = 'fooValue'
$query->filterByCity('%fooValue%'); // WHERE city LIKE '%fooValue%'

Parameters

$city
string
$city 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByCountryId( mixed $countryId = null, string $comparison = null )

Filter the query on the country_id column

Filter the query on the country_id column

Example usage:

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

Parameters

$countryId
mixed
$countryId 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByPhone( string $phone = null, string $comparison = null )

Filter the query on the phone column

Filter the query on the phone column

Example usage:

$query->filterByPhone('fooValue');   // WHERE phone = 'fooValue'
$query->filterByPhone('%fooValue%'); // WHERE phone LIKE '%fooValue%'

Parameters

$phone
string
$phone 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByCellphone( string $cellphone = null, string $comparison = null )

Filter the query on the cellphone column

Filter the query on the cellphone column

Example usage:

$query->filterByCellphone('fooValue');   // WHERE cellphone = 'fooValue'
$query->filterByCellphone('%fooValue%'); // WHERE cellphone LIKE '%fooValue%'

Parameters

$cellphone
string
$cellphone 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByEmail( string $email = null, string $comparison = null )

Filter the query on the email column

Filter the query on the email column

Example usage:

$query->filterByEmail('fooValue');   // WHERE email = 'fooValue'
$query->filterByEmail('%fooValue%'); // WHERE email LIKE '%fooValue%'

Parameters

$email
string
$email 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByPassword( string $password = null, string $comparison = null )

Filter the query on the password column

Filter the query on the password column

Example usage:

$query->filterByPassword('fooValue');   // WHERE password = 'fooValue'
$query->filterByPassword('%fooValue%'); // WHERE password LIKE '%fooValue%'

Parameters

$password
string
$password 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByAlgo( string $algo = null, string $comparison = null )

Filter the query on the algo column

Filter the query on the algo column

Example usage:

$query->filterByAlgo('fooValue');   // WHERE algo = 'fooValue'
$query->filterByAlgo('%fooValue%'); // WHERE algo LIKE '%fooValue%'

Parameters

$algo
string
$algo 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterBySalt( string $salt = null, string $comparison = null )

Filter the query on the salt column

Filter the query on the salt column

Example usage:

$query->filterBySalt('fooValue');   // WHERE salt = 'fooValue'
$query->filterBySalt('%fooValue%'); // WHERE salt LIKE '%fooValue%'

Parameters

$salt
string
$salt 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByReseller( mixed $reseller = null, string $comparison = null )

Filter the query on the reseller column

Filter the query on the reseller column

Example usage:

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

Parameters

$reseller
mixed
$reseller 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByLang( string $lang = null, string $comparison = null )

Filter the query on the lang column

Filter the query on the lang column

Example usage:

$query->filterByLang('fooValue');   // WHERE lang = 'fooValue'
$query->filterByLang('%fooValue%'); // WHERE lang LIKE '%fooValue%'

Parameters

$lang
string
$lang 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterBySponsor( string $sponsor = null, string $comparison = null )

Filter the query on the sponsor column

Filter the query on the sponsor column

Example usage:

$query->filterBySponsor('fooValue');   // WHERE sponsor = 'fooValue'
$query->filterBySponsor('%fooValue%'); // WHERE sponsor LIKE '%fooValue%'

Parameters

$sponsor
string
$sponsor 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByDiscount( mixed $discount = null, string $comparison = null )

Filter the query on the discount column

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

Parameters

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

Returns

Thelia\Model\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# filterByCustomerTitle( Thelia\Model\CustomerTitle|PropelObjectCollection $customerTitle, string $comparison = null )

Filter the query by a related CustomerTitle object

Filter the query by a related CustomerTitle object

Parameters

$customerTitle
Thelia\Model\CustomerTitle|PropelObjectCollection
$customerTitle 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\CustomerQuery
The current query, for fluid interface

Throws

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

Adds a JOIN clause to the query using the CustomerTitle relation

Adds a JOIN clause to the query using the CustomerTitle 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerTitleQuery
# useCustomerTitleQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )

Use the CustomerTitle relation CustomerTitle object

Use the CustomerTitle relation CustomerTitle 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\CustomerTitleQuery
A secondary query class using the current class as primary query

See

useQuery()
public Thelia\Model\CustomerQuery
# filterByAddress( Thelia\Model\Address|PropelObjectCollection $address, string $comparison = null )

Filter the query by a related Address object

Filter the query by a related Address object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the Address relation

Adds a JOIN clause to the query using the Address 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\AddressQuery
# useAddressQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )

Use the Address relation Address object

Use the Address relation Address 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\AddressQuery
A secondary query class using the current class as primary query

See

useQuery()
public Thelia\Model\CustomerQuery
# 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 to use as filter
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

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

Throws

PropelException
- if the provided filter is invalid.
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
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\CustomerQuery
# prune( Thelia\Model\Customer $customer = null )

Exclude object from result

Exclude object from result

Parameters

$customer
Thelia\Model\Customer
$customer Object to remove from the list of results

Returns

Thelia\Model\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# lastUpdatedFirst( )

Order by update date desc

Order by update date desc

Returns

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

Order by update date asc

Order by update date asc

Returns

Thelia\Model\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
The current query, for fluid interface
public Thelia\Model\CustomerQuery
# lastCreatedFirst( )

Order by create date desc

Order by create date desc

Returns

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

Order by create date asc

Order by create date asc

Returns

Thelia\Model\CustomerQuery
The current query, for fluid interface
Magic methods summary
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByRef( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the ref column

Order by the ref column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByCustomerTitleId( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the customer_title_id column

Order by the customer_title_id column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByCompany( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the company column

Order by the company column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByFirstname( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the firstname column

Order by the firstname column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByLastname( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the lastname column

Order by the lastname column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByAddress1( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the address1 column

Order by the address1 column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByAddress2( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the address2 column

Order by the address2 column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByAddress3( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the address3 column

Order by the address3 column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByZipcode( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the zipcode column

Order by the zipcode column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByCity( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the city column

Order by the city column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByCountryId( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the country_id column

Order by the country_id column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByPhone( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the phone column

Order by the phone column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByCellphone( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the cellphone column

Order by the cellphone column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByEmail( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the email column

Order by the email column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByPassword( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the password column

Order by the password column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByAlgo( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the algo column

Order by the algo column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderBySalt( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the salt column

Order by the salt column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByReseller( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the reseller column

Order by the reseller column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByLang( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the lang column

Order by the lang column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderBySponsor( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the sponsor column

Order by the sponsor column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# orderByDiscount( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the discount column

Order by the discount column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\CustomerQuery
# groupById( )

Group by the id column

Group by the id column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByRef( )

Group by the ref column

Group by the ref column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByCustomerTitleId( )

Group by the customer_title_id column

Group by the customer_title_id column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByCompany( )

Group by the company column

Group by the company column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByFirstname( )

Group by the firstname column

Group by the firstname column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByLastname( )

Group by the lastname column

Group by the lastname column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByAddress1( )

Group by the address1 column

Group by the address1 column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByAddress2( )

Group by the address2 column

Group by the address2 column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByAddress3( )

Group by the address3 column

Group by the address3 column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByZipcode( )

Group by the zipcode column

Group by the zipcode column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByCity( )

Group by the city column

Group by the city column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByCountryId( )

Group by the country_id column

Group by the country_id column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByPhone( )

Group by the phone column

Group by the phone column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByCellphone( )

Group by the cellphone column

Group by the cellphone column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByEmail( )

Group by the email column

Group by the email column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByPassword( )

Group by the password column

Group by the password column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByAlgo( )

Group by the algo column

Group by the algo column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupBySalt( )

Group by the salt column

Group by the salt column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByReseller( )

Group by the reseller column

Group by the reseller column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByLang( )

Group by the lang column

Group by the lang column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupBySponsor( )

Group by the sponsor column

Group by the sponsor column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# groupByDiscount( )

Group by the discount column

Group by the discount column

Returns

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

Group by the created_at column

Group by the created_at column

Returns

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

Group by the updated_at column

Group by the updated_at column

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\CustomerQuery
# leftJoinCustomerTitle( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# rightJoinCustomerTitle( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# innerJoinCustomerTitle( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# leftJoinAddress( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# rightJoinAddress( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# innerJoinAddress( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CustomerQuery
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\CustomerQuery
# 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\CustomerQuery
public Thelia\Model\Customer
# findOne( PropelPDO $con = null )

Return the first Customer matching the query

Return the first Customer matching the query

Parameters

$con
PropelPDO
$con

Returns

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

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

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

Parameters

$con
PropelPDO
$con

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByRef( string $ref = )

Return the first Customer filtered by the ref column

Return the first Customer filtered by the ref column

Parameters

$ref
string
$ref

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByCustomerTitleId( integer $customer_title_id = )

Return the first Customer filtered by the customer_title_id column

Return the first Customer filtered by the customer_title_id column

Parameters

$customer_title_id
integer
$customer_title_id

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByCompany( string $company = )

Return the first Customer filtered by the company column

Return the first Customer filtered by the company column

Parameters

$company
string
$company

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByFirstname( string $firstname = )

Return the first Customer filtered by the firstname column

Return the first Customer filtered by the firstname column

Parameters

$firstname
string
$firstname

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByLastname( string $lastname = )

Return the first Customer filtered by the lastname column

Return the first Customer filtered by the lastname column

Parameters

$lastname
string
$lastname

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByAddress1( string $address1 = )

Return the first Customer filtered by the address1 column

Return the first Customer filtered by the address1 column

Parameters

$address1
string
$address1

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByAddress2( string $address2 = )

Return the first Customer filtered by the address2 column

Return the first Customer filtered by the address2 column

Parameters

$address2
string
$address2

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByAddress3( string $address3 = )

Return the first Customer filtered by the address3 column

Return the first Customer filtered by the address3 column

Parameters

$address3
string
$address3

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByZipcode( string $zipcode = )

Return the first Customer filtered by the zipcode column

Return the first Customer filtered by the zipcode column

Parameters

$zipcode
string
$zipcode

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByCity( string $city = )

Return the first Customer filtered by the city column

Return the first Customer filtered by the city column

Parameters

$city
string
$city

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByCountryId( integer $country_id = )

Return the first Customer filtered by the country_id column

Return the first Customer filtered by the country_id column

Parameters

$country_id
integer
$country_id

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByPhone( string $phone = )

Return the first Customer filtered by the phone column

Return the first Customer filtered by the phone column

Parameters

$phone
string
$phone

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByCellphone( string $cellphone = )

Return the first Customer filtered by the cellphone column

Return the first Customer filtered by the cellphone column

Parameters

$cellphone
string
$cellphone

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByEmail( string $email = )

Return the first Customer filtered by the email column

Return the first Customer filtered by the email column

Parameters

$email
string
$email

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByPassword( string $password = )

Return the first Customer filtered by the password column

Return the first Customer filtered by the password column

Parameters

$password
string
$password

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByAlgo( string $algo = )

Return the first Customer filtered by the algo column

Return the first Customer filtered by the algo column

Parameters

$algo
string
$algo

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneBySalt( string $salt = )

Return the first Customer filtered by the salt column

Return the first Customer filtered by the salt column

Parameters

$salt
string
$salt

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByReseller( integer $reseller = )

Return the first Customer filtered by the reseller column

Return the first Customer filtered by the reseller column

Parameters

$reseller
integer
$reseller

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByLang( string $lang = )

Return the first Customer filtered by the lang column

Return the first Customer filtered by the lang column

Parameters

$lang
string
$lang

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneBySponsor( string $sponsor = )

Return the first Customer filtered by the sponsor column

Return the first Customer filtered by the sponsor column

Parameters

$sponsor
string
$sponsor

Returns

Thelia\Model\Customer
public Thelia\Model\Customer
# findOneByDiscount( float $discount = )

Return the first Customer filtered by the discount column

Return the first Customer filtered by the discount column

Parameters

$discount
float
$discount

Returns

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

Return the first Customer filtered by the created_at column

Return the first Customer filtered by the created_at column

Parameters

$created_at
string
$created_at

Returns

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

Return the first Customer filtered by the updated_at column

Return the first Customer filtered by the updated_at column

Parameters

$updated_at
string
$updated_at

Returns

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

Return Customer objects filtered by the id column

Return Customer objects filtered by the id column

Parameters

$id
integer
$id

Returns

array
public array
# findByRef( string $ref = )

Return Customer objects filtered by the ref column

Return Customer objects filtered by the ref column

Parameters

$ref
string
$ref

Returns

array
public array
# findByCustomerTitleId( integer $customer_title_id = )

Return Customer objects filtered by the customer_title_id column

Return Customer objects filtered by the customer_title_id column

Parameters

$customer_title_id
integer
$customer_title_id

Returns

array
public array
# findByCompany( string $company = )

Return Customer objects filtered by the company column

Return Customer objects filtered by the company column

Parameters

$company
string
$company

Returns

array
public array
# findByFirstname( string $firstname = )

Return Customer objects filtered by the firstname column

Return Customer objects filtered by the firstname column

Parameters

$firstname
string
$firstname

Returns

array
public array
# findByLastname( string $lastname = )

Return Customer objects filtered by the lastname column

Return Customer objects filtered by the lastname column

Parameters

$lastname
string
$lastname

Returns

array
public array
# findByAddress1( string $address1 = )

Return Customer objects filtered by the address1 column

Return Customer objects filtered by the address1 column

Parameters

$address1
string
$address1

Returns

array
public array
# findByAddress2( string $address2 = )

Return Customer objects filtered by the address2 column

Return Customer objects filtered by the address2 column

Parameters

$address2
string
$address2

Returns

array
public array
# findByAddress3( string $address3 = )

Return Customer objects filtered by the address3 column

Return Customer objects filtered by the address3 column

Parameters

$address3
string
$address3

Returns

array
public array
# findByZipcode( string $zipcode = )

Return Customer objects filtered by the zipcode column

Return Customer objects filtered by the zipcode column

Parameters

$zipcode
string
$zipcode

Returns

array
public array
# findByCity( string $city = )

Return Customer objects filtered by the city column

Return Customer objects filtered by the city column

Parameters

$city
string
$city

Returns

array
public array
# findByCountryId( integer $country_id = )

Return Customer objects filtered by the country_id column

Return Customer objects filtered by the country_id column

Parameters

$country_id
integer
$country_id

Returns

array
public array
# findByPhone( string $phone = )

Return Customer objects filtered by the phone column

Return Customer objects filtered by the phone column

Parameters

$phone
string
$phone

Returns

array
public array
# findByCellphone( string $cellphone = )

Return Customer objects filtered by the cellphone column

Return Customer objects filtered by the cellphone column

Parameters

$cellphone
string
$cellphone

Returns

array
public array
# findByEmail( string $email = )

Return Customer objects filtered by the email column

Return Customer objects filtered by the email column

Parameters

$email
string
$email

Returns

array
public array
# findByPassword( string $password = )

Return Customer objects filtered by the password column

Return Customer objects filtered by the password column

Parameters

$password
string
$password

Returns

array
public array
# findByAlgo( string $algo = )

Return Customer objects filtered by the algo column

Return Customer objects filtered by the algo column

Parameters

$algo
string
$algo

Returns

array
public array
# findBySalt( string $salt = )

Return Customer objects filtered by the salt column

Return Customer objects filtered by the salt column

Parameters

$salt
string
$salt

Returns

array
public array
# findByReseller( integer $reseller = )

Return Customer objects filtered by the reseller column

Return Customer objects filtered by the reseller column

Parameters

$reseller
integer
$reseller

Returns

array
public array
# findByLang( string $lang = )

Return Customer objects filtered by the lang column

Return Customer objects filtered by the lang column

Parameters

$lang
string
$lang

Returns

array
public array
# findBySponsor( string $sponsor = )

Return Customer objects filtered by the sponsor column

Return Customer objects filtered by the sponsor column

Parameters

$sponsor
string
$sponsor

Returns

array
public array
# findByDiscount( float $discount = )

Return Customer objects filtered by the discount column

Return Customer objects filtered by the discount column

Parameters

$discount
float
$discount

Returns

array
public array
# findByCreatedAt( string $created_at = )

Return Customer objects filtered by the created_at column

Return Customer objects filtered by the created_at column

Parameters

$created_at
string
$created_at

Returns

array
public array
# findByUpdatedAt( string $updated_at = )

Return Customer objects filtered by the updated_at column

Return Customer objects filtered by the updated_at column

Parameters

$updated_at
string
$updated_at

Returns

array
thelia API documentation generated by ApiGen 2.8.0