# Class BaseContentQuery

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

  ModelCriteria
  Thelia\Model\om\BaseContentQuery

#### Direct known subclasses

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

Methods summary
`public` | # `__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\Content', string $modelAlias = null )` Initializes internal state of BaseContentQuery object. Initializes internal state of BaseContentQuery 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\ContentQuery`` | # `create( string $modelAlias = null, `Thelia\Model\ContentQuery`|Criteria $criteria = null )` Returns a new ContentQuery object. Returns a new ContentQuery object. #### Parameters $modelAlias `string` $modelAlias The alias of a model in the query $criteria ``Thelia\Model\ContentQuery`|Criteria` $criteria Optional Criteria to build the query from #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\Content`|`Thelia\Model\Content[]`|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\Content`|`Thelia\Model\Content[]`|mixed` the result, formatted by the current formatter
`public `Thelia\Model\Content`` | # `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\Content`` A model object, or null if the key is not found #### Throws `PropelException`
`protected `Thelia\Model\Content`` | # `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\Content`` A model object, or null if the key is not found #### Throws `PropelException`
`protected `Thelia\Model\Content`|`Thelia\Model\Content[]`|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\Content`|`Thelia\Model\Content[]`|mixed` the result, formatted by the current formatter
`public PropelObjectCollection|`Thelia\Model\Content[]`|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\Content[]`|mixed` the list of results, formatted by the current formatter
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` 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\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` 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\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` 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\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` 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\ContentQuery`` | # `filterByContentFolder( `Thelia\Model\ContentFolder`|PropelObjectCollection $contentFolder, string $comparison = null )` Filter the query by a related ContentFolder object Filter the query by a related ContentFolder object #### Parameters $contentFolder ``Thelia\Model\ContentFolder`|PropelObjectCollection` $contentFolder the related object to use as filter $comparison `string` $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL #### Returns ``Thelia\Model\ContentQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentQuery`` | # `joinContentFolder( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )` Adds a JOIN clause to the query using the ContentFolder relation Adds a JOIN clause to the query using the ContentFolder 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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentFolderQuery`` | # `useContentFolderQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )` Use the ContentFolder relation ContentFolder object Use the ContentFolder relation ContentFolder 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\ContentFolderQuery`` A secondary query class using the current class as primary query #### See useQuery()
`public `Thelia\Model\ContentQuery`` | # `filterByContentI18n( `Thelia\Model\ContentI18n`|PropelObjectCollection $contentI18n, string $comparison = null )` Filter the query by a related ContentI18n object Filter the query by a related ContentI18n object #### Parameters $contentI18n ``Thelia\Model\ContentI18n`|PropelObjectCollection` $contentI18n the related object to use as filter $comparison `string` $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL #### Returns ``Thelia\Model\ContentQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentQuery`` | # `joinContentI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN' )` Adds a JOIN clause to the query using the ContentI18n relation Adds a JOIN clause to the query using the ContentI18n 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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentI18nQuery`` | # `useContentI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN' )` Use the ContentI18n relation ContentI18n object Use the ContentI18n relation ContentI18n 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\ContentI18nQuery`` A secondary query class using the current class as primary query #### See useQuery()
`public `Thelia\Model\ContentQuery`` | # `filterByContentVersion( `Thelia\Model\ContentVersion`|PropelObjectCollection $contentVersion, string $comparison = null )` Filter the query by a related ContentVersion object Filter the query by a related ContentVersion object #### Parameters $contentVersion ``Thelia\Model\ContentVersion`|PropelObjectCollection` $contentVersion the related object to use as filter $comparison `string` $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL #### Returns ``Thelia\Model\ContentQuery`` The current query, for fluid interface #### Throws `PropelException` - if the provided filter is invalid.
`public `Thelia\Model\ContentQuery`` | # `joinContentVersion( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )` Adds a JOIN clause to the query using the ContentVersion relation Adds a JOIN clause to the query using the ContentVersion 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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentVersionQuery`` | # `useContentVersionQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )` Use the ContentVersion relation ContentVersion object Use the ContentVersion relation ContentVersion 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\ContentVersionQuery`` A secondary query class using the current class as primary query #### See useQuery()
`public `Thelia\Model\ContentQuery`` | # `prune( `Thelia\Model\Content` $content = null )` Exclude object from result Exclude object from result #### Parameters $content ``Thelia\Model\Content`` $content Object to remove from the list of results #### Returns ``Thelia\Model\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `lastUpdatedFirst( )` Order by update date desc Order by update date desc #### Returns ``Thelia\Model\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `firstUpdatedFirst( )` Order by update date asc Order by update date asc #### Returns ``Thelia\Model\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `lastCreatedFirst( )` Order by create date desc Order by create date desc #### Returns ``Thelia\Model\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `firstCreatedFirst( )` Order by create date asc Order by create date asc #### Returns ``Thelia\Model\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery`` The current query, for fluid interface
`public ContentI18nQuery` | # `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 `ContentI18nQuery` A secondary query class using the current class as primary query #### See useQuery()

