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 BaseCategoryQuery

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

ModelCriteria
Extended by Thelia\Model\om\BaseCategoryQuery

Direct known subclasses

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

Initializes internal state of BaseCategoryQuery object.

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

Returns a new CategoryQuery object.

Returns a new CategoryQuery object.

Parameters

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

Returns

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

Throws

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

Throws

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

Filter the query on the link column

Filter the query on the link column

Example usage:

$query->filterByLink('fooValue');   // WHERE link = 'fooValue'
$query->filterByLink('%fooValue%'); // WHERE link LIKE '%fooValue%'

Parameters

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

Filter the query on the visible column

Filter the query on the visible column

Example usage:

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

Parameters

$visible
mixed
$visible 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\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# 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
$query->filterByPosition(array('max' => 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\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# 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\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# 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\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# filterByVersion( mixed $version = null, string $comparison = null )

Filter the query on the version column

Filter the query on the version column

Example usage:

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

Parameters

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

Returns

Thelia\Model\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# filterByVersionCreatedAt( mixed $versionCreatedAt = null, string $comparison = null )

Filter the query on the version_created_at column

Filter the query on the version_created_at column

Example usage:

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

Parameters

$versionCreatedAt
mixed
$versionCreatedAt The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
$comparison
string
$comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Returns

Thelia\Model\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# filterByVersionCreatedBy( string $versionCreatedBy = null, string $comparison = null )

Filter the query on the version_created_by column

Filter the query on the version_created_by column

Example usage:

$query->filterByVersionCreatedBy('fooValue');   // WHERE version_created_by = 'fooValue'
$query->filterByVersionCreatedBy('%fooValue%'); // WHERE version_created_by LIKE '%fooValue%'

Parameters

$versionCreatedBy
string
$versionCreatedBy 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\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# filterByProductCategory( Thelia\Model\ProductCategory|PropelObjectCollection $productCategory, string $comparison = null )

Filter the query by a related ProductCategory object

Filter the query by a related ProductCategory object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the ProductCategory relation

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

Use the ProductCategory relation ProductCategory object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# filterByFeatureCategory( Thelia\Model\FeatureCategory|PropelObjectCollection $featureCategory, string $comparison = null )

Filter the query by a related FeatureCategory object

Filter the query by a related FeatureCategory object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the FeatureCategory relation

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

Use the FeatureCategory relation FeatureCategory object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# filterByAttributeCategory( Thelia\Model\AttributeCategory|PropelObjectCollection $attributeCategory, string $comparison = null )

Filter the query by a related AttributeCategory object

Filter the query by a related AttributeCategory object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the AttributeCategory relation

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

Use the AttributeCategory relation AttributeCategory object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# filterByContentAssoc( Thelia\Model\ContentAssoc|PropelObjectCollection $contentAssoc, string $comparison = null )

Filter the query by a related ContentAssoc object

Filter the query by a related ContentAssoc object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the ContentAssoc relation

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

Use the ContentAssoc relation ContentAssoc object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# filterByImage( Thelia\Model\Image|PropelObjectCollection $image, string $comparison = null )

Filter the query by a related Image object

Filter the query by a related Image object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the Image relation

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

Use the Image relation Image object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# filterByDocument( Thelia\Model\Document|PropelObjectCollection $document, string $comparison = null )

Filter the query by a related Document object

Filter the query by a related Document object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the Document relation

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

Use the Document relation Document object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# filterByRewriting( Thelia\Model\Rewriting|PropelObjectCollection $rewriting, string $comparison = null )

Filter the query by a related Rewriting object

Filter the query by a related Rewriting object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the Rewriting relation

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

Use the Rewriting relation Rewriting object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# filterByCategoryI18n( Thelia\Model\CategoryI18n|PropelObjectCollection $categoryI18n, string $comparison = null )

Filter the query by a related CategoryI18n object

Filter the query by a related CategoryI18n object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the CategoryI18n relation

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

Use the CategoryI18n relation CategoryI18n object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# filterByCategoryVersion( Thelia\Model\CategoryVersion|PropelObjectCollection $categoryVersion, string $comparison = null )

Filter the query by a related CategoryVersion object

Filter the query by a related CategoryVersion object

Parameters

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

Returns

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

Throws

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

Adds a JOIN clause to the query using the CategoryVersion relation

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

Use the CategoryVersion relation CategoryVersion object

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

See

useQuery()
public Thelia\Model\CategoryQuery
# prune( Thelia\Model\Category $category = null )

Exclude object from result

Exclude object from result

Parameters

$category
Thelia\Model\Category
$category Object to remove from the list of results

Returns

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

Order by update date desc

Order by update date desc

Returns

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

Order by update date asc

Order by update date asc

Returns

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

Order by create date desc

Order by create date desc

Returns

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

Order by create date asc

Order by create date asc

Returns

Thelia\Model\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# joinI18n( string $locale = 'en_US', 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\CategoryQuery
The current query, for fluid interface
public Thelia\Model\CategoryQuery
# joinWithI18n( string $locale = 'en_US', 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\CategoryQuery
The current query, for fluid interface
public CategoryI18nQuery
# useI18nQuery( string $locale = 'en_US', 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

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

See

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

Order by the link column

Order by the link column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# orderByVisible( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the visible column

Order by the visible column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# 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\CategoryQuery
public Thelia\Model\CategoryQuery
# 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\CategoryQuery
public Thelia\Model\CategoryQuery
# 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\CategoryQuery
public Thelia\Model\CategoryQuery
# orderByVersion( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the version column

Order by the version column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# orderByVersionCreatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the version_created_at column

Order by the version_created_at column

Parameters

$order
mixed
$order

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# orderByVersionCreatedBy( mixed $order = Thelia\Model\om\Criteria::ASC )

Order by the version_created_by column

Order by the version_created_by column

Parameters

$order
mixed
$order

Returns

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

Group by the id column

Group by the id column

Returns

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

Group by the parent column

Group by the parent column

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# groupByLink( )

Group by the link column

Group by the link column

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# groupByVisible( )

Group by the visible column

Group by the visible column

Returns

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

Group by the position column

Group by the position column

Returns

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

Group by the created_at column

Group by the created_at column

Returns

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

Group by the updated_at column

Group by the updated_at column

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# groupByVersion( )

Group by the version column

Group by the version column

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# groupByVersionCreatedAt( )

Group by the version_created_at column

Group by the version_created_at column

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# groupByVersionCreatedBy( )

Group by the version_created_by column

Group by the version_created_by column

Returns

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

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinProductCategory( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinProductCategory( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# leftJoinFeatureCategory( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinFeatureCategory( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinFeatureCategory( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# leftJoinAttributeCategory( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinAttributeCategory( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinAttributeCategory( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# leftJoinContentAssoc( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinContentAssoc( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinContentAssoc( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# leftJoinImage( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinImage( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinImage( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# leftJoinDocument( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinDocument( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinDocument( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# leftJoinRewriting( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinRewriting( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinRewriting( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# leftJoinCategoryI18n( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinCategoryI18n( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinCategoryI18n( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# leftJoinCategoryVersion( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# rightJoinCategoryVersion( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\CategoryQuery
# innerJoinCategoryVersion( mixed $relationAlias = null )

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

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

Parameters

$relationAlias
mixed
$relationAlias

Returns

Thelia\Model\CategoryQuery
public Thelia\Model\Category
# findOne( PropelPDO $con = null )

Return the first Category matching the query

Return the first Category matching the query

Parameters

$con
PropelPDO
$con

Returns

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

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

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

Parameters

$con
PropelPDO
$con

Returns

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

Return the first Category filtered by the parent column

Return the first Category filtered by the parent column

Parameters

$parent
integer
$parent

Returns

Thelia\Model\Category
public Thelia\Model\Category
# findOneByLink( string $link = )

Return the first Category filtered by the link column

Return the first Category filtered by the link column

Parameters

$link
string
$link

Returns

Thelia\Model\Category
public Thelia\Model\Category
# findOneByVisible( integer $visible = )

Return the first Category filtered by the visible column

Return the first Category filtered by the visible column

Parameters

$visible
integer
$visible

Returns

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

Return the first Category filtered by the position column

Return the first Category filtered by the position column

Parameters

$position
integer
$position

Returns

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

Return the first Category filtered by the created_at column

Return the first Category filtered by the created_at column

Parameters

$created_at
string
$created_at

Returns

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

Return the first Category filtered by the updated_at column

Return the first Category filtered by the updated_at column

Parameters

$updated_at
string
$updated_at

Returns

Thelia\Model\Category
public Thelia\Model\Category
# findOneByVersion( integer $version = )

Return the first Category filtered by the version column

Return the first Category filtered by the version column

Parameters

$version
integer
$version

Returns

Thelia\Model\Category
public Thelia\Model\Category
# findOneByVersionCreatedAt( string $version_created_at = )

Return the first Category filtered by the version_created_at column

Return the first Category filtered by the version_created_at column

Parameters

$version_created_at
string
$version_created_at

Returns

Thelia\Model\Category
public Thelia\Model\Category
# findOneByVersionCreatedBy( string $version_created_by = )

Return the first Category filtered by the version_created_by column

Return the first Category filtered by the version_created_by column

Parameters

$version_created_by
string
$version_created_by

Returns

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

Return Category objects filtered by the id column

Return Category objects filtered by the id column

Parameters

$id
integer
$id

Returns

array
public array
# findByParent( integer $parent = )

Return Category objects filtered by the parent column

Return Category objects filtered by the parent column

Parameters

$parent
integer
$parent

Returns

array
public array
# findByLink( string $link = )

Return Category objects filtered by the link column

Return Category objects filtered by the link column

Parameters

$link
string
$link

Returns

array
public array
# findByVisible( integer $visible = )

Return Category objects filtered by the visible column

Return Category objects filtered by the visible column

Parameters

$visible
integer
$visible

Returns

array
public array
# findByPosition( integer $position = )

Return Category objects filtered by the position column

Return Category objects filtered by the position column

Parameters

$position
integer
$position

Returns

array
public array
# findByCreatedAt( string $created_at = )

Return Category objects filtered by the created_at column

Return Category objects filtered by the created_at column

Parameters

$created_at
string
$created_at

Returns

array
public array
# findByUpdatedAt( string $updated_at = )

Return Category objects filtered by the updated_at column

Return Category objects filtered by the updated_at column

Parameters

$updated_at
string
$updated_at

Returns

array
public array
# findByVersion( integer $version = )

Return Category objects filtered by the version column

Return Category objects filtered by the version column

Parameters

$version
integer
$version

Returns

array
public array
# findByVersionCreatedAt( string $version_created_at = )

Return Category objects filtered by the version_created_at column

Return Category objects filtered by the version_created_at column

Parameters

$version_created_at
string
$version_created_at

Returns

array
public array
# findByVersionCreatedBy( string $version_created_by = )

Return Category objects filtered by the version_created_by column

Return Category objects filtered by the version_created_by column

Parameters

$version_created_by
string
$version_created_by

Returns

array
thelia API documentation generated by ApiGen 2.8.0