Overview

Namespaces

  • PHP
  • Thelia
    • Action
    • Controller
    • Core
      • Bundle
      • Event
      • EventListener
      • Template
    • Exception
    • Log
      • Destination
    • Model
      • map
      • om
    • Routing
      • Matcher
    • Tools

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 BaseAttributeAvQuery

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

ModelCriteria
Extended by Thelia\Model\om\BaseAttributeAvQuery

Direct known subclasses

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

Initializes internal state of BaseAttributeAvQuery object.

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

Returns a new AttributeAvQuery object.

Returns a new AttributeAvQuery object.

Parameters

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

Returns

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

Throws

PropelException
protected Thelia\Model\AttributeAv|Thelia\Model\AttributeAv[]|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\AttributeAv|Thelia\Model\AttributeAv[]|mixed
the result, formatted by the current formatter
public PropelObjectCollection|Thelia\Model\AttributeAv[]|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\AttributeAv[]|mixed
the list of results, formatted by the current formatter
public Thelia\Model\AttributeAvQuery
# 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\AttributeAvQuery
The current query, for fluid interface
public Thelia\Model\AttributeAvQuery
# 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\AttributeAvQuery
The current query, for fluid interface
public Thelia\Model\AttributeAvQuery
# 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

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

Filter the query on the attribute_id column

Filter the query on the attribute_id column

Example usage:

$query->filterByAttributeId(1234); // WHERE attribute_id = 1234
$query->filterByAttributeId(array(12, 34)); // WHERE attribute_id IN (12, 34)
$query->filterByAttributeId(array('min' => 12)); // WHERE attribute_id > 12

Parameters

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

See

Thelia\Model\om\BaseAttributeAvQuery::filterByAttribute()
public Thelia\Model\AttributeAvQuery
# filterByPosition( mixed $position = null, string $comparison = null )

Filter the query on the position column

Filter the query on the position column

Example usage:

$query->filterByPosition(1234); // WHERE position = 1234
$query->filterByPosition(array(12, 34)); // WHERE position IN (12, 34)
$query->filterByPosition(array('min' => 12)); // WHERE position > 12

Parameters

$position
mixed
$position 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\AttributeAvQuery
The current query, for fluid interface
public Thelia\Model\AttributeAvQuery
# 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\AttributeAvQuery
The current query, for fluid interface
public Thelia\Model\AttributeAvQuery
# 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\AttributeAvQuery
The current query, for fluid interface
public Thelia\Model\AttributeAvQuery
# filterByAttribute( Thelia\Model\Attribute|PropelObjectCollection $attribute, string $comparison = null )

Filter the query by a related Attribute object

Filter the query by a related Attribute object

Parameters

$attribute
Thelia\Model\Attribute|PropelObjectCollection
$attribute 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\AttributeAvQuery
The current query, for fluid interface

Throws

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

Adds a JOIN clause to the query using the Attribute relation

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

Use the Attribute relation Attribute object

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

See

useQuery()
public Thelia\Model\AttributeAvQuery
# filterByAttributeCombination( Thelia\Model\AttributeCombination|PropelObjectCollection $attributeCombination, string $comparison = null )

Filter the query by a related AttributeCombination object

Filter the query by a related AttributeCombination object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the AttributeCombination relation

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

Use the AttributeCombination relation AttributeCombination object

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

See

useQuery()
public Thelia\Model\AttributeAvQuery
# filterByAttributeAvI18n( Thelia\Model\AttributeAvI18n|PropelObjectCollection $attributeAvI18n, string $comparison = null )

Filter the query by a related AttributeAvI18n object

Filter the query by a related AttributeAvI18n object

Parameters

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

Returns

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

Throws

PropelException
- if the provided filter is invalid.
public Thelia\Model\AttributeAvQuery
# joinAttributeAvI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN' )

Adds a JOIN clause to the query using the AttributeAvI18n relation

Adds a JOIN clause to the query using the AttributeAvI18n 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\AttributeAvQuery
The current query, for fluid interface
public Thelia\Model\AttributeAvI18nQuery
# useAttributeAvI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN' )

Use the AttributeAvI18n relation AttributeAvI18n object

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

See

useQuery()
public Thelia\Model\AttributeAvQuery
# prune( Thelia\Model\AttributeAv $attributeAv = null )

Exclude object from result

Exclude object from result

Parameters

$attributeAv
Thelia\Model\AttributeAv
$attributeAv Object to remove from the list of results

Returns

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

Order by update date desc

Order by update date desc

Returns

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

Order by update date asc

Order by update date asc

Returns

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

Order by create date desc

Order by create date desc

Returns

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

Order by create date asc

Order by create date asc

Returns

Thelia\Model\AttributeAvQuery
The current query, for fluid interface
public Thelia\Model\AttributeAvQuery
# joinI18n( string $locale = 'en_EN', string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )

