# Class BaseContentAssocQuery

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

  ModelCriteria
  Thelia\Model\om\BaseContentAssocQuery

#### Direct known subclasses

Thelia\Model\ContentAssocQuery
Abstract
Namespace: Thelia\Model\om
Package: propel\generator\Thelia\Model\om
Located at core/lib/Thelia/Model/om/BaseContentAssocQuery.php

Methods summary
`public` | # `__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\ContentAssoc', string $modelAlias = null )` Initializes internal state of BaseContentAssocQuery object. Initializes internal state of BaseContentAssocQuery 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\ContentAssocQuery`` | # `create( string $modelAlias = null, `Thelia\Model\ContentAssocQuery`|Criteria $criteria = null )` Returns a new ContentAssocQuery object. Returns a new ContentAssocQuery object. #### Parameters $modelAlias `string` $modelAlias The alias of a model in the query $criteria ``Thelia\Model\ContentAssocQuery`|Criteria` $criteria Optional Criteria to build the query from #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssoc`|`Thelia\Model\ContentAssoc[]`|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\ContentAssoc`|`Thelia\Model\ContentAssoc[]`|mixed` the result, formatted by the current formatter
`public `Thelia\Model\ContentAssoc`` | # `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\ContentAssoc`` A model object, or null if the key is not found #### Throws `PropelException`
`protected `Thelia\Model\ContentAssoc`` | # `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\ContentAssoc`` A model object, or null if the key is not found #### Throws `PropelException`
`protected `Thelia\Model\ContentAssoc`|`Thelia\Model\ContentAssoc[]`|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\ContentAssoc`|`Thelia\Model\ContentAssoc[]`|mixed` the result, formatted by the current formatter
`public PropelObjectCollection|`Thelia\Model\ContentAssoc[]`|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\ContentAssoc[]`|mixed` the list of results, formatted by the current formatter
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `filterByCategoryId( mixed $categoryId = null, string $comparison = null )` Filter the query on the category_id column Filter the query on the category_id column Example usage:
    $query->filterByCategoryId(1234); // WHERE category_id = 1234
    $query->filterByCategoryId(array(12, 34)); // WHERE category_id IN (12, 34)
    $query->filterByCategoryId(array('min' => 12)); // WHERE category_id >= 12
    $query->filterByCategoryId(array('max' => 12)); // WHERE category_id <= 12
#### Parameters $categoryId `mixed` $categoryId 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\ContentAssocQuery`` The current query, for fluid interface #### See ``Thelia\Model\om\BaseContentAssocQuery::filterByCategory()``
`public `Thelia\Model\ContentAssocQuery`` | # `filterByProductId( mixed $productId = null, string $comparison = null )` Filter the query on the product_id column Filter the query on the product_id column Example usage:
    $query->filterByProductId(1234); // WHERE product_id = 1234
    $query->filterByProductId(array(12, 34)); // WHERE product_id IN (12, 34)
    $query->filterByProductId(array('min' => 12)); // WHERE product_id >= 12
    $query->filterByProductId(array('max' => 12)); // WHERE product_id <= 12
#### Parameters $productId `mixed` $productId 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\ContentAssocQuery`` The current query, for fluid interface #### See ``Thelia\Model\om\BaseContentAssocQuery::filterByProduct()``
`public `Thelia\Model\ContentAssocQuery`` | # `filterByContentId( mixed $contentId = null, string $comparison = null )` Filter the query on the content_id column Filter the query on the content_id column Example usage:
    $query->filterByContentId(1234); // WHERE content_id = 1234
    $query->filterByContentId(array(12, 34)); // WHERE content_id IN (12, 34)
    $query->filterByContentId(array('min' => 12)); // WHERE content_id >= 12
    $query->filterByContentId(array('max' => 12)); // WHERE content_id <= 12