Magic methods summary
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `groupById( )` Group by the id column Group by the id column #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `groupByVisible( )` Group by the visible column Group by the visible column #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `groupByPosition( )` Group by the position column Group by the position column #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `groupByCreatedAt( )` Group by the created_at column Group by the created_at column #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `groupByUpdatedAt( )` Group by the updated_at column Group by the updated_at column #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `groupByVersion( )` Group by the version column Group by the version column #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `groupByVersionCreatedAt( )` Group by the version_created_at column Group by the version_created_at column #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `groupByVersionCreatedBy( )` Group by the version_created_by column Group by the version_created_by column #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `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\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `leftJoinContentFolder( mixed $relationAlias = null )` Adds a LEFT JOIN clause to the query using the ContentFolder relation Adds a LEFT JOIN clause to the query using the ContentFolder relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `rightJoinContentFolder( mixed $relationAlias = null )` Adds a RIGHT JOIN clause to the query using the ContentFolder relation Adds a RIGHT JOIN clause to the query using the ContentFolder relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `innerJoinContentFolder( mixed $relationAlias = null )` Adds a INNER JOIN clause to the query using the ContentFolder relation Adds a INNER JOIN clause to the query using the ContentFolder relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `leftJoinContentI18n( mixed $relationAlias = null )` Adds a LEFT JOIN clause to the query using the ContentI18n relation Adds a LEFT JOIN clause to the query using the ContentI18n relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `rightJoinContentI18n( mixed $relationAlias = null )` Adds a RIGHT JOIN clause to the query using the ContentI18n relation Adds a RIGHT JOIN clause to the query using the ContentI18n relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `innerJoinContentI18n( mixed $relationAlias = null )` Adds a INNER JOIN clause to the query using the ContentI18n relation Adds a INNER JOIN clause to the query using the ContentI18n relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `leftJoinContentVersion( mixed $relationAlias = null )` Adds a LEFT JOIN clause to the query using the ContentVersion relation Adds a LEFT JOIN clause to the query using the ContentVersion relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `rightJoinContentVersion( mixed $relationAlias = null )` Adds a RIGHT JOIN clause to the query using the ContentVersion relation Adds a RIGHT JOIN clause to the query using the ContentVersion relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\ContentQuery`` | # `innerJoinContentVersion( mixed $relationAlias = null )` Adds a INNER JOIN clause to the query using the ContentVersion relation Adds a INNER JOIN clause to the query using the ContentVersion relation #### Parameters $relationAlias `mixed` $relationAlias #### Returns ``Thelia\Model\ContentQuery``
`public `Thelia\Model\Content`` | # `findOne( PropelPDO $con = null )` Return the first Content matching the query Return the first Content matching the query #### Parameters $con `PropelPDO` $con #### Returns ``Thelia\Model\Content``
`public `Thelia\Model\Content`` | # `findOneOrCreate( PropelPDO $con = null )` Return the first Content matching the query, or a new Content object populated from the query conditions when no match is found Return the first Content matching the query, or a new Content object populated from the query conditions when no match is found #### Parameters $con `PropelPDO` $con #### Returns ``Thelia\Model\Content``
`public `Thelia\Model\Content`` | # `findOneByVisible( integer $visible = )` Return the first Content filtered by the visible column Return the first Content filtered by the visible column #### Parameters $visible `integer` $visible #### Returns ``Thelia\Model\Content``
`public `Thelia\Model\Content`` | # `findOneByPosition( integer $position = )` Return the first Content filtered by the position column Return the first Content filtered by the position column #### Parameters $position `integer` $position #### Returns ``Thelia\Model\Content``
`public `Thelia\Model\Content`` | # `findOneByCreatedAt( string $created_at = )` Return the first Content filtered by the created_at column Return the first Content filtered by the created_at column #### Parameters $created_at `string` $created_at #### Returns ``Thelia\Model\Content``
`public `Thelia\Model\Content`` | # `findOneByUpdatedAt( string $updated_at = )` Return the first Content filtered by the updated_at column Return the first Content filtered by the updated_at column #### Parameters $updated_at `string` $updated_at #### Returns ``Thelia\Model\Content``
`public `Thelia\Model\Content`` | # `findOneByVersion( integer $version = )` Return the first Content filtered by the version column Return the first Content filtered by the version column #### Parameters $version `integer` $version #### Returns ``Thelia\Model\Content``
`public `Thelia\Model\Content`` | # `findOneByVersionCreatedAt( string $version_created_at = )` Return the first Content filtered by the version_created_at column Return the first Content filtered by the version_created_at column #### Parameters $version_created_at `string` $version_created_at #### Returns ``Thelia\Model\Content``
`public `Thelia\Model\Content`` | # `findOneByVersionCreatedBy( string $version_created_by = )` Return the first Content filtered by the version_created_by column Return the first Content filtered by the version_created_by column #### Parameters $version_created_by `string` $version_created_by #### Returns ``Thelia\Model\Content``
`public array` | # `findById( integer $id = )` Return Content objects filtered by the id column Return Content objects filtered by the id column #### Parameters $id `integer` $id #### Returns `array`
`public array` | # `findByVisible( integer $visible = )` Return Content objects filtered by the visible column Return Content objects filtered by the visible column #### Parameters $visible `integer` $visible #### Returns `array`
`public array` | # `findByPosition( integer $position = )` Return Content objects filtered by the position column Return Content objects filtered by the position column #### Parameters $position `integer` $position #### Returns `array`
`public array` | # `findByCreatedAt( string $created_at = )` Return Content objects filtered by the created_at column Return Content objects filtered by the created_at column #### Parameters $created_at `string` $created_at #### Returns `array`
`public array` | # `findByUpdatedAt( string $updated_at = )` Return Content objects filtered by the updated_at column Return Content objects filtered by the updated_at column #### Parameters $updated_at `string` $updated_at #### Returns `array`
`public array` | # `findByVersion( integer $version = )` Return Content objects filtered by the version column Return Content objects filtered by the version column #### Parameters $version `integer` $version #### Returns `array`
`public array` | # `findByVersionCreatedAt( string $version_created_at = )` Return Content objects filtered by the version_created_at column Return Content 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 Content objects filtered by the version_created_by column Return Content objects filtered by the version_created_by column #### Parameters $version_created_by `string` $version_created_by #### Returns `array`