class LangQuery extends LangQuery

Skeleton subclass for performing query and update operations on the 'lang' table.

You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

Methods

__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Lang', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\LangQuery object.

from  LangQuery
static  LangQuery
create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildLangQuery object.

from  LangQuery
Lang|array|mixed
findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

from  LangQuery
ObjectCollection|array|mixed
findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

from  LangQuery
filterByPrimaryKey( mixed $key)

Filter the query by primary key

from  LangQuery
filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

from  LangQuery
filterById( mixed $id = null, string $comparison = null)

Filter the query on the id column

from  LangQuery
filterByTitle( string $title = null, string $comparison = null)

Filter the query on the title column

from  LangQuery
filterByCode( string $code = null, string $comparison = null)

Filter the query on the code column

from  LangQuery
filterByLocale( string $locale = null, string $comparison = null)

Filter the query on the locale column

from  LangQuery
filterByUrl( string $url = null, string $comparison = null)

Filter the query on the url column

from  LangQuery
filterByDateFormat( string $dateFormat = null, string $comparison = null)

Filter the query on the date_format column

from  LangQuery
filterByTimeFormat( string $timeFormat = null, string $comparison = null)

Filter the query on the time_format column

from  LangQuery
filterByDatetimeFormat( string $datetimeFormat = null, string $comparison = null)

Filter the query on the datetime_format column

from  LangQuery
filterByDecimalSeparator( string $decimalSeparator = null, string $comparison = null)

Filter the query on the decimal_separator column

from  LangQuery
filterByThousandsSeparator( string $thousandsSeparator = null, string $comparison = null)

Filter the query on the thousands_separator column

from  LangQuery
filterByActive( boolean|string $active = null, string $comparison = null)

Filter the query on the active column

from  LangQuery
filterByVisible( mixed $visible = null, string $comparison = null)

Filter the query on the visible column

from  LangQuery
filterByDecimals( string $decimals = null, string $comparison = null)

Filter the query on the decimals column

from  LangQuery
filterByByDefault( mixed $byDefault = null, string $comparison = null)

Filter the query on the by_default column

from  LangQuery
filterByPosition( mixed $position = null, string $comparison = null)

Filter the query on the position column

from  LangQuery
filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

from  LangQuery
filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

from  LangQuery
filterByCustomer( Customer|ObjectCollection $customer, string $comparison = null)

Filter the query by a related \Thelia\Model\Customer object