Adds a JOIN clause to the query using the i18n relation

Adds a JOIN clause to the query using the i18n relation

Parameters

$locale
string
$locale Locale to use for the join condition, e.g. 'fr_FR'
$relationAlias
string
$relationAlias optional alias for the relation
$joinType
string
$joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Returns

Thelia\Model\AttributeAvQuery
The current query, for fluid interface
public Thelia\Model\AttributeAvQuery
# joinWithI18n( string $locale = 'en_EN', string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )

Adds a JOIN clause to the query and hydrates the related I18n object. Shortcut for $c->joinI18n($locale)->with()

Adds a JOIN clause to the query and hydrates the related I18n object. Shortcut for $c->joinI18n($locale)->with()

Parameters

$locale
string
$locale Locale to use for the join condition, e.g. 'fr_FR'
$joinType
string
$joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Returns

Thelia\Model\AttributeAvQuery
The current query, for fluid interface
public AttributeAvI18nQuery
# useI18nQuery( string $locale = 'en_EN', string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )

Use the I18n relation query object

Use the I18n relation query object

Parameters

$locale
string
$locale Locale to use for the join condition, e.g. 'fr_FR'
$relationAlias
string
$relationAlias optional alias for the relation
$joinType
string
$joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Returns

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

See

useQuery()
Magic methods summary
public Thelia\Model\AttributeAvQuery
# 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\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# orderByAttributeId( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the attribute_id column

Order by the attribute_id column

Parameters

$order
mixed
$order

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# orderByPosition( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the position column

Order by the position column

Parameters

$order
mixed
$order

Returns

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

Group by the id column

Group by the id column

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# groupByAttributeId( )

Group by the attribute_id column

Group by the attribute_id column

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# groupByPosition( )

Group by the position column

Group by the position column

Returns

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

Group by the created_at column

Group by the created_at column

Returns

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

Group by the updated_at column

Group by the updated_at column

Returns

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

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# rightJoinAttribute( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# innerJoinAttribute( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# leftJoinAttributeCombination( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# rightJoinAttributeCombination( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# innerJoinAttributeCombination( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# leftJoinAttributeAvI18n( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# rightJoinAttributeAvI18n( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAvQuery
# innerJoinAttributeAvI18n( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\AttributeAvQuery
public Thelia\Model\AttributeAv
# findOne( PropelPDO $con = null )

Return the first AttributeAv matching the query

Return the first AttributeAv matching the query

Parameters

$con
PropelPDO
$con

Returns

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

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

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

Parameters

$con
PropelPDO
$con

Returns

Thelia\Model\AttributeAv
public Thelia\Model\AttributeAv
# findOneById( integer $id = )

Return the first AttributeAv filtered by the id column

Return the first AttributeAv filtered by the id column

Parameters

$id
integer
$id

Returns

Thelia\Model\AttributeAv
public Thelia\Model\AttributeAv
# findOneByAttributeId( integer $attribute_id = )

Return the first AttributeAv filtered by the attribute_id column

Return the first AttributeAv filtered by the attribute_id column

Parameters

$attribute_id
integer
$attribute_id

Returns

Thelia\Model\AttributeAv
public Thelia\Model\AttributeAv
# findOneByPosition( integer $position = )

Return the first AttributeAv filtered by the position column

Return the first AttributeAv filtered by the position column

Parameters

$position
integer
$position

Returns

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

Return the first AttributeAv filtered by the created_at column

Return the first AttributeAv filtered by the created_at column

Parameters

$created_at
string
$created_at

Returns

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

Return the first AttributeAv filtered by the updated_at column

Return the first AttributeAv filtered by the updated_at column

Parameters

$updated_at
string
$updated_at

Returns

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

Return AttributeAv objects filtered by the id column

Return AttributeAv objects filtered by the id column

Parameters

$id
integer
$id

Returns

array
public array
# findByAttributeId( integer $attribute_id = )

Return AttributeAv objects filtered by the attribute_id column

Return AttributeAv objects filtered by the attribute_id column

Parameters

$attribute_id
integer
$attribute_id

Returns

array
public array
# findByPosition( integer $position = )

Return AttributeAv objects filtered by the position column

Return AttributeAv objects filtered by the position column

Parameters

$position
integer
$position

Returns

array
public array
# findByCreatedAt( string $created_at = )

Return AttributeAv objects filtered by the created_at column

Return AttributeAv objects filtered by the created_at column

Parameters

$created_at
string
$created_at

Returns

array
public array
# findByUpdatedAt( string $updated_at = )

Return AttributeAv objects filtered by the updated_at column

Return AttributeAv objects filtered by the updated_at column

Parameters

$updated_at
string
$updated_at

Returns

array
thelia API documentation generated by ApiGen 2.8.0