#### Parameters $contentId `mixed` $contentId 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\ContentAssocQuery`` The current query, for fluid interface #### See ``Thelia\Model\om\BaseContentAssocQuery::filterByContent()``
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `filterByCategory( `Thelia\Model\Category`|PropelObjectCollection $category, string $comparison = null )` Filter the query by a related Category object Filter the query by a related Category object #### Parameters $category ``Thelia\Model\Category`|PropelObjectCollection` $category 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\ContentAssocQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentAssocQuery`` | # `joinCategory( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )` Adds a JOIN clause to the query using the Category relation Adds a JOIN clause to the query using the Category 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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\CategoryQuery`` | # `useCategoryQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )` Use the Category relation Category object Use the Category relation Category 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\CategoryQuery`` A secondary query class using the current class as primary query #### See useQuery()
`public `Thelia\Model\ContentAssocQuery`` | # `filterByProduct( `Thelia\Model\Product`|PropelObjectCollection $product, string $comparison = null )` Filter the query by a related Product object Filter the query by a related Product object #### Parameters $product ``Thelia\Model\Product`|PropelObjectCollection` $product 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\ContentAssocQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentAssocQuery`` | # `joinProduct( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )` Adds a JOIN clause to the query using the Product relation Adds a JOIN clause to the query using the Product 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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ProductQuery`` | # `useProductQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )` Use the Product relation Product object Use the Product relation Product 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\ProductQuery`` A secondary query class using the current class as primary query #### See useQuery()
`public `Thelia\Model\ContentAssocQuery`` | # `filterByContent( `Thelia\Model\Content`|PropelObjectCollection $content, string $comparison = null )` Filter the query by a related Content object Filter the query by a related Content object #### Parameters $content ``Thelia\Model\Content`|PropelObjectCollection` $content 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\ContentAssocQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentAssocQuery`` | # `joinContent( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )` Adds a JOIN clause to the query using the Content relation Adds a JOIN clause to the query using the Content 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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `useContentQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )` Use the Content relation Content object Use the Content relation Content 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\ContentQuery`` A secondary query class using the current class as primary query #### See useQuery()
`public `Thelia\Model\ContentAssocQuery`` | # `prune( `Thelia\Model\ContentAssoc` $contentAssoc = null )` Exclude object from result Exclude object from result #### Parameters $contentAssoc ``Thelia\Model\ContentAssoc`` $contentAssoc Object to remove from the list of results #### Returns ``Thelia\Model\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `lastUpdatedFirst( )` Order by update date desc Order by update date desc #### Returns ``Thelia\Model\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `firstUpdatedFirst( )` Order by update date asc Order by update date asc #### Returns ``Thelia\Model\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `lastCreatedFirst( )` Order by create date desc Order by create date desc #### Returns ``Thelia\Model\ContentAssocQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentAssocQuery`` | # `firstCreatedFirst( )` Order by create date asc Order by create date asc #### Returns ``Thelia\Model\ContentAssocQuery`` The current query, for fluid interface