from  LangQuery
joinCustomer( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the Customer relation

from  LangQuery
useCustomerQuery( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the Customer relation Customer object

from  LangQuery
filterByOrder( Order|ObjectCollection $order, string $comparison = null)

Filter the query by a related \Thelia\Model\Order object

from  LangQuery
joinOrder( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Order relation

from  LangQuery
useOrderQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Order relation Order object

from  LangQuery
prune( Lang $lang = null)

Exclude object from result

from  LangQuery
int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the lang table.

from  LangQuery
int
delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildLang or Criteria object OR a primary key value.

from  LangQuery
recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

from  LangQuery
recentlyCreated( int $nbDays = 7)

Filter by the latest created

from  LangQuery
lastUpdatedFirst()

Order by update date desc

from  LangQuery
firstUpdatedFirst()

Order by update date asc

from  LangQuery
lastCreatedFirst()

Order by create date desc

from  LangQuery
firstCreatedFirst()

Order by create date asc

from  LangQuery
ChildLangQuery
orderById($order = Criteria::ASC)

Order by the id column

from  LangQuery
ChildLangQuery
orderByTitle($order = Criteria::ASC)

Order by the title column

from  LangQuery
ChildLangQuery
orderByCode($order = Criteria::ASC)

Order by the code column

from  LangQuery
ChildLangQuery
orderByLocale($order = Criteria::ASC)

Order by the locale column

from  LangQuery
ChildLangQuery
orderByUrl($order = Criteria::ASC)

Order by the url column

from  LangQuery
ChildLangQuery
orderByDateFormat($order = Criteria::ASC)

Order by the date_format column

from  LangQuery
ChildLangQuery
orderByTimeFormat($order = Criteria::ASC)

Order by the time_format column

from  LangQuery
ChildLangQuery
orderByDatetimeFormat($order = Criteria::ASC)

Order by the datetime_format column

from  LangQuery
ChildLangQuery
orderByDecimalSeparator($order = Criteria::ASC)

Order by the decimal_separator column

from  LangQuery
ChildLangQuery
orderByThousandsSeparator($order = Criteria::ASC)

Order by the thousands_separator column

from  LangQuery
ChildLangQuery
orderByActive($order = Criteria::ASC)

Order by the active column

from  LangQuery
ChildLangQuery
orderByVisible($order = Criteria::ASC)

Order by the visible column

from  LangQuery
ChildLangQuery
orderByDecimals($order = Criteria::ASC)

Order by the decimals column

from  LangQuery
ChildLangQuery
orderByByDefault($order = Criteria::ASC)

Order by the by_default column

from  LangQuery
ChildLangQuery
orderByPosition($order = Criteria::ASC)

Order by the position column

from  LangQuery
ChildLangQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

from  LangQuery
ChildLangQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

from  LangQuery
ChildLangQuery
groupById()

Group by the id column

from  LangQuery
ChildLangQuery
groupByTitle()

Group by the title column

from  LangQuery
ChildLangQuery
groupByCode()

Group by the code column

from  LangQuery
ChildLangQuery
groupByLocale()

Group by the locale column

from  LangQuery
ChildLangQuery
groupByUrl()

Group by the url column

from  LangQuery
ChildLangQuery
groupByDateFormat()

Group by the date_format column

from  LangQuery
ChildLangQuery
groupByTimeFormat()

Group by the time_format column

from  LangQuery
ChildLangQuery
groupByDatetimeFormat()

Group by the datetime_format column

from  LangQuery
ChildLangQuery
groupByDecimalSeparator()

Group by the decimal_separator column

from  LangQuery
ChildLangQuery
groupByThousandsSeparator()

Group by the thousands_separator column

from  LangQuery
ChildLangQuery
groupByActive()

Group by the active column

from  LangQuery
ChildLangQuery
groupByVisible()

Group by the visible column

from  LangQuery
ChildLangQuery
groupByDecimals()

Group by the decimals column

from  LangQuery
ChildLangQuery
groupByByDefault()

Group by the by_default column

from  LangQuery
ChildLangQuery
groupByPosition()

Group by the position column

from  LangQuery
ChildLangQuery
groupByCreatedAt()

Group by the created_at column

from  LangQuery
ChildLangQuery
groupByUpdatedAt()

Group by the updated_at column

from  LangQuery
ChildLangQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

from  LangQuery
ChildLangQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

from  LangQuery
ChildLangQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

from  LangQuery
ChildLangQuery
leftJoinCustomer($relationAlias = null)

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

from  LangQuery
ChildLangQuery
rightJoinCustomer($relationAlias = null)

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

from  LangQuery
ChildLangQuery
innerJoinCustomer($relationAlias = null)

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

from  LangQuery
ChildLangQuery
leftJoinOrder($relationAlias = null)

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

from  LangQuery
ChildLangQuery
rightJoinOrder($relationAlias = null)

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

from  LangQuery
ChildLangQuery
innerJoinOrder($relationAlias = null)

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

from  LangQuery
ChildLang
findOne( ConnectionInterface $con = null)

Return the first ChildLang matching the query

from  LangQuery
ChildLang
findOneOrCreate( ConnectionInterface $con = null)

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

from  LangQuery
ChildLang
findOneById( int $id)

Return the first ChildLang filtered by the id column

from  LangQuery
ChildLang
findOneByTitle( string $title)

Return the first ChildLang filtered by the title column

from  LangQuery
ChildLang
findOneByCode( string $code)

Return the first ChildLang filtered by the code column

from  LangQuery
ChildLang
findOneByLocale( string $locale)

Return the first ChildLang filtered by the locale column

from  LangQuery
ChildLang
findOneByUrl( string $url)

Return the first ChildLang filtered by the url column

from  LangQuery
ChildLang
findOneByDateFormat( string $date_format)

Return the first ChildLang filtered by the date_format column

from  LangQuery
ChildLang
findOneByTimeFormat( string $time_format)

Return the first ChildLang filtered by the time_format column

from  LangQuery
ChildLang
findOneByDatetimeFormat( string $datetime_format)

Return the first ChildLang filtered by the datetime_format column

from  LangQuery
ChildLang
findOneByDecimalSeparator( string $decimal_separator)

Return the first ChildLang filtered by the decimal_separator column

from  LangQuery
ChildLang
findOneByThousandsSeparator( string $thousands_separator)

Return the first ChildLang filtered by the thousands_separator column

from  LangQuery
ChildLang
findOneByActive( boolean $active)

Return the first ChildLang filtered by the active column

from  LangQuery
ChildLang
findOneByVisible( int $visible)

Return the first ChildLang filtered by the visible column

from  LangQuery
ChildLang
findOneByDecimals( string $decimals)

Return the first ChildLang filtered by the decimals column

from  LangQuery
ChildLang
findOneByByDefault( int $by_default)

Return the first ChildLang filtered by the by_default column

from  LangQuery
ChildLang
findOneByPosition( int $position)

Return the first ChildLang filtered by the position column

from  LangQuery
ChildLang
findOneByCreatedAt( string $created_at)

Return the first ChildLang filtered by the created_at column

from  LangQuery
ChildLang
findOneByUpdatedAt( string $updated_at)

Return the first ChildLang filtered by the updated_at column

from  LangQuery
array
findById( int $id)

Return ChildLang objects filtered by the id column

from  LangQuery
array
findByTitle( string $title)

Return ChildLang objects filtered by the title column

from  LangQuery
array
findByCode( string $code)

Return ChildLang objects filtered by the code column

from  LangQuery
array
findByLocale( string $locale)

Return ChildLang objects filtered by the locale column

from  LangQuery
array
findByUrl( string $url)

Return ChildLang objects filtered by the url column

from  LangQuery
array
findByDateFormat( string $date_format)

Return ChildLang objects filtered by the date_format column

from  LangQuery
array
findByTimeFormat( string $time_format)

Return ChildLang objects filtered by the time_format column

from  LangQuery
array
findByDatetimeFormat( string $datetime_format)

Return ChildLang objects filtered by the datetime_format column

from  LangQuery
array
findByDecimalSeparator( string $decimal_separator)

Return ChildLang objects filtered by the decimal_separator column

from  LangQuery
array
findByThousandsSeparator( string $thousands_separator)

Return ChildLang objects filtered by the thousands_separator column

from  LangQuery
array
findByActive( boolean $active)

Return ChildLang objects filtered by the active column

from  LangQuery
array
findByVisible( int $visible)

Return ChildLang objects filtered by the visible column

from  LangQuery
array
findByDecimals( string $decimals)

Return ChildLang objects filtered by the decimals column

from  LangQuery
array
findByByDefault( int $by_default)

Return ChildLang objects filtered by the by_default column

from  LangQuery
array
findByPosition( int $position)

Return ChildLang objects filtered by the position column

from  LangQuery
array
findByCreatedAt( string $created_at)

Return ChildLang objects filtered by the created_at column

from  LangQuery
array
findByUpdatedAt( string $updated_at)

Return ChildLang objects filtered by the updated_at column

from  LangQuery
findByIdOrLocale($search)

No description

Details

in LangQuery at line 122
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Lang', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\LangQuery object.

Parameters

string $dbName The database name
string $modelName The phpName of a model, e.g. 'Book'
string $modelAlias The alias for the model in this query, e.g. 'b'

in LangQuery at line 135
static LangQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildLangQuery object.

Parameters

string $modelAlias The alias of a model in the query
Criteria $criteria Optional Criteria to build the query from

Return Value

LangQuery

in LangQuery at line 165
Lang|array|mixed findPk( mixed $key, ConnectionInterface $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.

$obj = $c->findPk(12, $con);

Parameters

mixed $key Primary key to use for the query
ConnectionInterface $con an optional connection object

Return Value

Lang|array|mixed the result, formatted by the current formatter

in LangQuery at line 247
ObjectCollection|array|mixed findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

Parameters

array $keys Primary keys to use for the query
ConnectionInterface $con an optional connection object

Return Value

ObjectCollection|array|mixed the list of results, formatted by the current formatter

in LangQuery at line 268
LangQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 281
LangQuery filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

Parameters

array $keys The list of primary key to use for the query

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 305
LangQuery filterById( mixed $id = null, string $comparison = null)

Filter the query on the id column

Example usage: $query->filterById(1234); // WHERE id = 1234 $query->filterById(array(12, 34)); // WHERE id IN (12, 34) $query->filterById(array('min' => 12)); // WHERE id > 12

Parameters

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

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 343
LangQuery filterByTitle( string $title = null, string $comparison = null)

Filter the query on the title column

Example usage: $query->filterByTitle('fooValue'); // WHERE title = 'fooValue' $query->filterByTitle('%fooValue%'); // WHERE title LIKE '%fooValue%'

Parameters

string $title The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 372
LangQuery filterByCode( string $code = null, string $comparison = null)

Filter the query on the code column

Example usage: $query->filterByCode('fooValue'); // WHERE code = 'fooValue' $query->filterByCode('%fooValue%'); // WHERE code LIKE '%fooValue%'

Parameters

string $code The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 401
LangQuery filterByLocale( string $locale = null, string $comparison = null)

Filter the query on the locale column

Example usage: $query->filterByLocale('fooValue'); // WHERE locale = 'fooValue' $query->filterByLocale('%fooValue%'); // WHERE locale LIKE '%fooValue%'

Parameters

string $locale The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 430
LangQuery filterByUrl( string $url = null, string $comparison = null)

Filter the query on the url column

Example usage: $query->filterByUrl('fooValue'); // WHERE url = 'fooValue' $query->filterByUrl('%fooValue%'); // WHERE url LIKE '%fooValue%'

Parameters

string $url The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 459
LangQuery filterByDateFormat( string $dateFormat = null, string $comparison = null)

Filter the query on the date_format column

Example usage: $query->filterByDateFormat('fooValue'); // WHERE dateformat = 'fooValue' $query->filterByDateFormat('%fooValue%'); // WHERE dateformat LIKE '%fooValue%'

Parameters

string $dateFormat The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 488
LangQuery filterByTimeFormat( string $timeFormat = null, string $comparison = null)

Filter the query on the time_format column

Example usage: $query->filterByTimeFormat('fooValue'); // WHERE timeformat = 'fooValue' $query->filterByTimeFormat('%fooValue%'); // WHERE timeformat LIKE '%fooValue%'

Parameters

string $timeFormat The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 517
LangQuery filterByDatetimeFormat( string $datetimeFormat = null, string $comparison = null)

Filter the query on the datetime_format column

Example usage: $query->filterByDatetimeFormat('fooValue'); // WHERE datetimeformat = 'fooValue' $query->filterByDatetimeFormat('%fooValue%'); // WHERE datetimeformat LIKE '%fooValue%'

Parameters

string $datetimeFormat The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 546
LangQuery filterByDecimalSeparator( string $decimalSeparator = null, string $comparison = null)

Filter the query on the decimal_separator column

Example usage: $query->filterByDecimalSeparator('fooValue'); // WHERE decimalseparator = 'fooValue' $query->filterByDecimalSeparator('%fooValue%'); // WHERE decimalseparator LIKE '%fooValue%'

Parameters

string $decimalSeparator The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 575
LangQuery filterByThousandsSeparator( string $thousandsSeparator = null, string $comparison = null)

Filter the query on the thousands_separator column

Example usage: $query->filterByThousandsSeparator('fooValue'); // WHERE thousandsseparator = 'fooValue' $query->filterByThousandsSeparator('%fooValue%'); // WHERE thousandsseparator LIKE '%fooValue%'

Parameters

string $thousandsSeparator The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 607
LangQuery filterByActive( boolean|string $active = null, string $comparison = null)

Filter the query on the active column

Example usage: $query->filterByActive(true); // WHERE active = true $query->filterByActive('yes'); // WHERE active = true

Parameters

boolean|string $active The value to use as filter. Non-boolean arguments are converted using the following rules: * 1, '1', 'true', 'on', and 'yes' are converted to boolean true * 0, '0', 'false', 'off', and 'no' are converted to boolean false Check on string values is case insensitive (so 'FaLsE' is seen as 'false').
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 634
LangQuery filterByVisible( mixed $visible = null, string $comparison = null)

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

Parameters

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

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 672
LangQuery filterByDecimals( string $decimals = null, string $comparison = null)

Filter the query on the decimals column

Example usage: $query->filterByDecimals('fooValue'); // WHERE decimals = 'fooValue' $query->filterByDecimals('%fooValue%'); // WHERE decimals LIKE '%fooValue%'

Parameters

string $decimals The value to use as filter. Accepts wildcards (* and % trigger a LIKE)
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 704
LangQuery filterByByDefault( mixed $byDefault = null, string $comparison = null)

Filter the query on the by_default column

Example usage: $query->filterByByDefault(1234); // WHERE bydefault = 1234 $query->filterByByDefault(array(12, 34)); // WHERE bydefault IN (12, 34) $query->filterByByDefault(array('min' => 12)); // WHERE by_default > 12

Parameters

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

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 745
LangQuery filterByPosition( mixed $position = null, string $comparison = null)

Filter the query on the position column

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

Parameters

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

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 788
LangQuery filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

Example usage: $query->filterByCreatedAt('2011-03-14'); // WHERE createdat = '2011-03-14' $query->filterByCreatedAt('now'); // WHERE createdat = '2011-03-14' $query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at > '2011-03-13'

Parameters

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

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 831
LangQuery filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

Example usage: $query->filterByUpdatedAt('2011-03-14'); // WHERE updatedat = '2011-03-14' $query->filterByUpdatedAt('now'); // WHERE updatedat = '2011-03-14' $query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'

Parameters

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

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 862
LangQuery filterByCustomer( Customer|ObjectCollection $customer, string $comparison = null)

Filter the query by a related \Thelia\Model\Customer object

Parameters

Customer|ObjectCollection $customer the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 885
LangQuery joinCustomer( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the Customer relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 920
CustomerQuery useCustomerQuery( string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the Customer relation Customer object

Parameters

string $relationAlias optional alias for the relation, to be used as main alias in the secondary query
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

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

See also

useQuery()

in LangQuery at line 935
LangQuery filterByOrder( Order|ObjectCollection $order, string $comparison = null)

Filter the query by a related \Thelia\Model\Order object

Parameters

Order|ObjectCollection $order the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 958
LangQuery joinOrder( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the Order relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 993
OrderQuery useOrderQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the Order relation Order object

Parameters

string $relationAlias optional alias for the relation, to be used as main alias in the secondary query
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

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

See also

useQuery()

in LangQuery at line 1007
LangQuery prune( Lang $lang = null)

Exclude object from result

Parameters

Lang $lang Object to remove from the list of results

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 1022
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the lang table.

Parameters

ConnectionInterface $con the connection to use

Return Value

int The number of affected rows (if supported by underlying database driver).

in LangQuery at line 1059
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildLang or Criteria object OR a primary key value.

Parameters

ConnectionInterface $con

Return Value

int The number of affected rows (if supported by underlying database driver). This includes CASCADE-related rows if supported by native driver or if emulated using Propel.

Exceptions

PropelException Any exceptions caught during processing will be rethrown wrapped into a PropelException.

in LangQuery at line 1100
LangQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 1112
LangQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 1122
LangQuery lastUpdatedFirst()

Order by update date desc

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 1132
LangQuery firstUpdatedFirst()

Order by update date asc

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 1142
LangQuery lastCreatedFirst()

Order by create date desc

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 1152
LangQuery firstCreatedFirst()

Order by create date asc

Return Value

LangQuery The current query, for fluid interface

in LangQuery at line 112
ChildLangQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByTitle($order = Criteria::ASC)

Order by the title column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByCode($order = Criteria::ASC)

Order by the code column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByLocale($order = Criteria::ASC)

Order by the locale column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByUrl($order = Criteria::ASC)

Order by the url column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByDateFormat($order = Criteria::ASC)

Order by the date_format column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByTimeFormat($order = Criteria::ASC)

Order by the time_format column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByDatetimeFormat($order = Criteria::ASC)

Order by the datetime_format column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByDecimalSeparator($order = Criteria::ASC)

Order by the decimal_separator column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByThousandsSeparator($order = Criteria::ASC)

Order by the thousands_separator column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByActive($order = Criteria::ASC)

Order by the active column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByVisible($order = Criteria::ASC)

Order by the visible column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByDecimals($order = Criteria::ASC)

Order by the decimals column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByByDefault($order = Criteria::ASC)

Order by the by_default column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByPosition($order = Criteria::ASC)

Order by the position column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupById()

Group by the id column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByTitle()

Group by the title column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByCode()

Group by the code column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByLocale()

Group by the locale column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByUrl()

Group by the url column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByDateFormat()

Group by the date_format column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByTimeFormat()

Group by the time_format column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByDatetimeFormat()

Group by the datetime_format column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByDecimalSeparator()

Group by the decimal_separator column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByThousandsSeparator()

Group by the thousands_separator column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByActive()

Group by the active column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByVisible()

Group by the visible column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByDecimals()

Group by the decimals column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByByDefault()

Group by the by_default column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByPosition()

Group by the position column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery leftJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery rightJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery innerJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery leftJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery rightJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLangQuery innerJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

in LangQuery at line 112
ChildLang findOne( ConnectionInterface $con = null)

Return the first ChildLang matching the query

Parameters

ConnectionInterface $con

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneOrCreate( ConnectionInterface $con = null)

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

Parameters

ConnectionInterface $con

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneById( int $id)

Return the first ChildLang filtered by the id column

Parameters

int $id

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByTitle( string $title)

Return the first ChildLang filtered by the title column

Parameters

string $title

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByCode( string $code)

Return the first ChildLang filtered by the code column

Parameters

string $code

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByLocale( string $locale)

Return the first ChildLang filtered by the locale column

Parameters

string $locale

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByUrl( string $url)

Return the first ChildLang filtered by the url column

Parameters

string $url

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByDateFormat( string $date_format)

Return the first ChildLang filtered by the date_format column

Parameters

string $date_format

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByTimeFormat( string $time_format)

Return the first ChildLang filtered by the time_format column

Parameters

string $time_format

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByDatetimeFormat( string $datetime_format)

Return the first ChildLang filtered by the datetime_format column

Parameters

string $datetime_format

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByDecimalSeparator( string $decimal_separator)

Return the first ChildLang filtered by the decimal_separator column

Parameters

string $decimal_separator

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByThousandsSeparator( string $thousands_separator)

Return the first ChildLang filtered by the thousands_separator column

Parameters

string $thousands_separator

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByActive( boolean $active)

Return the first ChildLang filtered by the active column

Parameters

boolean $active

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByVisible( int $visible)

Return the first ChildLang filtered by the visible column

Parameters

int $visible

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByDecimals( string $decimals)

Return the first ChildLang filtered by the decimals column

Parameters

string $decimals

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByByDefault( int $by_default)

Return the first ChildLang filtered by the by_default column

Parameters

int $by_default

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByPosition( int $position)

Return the first ChildLang filtered by the position column

Parameters

int $position

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByCreatedAt( string $created_at)

Return the first ChildLang filtered by the created_at column

Parameters

string $created_at

Return Value

ChildLang

in LangQuery at line 112
ChildLang findOneByUpdatedAt( string $updated_at)

Return the first ChildLang filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildLang

in LangQuery at line 112
array findById( int $id)

Return ChildLang objects filtered by the id column

Parameters

int $id

Return Value

array

in LangQuery at line 112
array findByTitle( string $title)

Return ChildLang objects filtered by the title column

Parameters

string $title

Return Value

array

in LangQuery at line 112
array findByCode( string $code)

Return ChildLang objects filtered by the code column

Parameters

string $code

Return Value

array

in LangQuery at line 112
array findByLocale( string $locale)

Return ChildLang objects filtered by the locale column

Parameters

string $locale

Return Value

array

in LangQuery at line 112
array findByUrl( string $url)

Return ChildLang objects filtered by the url column

Parameters

string $url

Return Value

array

in LangQuery at line 112
array findByDateFormat( string $date_format)

Return ChildLang objects filtered by the date_format column

Parameters

string $date_format

Return Value

array

in LangQuery at line 112
array findByTimeFormat( string $time_format)

Return ChildLang objects filtered by the time_format column

Parameters

string $time_format

Return Value

array

in LangQuery at line 112
array findByDatetimeFormat( string $datetime_format)

Return ChildLang objects filtered by the datetime_format column

Parameters

string $datetime_format

Return Value

array

in LangQuery at line 112
array findByDecimalSeparator( string $decimal_separator)

Return ChildLang objects filtered by the decimal_separator column

Parameters

string $decimal_separator

Return Value

array

in LangQuery at line 112
array findByThousandsSeparator( string $thousands_separator)

Return ChildLang objects filtered by the thousands_separator column

Parameters

string $thousands_separator

Return Value

array

in LangQuery at line 112
array findByActive( boolean $active)

Return ChildLang objects filtered by the active column

Parameters

boolean $active

Return Value

array

in LangQuery at line 112
array findByVisible( int $visible)

Return ChildLang objects filtered by the visible column

Parameters

int $visible

Return Value

array

in LangQuery at line 112
array findByDecimals( string $decimals)

Return ChildLang objects filtered by the decimals column

Parameters

string $decimals

Return Value

array

in LangQuery at line 112
array findByByDefault( int $by_default)

Return ChildLang objects filtered by the by_default column

Parameters

int $by_default

Return Value

array

in LangQuery at line 112
array findByPosition( int $position)

Return ChildLang objects filtered by the position column

Parameters

int $position

Return Value

array

in LangQuery at line 112
array findByCreatedAt( string $created_at)

Return ChildLang objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in LangQuery at line 112
array findByUpdatedAt( string $updated_at)

Return ChildLang objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array

at line 19
findByIdOrLocale($search)

Parameters

$search