Magic methods summary
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `orderByCategoryId( mixed $order = Thelia\Model\om\Criteria::ASC )` Order by the category_id column Order by the category_id column #### Parameters $order `mixed` $order #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `orderByProductId( mixed $order = Thelia\Model\om\Criteria::ASC )` Order by the product_id column Order by the product_id column #### Parameters $order `mixed` $order #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `orderByContentId( mixed $order = Thelia\Model\om\Criteria::ASC )` Order by the content_id column Order by the content_id column #### Parameters $order `mixed` $order #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `groupById( )` Group by the id column Group by the id column #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `groupByCategoryId( )` Group by the category_id column Group by the category_id column #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `groupByProductId( )` Group by the product_id column Group by the product_id column #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `groupByContentId( )` Group by the content_id column Group by the content_id column #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `groupByPosition( )` Group by the position column Group by the position column #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `groupByCreatedAt( )` Group by the created_at column Group by the created_at column #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `groupByUpdatedAt( )` Group by the updated_at column Group by the updated_at column #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `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\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `leftJoinCategory( mixed $relationAlias = null )` Adds a LEFT JOIN clause to the query using the Category relation Adds a LEFT JOIN clause to the query using the Category relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `rightJoinCategory( mixed $relationAlias = null )` Adds a RIGHT JOIN clause to the query using the Category relation Adds a RIGHT JOIN clause to the query using the Category relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `innerJoinCategory( mixed $relationAlias = null )` Adds a INNER JOIN clause to the query using the Category relation Adds a INNER JOIN clause to the query using the Category relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `leftJoinProduct( mixed $relationAlias = null )` Adds a LEFT JOIN clause to the query using the Product relation Adds a LEFT JOIN clause to the query using the Product relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `rightJoinProduct( mixed $relationAlias = null )` Adds a RIGHT JOIN clause to the query using the Product relation Adds a RIGHT JOIN clause to the query using the Product relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `innerJoinProduct( mixed $relationAlias = null )` Adds a INNER JOIN clause to the query using the Product relation Adds a INNER JOIN clause to the query using the Product relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `leftJoinContent( mixed $relationAlias = null )` Adds a LEFT JOIN clause to the query using the Content relation Adds a LEFT JOIN clause to the query using the Content relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `rightJoinContent( mixed $relationAlias = null )` Adds a RIGHT JOIN clause to the query using the Content relation Adds a RIGHT JOIN clause to the query using the Content relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssocQuery`` | # `innerJoinContent( mixed $relationAlias = null )` Adds a INNER JOIN clause to the query using the Content relation Adds a INNER JOIN clause to the query using the Content relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentAssocQuery``
`public `Thelia\Model\ContentAssoc`` | # `findOne( PropelPDO $con = null )` Return the first ContentAssoc matching the query Return the first ContentAssoc matching the query #### Parameters $con `PropelPDO` $con #### Returns ``Thelia\Model\ContentAssoc``
`public `Thelia\Model\ContentAssoc`` | # `findOneOrCreate( PropelPDO $con = null )` Return the first ContentAssoc matching the query, or a new ContentAssoc object populated from the query conditions when no match is found Return the first ContentAssoc matching the query, or a new ContentAssoc object populated from the query conditions when no match is found #### Parameters $con `PropelPDO` $con #### Returns ``Thelia\Model\ContentAssoc``
`public `Thelia\Model\ContentAssoc`` | # `findOneByCategoryId( integer $category_id = )` Return the first ContentAssoc filtered by the category_id column Return the first ContentAssoc filtered by the category_id column #### Parameters $category_id `integer` $category_id #### Returns ``Thelia\Model\ContentAssoc``
`public `Thelia\Model\ContentAssoc`` | # `findOneByProductId( integer $product_id = )` Return the first ContentAssoc filtered by the product_id column Return the first ContentAssoc filtered by the product_id column #### Parameters $product_id `integer` $product_id #### Returns ``Thelia\Model\ContentAssoc``
`public `Thelia\Model\ContentAssoc`` | # `findOneByContentId( integer $content_id = )` Return the first ContentAssoc filtered by the content_id column Return the first ContentAssoc filtered by the content_id column #### Parameters $content_id `integer` $content_id #### Returns ``Thelia\Model\ContentAssoc``
`public `Thelia\Model\ContentAssoc`` | # `findOneByPosition( integer $position = )` Return the first ContentAssoc filtered by the position column Return the first ContentAssoc filtered by the position column #### Parameters $position `integer` $position #### Returns ``Thelia\Model\ContentAssoc``
`public `Thelia\Model\ContentAssoc`` | # `findOneByCreatedAt( string $created_at = )` Return the first ContentAssoc filtered by the created_at column Return the first ContentAssoc filtered by the created_at column #### Parameters $created_at `string` $created_at #### Returns ``Thelia\Model\ContentAssoc``
`public `Thelia\Model\ContentAssoc`` | # `findOneByUpdatedAt( string $updated_at = )` Return the first ContentAssoc filtered by the updated_at column Return the first ContentAssoc filtered by the updated_at column #### Parameters $updated_at `string` $updated_at #### Returns ``Thelia\Model\ContentAssoc``
`public array` | # `findById( integer $id = )` Return ContentAssoc objects filtered by the id column Return ContentAssoc objects filtered by the id column #### Parameters $id `integer` $id #### Returns `array`
`public array` | # `findByCategoryId( integer $category_id = )` Return ContentAssoc objects filtered by the category_id column Return ContentAssoc objects filtered by the category_id column #### Parameters $category_id `integer` $category_id #### Returns `array`
`public array` | # `findByProductId( integer $product_id = )` Return ContentAssoc objects filtered by the product_id column Return ContentAssoc objects filtered by the product_id column #### Parameters $product_id `integer` $product_id #### Returns `array`
`public array` | # `findByContentId( integer $content_id = )` Return ContentAssoc objects filtered by the content_id column Return ContentAssoc objects filtered by the content_id column #### Parameters $content_id `integer` $content_id #### Returns `array`
`public array` | # `findByPosition( integer $position = )` Return ContentAssoc objects filtered by the position column Return ContentAssoc objects filtered by the position column #### Parameters $position `integer` $position #### Returns `array`
`public array` | # `findByCreatedAt( string $created_at = )` Return ContentAssoc objects filtered by the created_at column Return ContentAssoc objects filtered by the created_at column #### Parameters $created_at `string` $created_at #### Returns `array`
`public array` | # `findByUpdatedAt( string $updated_at = )` Return ContentAssoc objects filtered by the updated_at column Return ContentAssoc objects filtered by the updated_at column #### Parameters $updated_at `string` $updated_at #### Returns `array`