class LangQuery extends ModelCriteria

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

Methods

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

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

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

Returns a new ChildLangQuery object.

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

Find object by primary key.

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

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

filterByPrimaryKey( mixed $key)

Filter the query by primary key

filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

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

Filter the query on the id column

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

Filter the query on the title column

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

Filter the query on the code column

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

Filter the query on the locale column

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

Filter the query on the url column

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

Filter the query on the date_format column

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

Filter the query on the time_format column

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

Filter the query on the datetime_format column

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

Filter the query on the decimal_separator column

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

Filter the query on the thousands_separator column

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

Filter the query on the active column

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

Filter the query on the visible column

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

Filter the query on the decimals column

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

Filter the query on the by_default column

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

Filter the query on the position column

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

Filter the query on the created_at column

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

Filter the query on the updated_at column

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

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

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

Adds a JOIN clause to the query using the Customer relation

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

Use the Customer relation Customer object

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

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

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

Adds a JOIN clause to the query using the Order relation

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

Use the Order relation Order object

prune( Lang $lang = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the lang table.

int
delete( ConnectionInterface $con = null)

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

recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

recentlyCreated( int $nbDays = 7)

Filter by the latest created

lastUpdatedFirst()

Order by update date desc

firstUpdatedFirst()

Order by update date asc

lastCreatedFirst()

Order by create date desc

firstCreatedFirst()

Order by create date asc

ChildLangQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildLangQuery
orderByTitle($order = Criteria::ASC)

Order by the title column

ChildLangQuery
orderByCode($order = Criteria::ASC)

Order by the code column

ChildLangQuery
orderByLocale($order = Criteria::ASC)

Order by the locale column

ChildLangQuery
orderByUrl($order = Criteria::ASC)

Order by the url column

ChildLangQuery
orderByDateFormat($order = Criteria::ASC)

Order by the date_format column

ChildLangQuery
orderByTimeFormat($order = Criteria::ASC)

Order by the time_format column

ChildLangQuery
orderByDatetimeFormat($order = Criteria::ASC)

Order by the datetime_format column

ChildLangQuery
orderByDecimalSeparator($order = Criteria::ASC)

Order by the decimal_separator column

ChildLangQuery
orderByThousandsSeparator($order = Criteria::ASC)

Order by the thousands_separator column

ChildLangQuery
orderByActive($order = Criteria::ASC)

Order by the active column

ChildLangQuery
orderByVisible($order = Criteria::ASC)

Order by the visible column

ChildLangQuery
orderByDecimals($order = Criteria::ASC)

Order by the decimals column

ChildLangQuery
orderByByDefault($order = Criteria::ASC)

Order by the by_default column

ChildLangQuery
orderByPosition($order = Criteria::ASC)

Order by the position column

ChildLangQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildLangQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildLangQuery
groupById()

Group by the id column

ChildLangQuery
groupByTitle()

Group by the title column

ChildLangQuery
groupByCode()

Group by the code column

ChildLangQuery
groupByLocale()

Group by the locale column

ChildLangQuery
groupByUrl()

Group by the url column

ChildLangQuery
groupByDateFormat()

Group by the date_format column

ChildLangQuery
groupByTimeFormat()

Group by the time_format column

ChildLangQuery
groupByDatetimeFormat()

Group by the datetime_format column

ChildLangQuery
groupByDecimalSeparator()

Group by the decimal_separator column

ChildLangQuery
groupByThousandsSeparator()

Group by the thousands_separator column

ChildLangQuery
groupByActive()

Group by the active column

ChildLangQuery
groupByVisible()

Group by the visible column

ChildLangQuery
groupByDecimals()

Group by the decimals column

ChildLangQuery
groupByByDefault()

Group by the by_default column

ChildLangQuery
groupByPosition()

Group by the position column

ChildLangQuery
groupByCreatedAt()

Group by the created_at column

ChildLangQuery
groupByUpdatedAt()

Group by the updated_at column

ChildLangQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildLangQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildLangQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildLangQuery
leftJoinCustomer($relationAlias = null)

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

ChildLangQuery
rightJoinCustomer($relationAlias = null)

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

ChildLangQuery
innerJoinCustomer($relationAlias = null)

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

ChildLangQuery
leftJoinOrder($relationAlias = null)

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

ChildLangQuery
rightJoinOrder($relationAlias = null)

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

ChildLangQuery
innerJoinOrder($relationAlias = null)

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

ChildLang
findOne( ConnectionInterface $con = null)

Return the first ChildLang matching the query

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

ChildLang
findOneById( int $id)

Return the first ChildLang filtered by the id column

ChildLang
findOneByTitle( string $title)

Return the first ChildLang filtered by the title column

ChildLang
findOneByCode( string $code)

Return the first ChildLang filtered by the code column

ChildLang
findOneByLocale( string $locale)

Return the first ChildLang filtered by the locale column

ChildLang
findOneByUrl( string $url)

Return the first ChildLang filtered by the url column

ChildLang
findOneByDateFormat( string $date_format)

Return the first ChildLang filtered by the date_format column

ChildLang
findOneByTimeFormat( string $time_format)

Return the first ChildLang filtered by the time_format column

ChildLang
findOneByDatetimeFormat( string $datetime_format)

Return the first ChildLang filtered by the datetime_format column

ChildLang
findOneByDecimalSeparator( string $decimal_separator)

Return the first ChildLang filtered by the decimal_separator column

ChildLang
findOneByThousandsSeparator( string $thousands_separator)

Return the first ChildLang filtered by the thousands_separator column

ChildLang
findOneByActive( boolean $active)

Return the first ChildLang filtered by the active column

ChildLang
findOneByVisible( int $visible)

Return the first ChildLang filtered by the visible column

ChildLang
findOneByDecimals( string $decimals)

Return the first ChildLang filtered by the decimals column

ChildLang
findOneByByDefault( int $by_default)

Return the first ChildLang filtered by the by_default column

ChildLang
findOneByPosition( int $position)

Return the first ChildLang filtered by the position column

ChildLang
findOneByCreatedAt( string $created_at)

Return the first ChildLang filtered by the created_at column

ChildLang
findOneByUpdatedAt( string $updated_at)

Return the first ChildLang filtered by the updated_at column

array
findById( int $id)

Return ChildLang objects filtered by the id column

array
findByTitle( string $title)

Return ChildLang objects filtered by the title column

array
findByCode( string $code)

Return ChildLang objects filtered by the code column

array
findByLocale( string $locale)

Return ChildLang objects filtered by the locale column

array
findByUrl( string $url)

Return ChildLang objects filtered by the url column

array
findByDateFormat( string $date_format)

Return ChildLang objects filtered by the date_format column

array
findByTimeFormat( string $time_format)

Return ChildLang objects filtered by the time_format column

array
findByDatetimeFormat( string $datetime_format)

Return ChildLang objects filtered by the datetime_format column

array
findByDecimalSeparator( string $decimal_separator)

Return ChildLang objects filtered by the decimal_separator column

array
findByThousandsSeparator( string $thousands_separator)

Return ChildLang objects filtered by the thousands_separator column

array
findByActive( boolean $active)

Return ChildLang objects filtered by the active column

array
findByVisible( int $visible)

Return ChildLang objects filtered by the visible column

array
findByDecimals( string $decimals)

Return ChildLang objects filtered by the decimals column

array
findByByDefault( int $by_default)

Return ChildLang objects filtered by the by_default column

array
findByPosition( int $position)

Return ChildLang objects filtered by the position column

array
findByCreatedAt( string $created_at)

Return ChildLang objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildLang objects filtered by the updated_at column

Details

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'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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()

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

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

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()

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

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).

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.

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

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

at line 1122
LangQuery lastUpdatedFirst()

Order by update date desc

Return Value

LangQuery The current query, for fluid interface

at line 1132
LangQuery firstUpdatedFirst()

Order by update date asc

Return Value

LangQuery The current query, for fluid interface

at line 1142
LangQuery lastCreatedFirst()

Order by create date desc

Return Value

LangQuery The current query, for fluid interface

at line 1152
LangQuery firstCreatedFirst()

Order by create date asc

Return Value

LangQuery The current query, for fluid interface

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

Order by the id column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the title column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the code column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the locale column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the url column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the date_format column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the time_format column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the datetime_format column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the decimal_separator column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the thousands_separator column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the active column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the visible column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the decimals column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the by_default column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the position column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the created_at column

Parameters

$order

Return Value

ChildLangQuery

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

Order by the updated_at column

Parameters

$order

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupById()

Group by the id column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByTitle()

Group by the title column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByCode()

Group by the code column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByLocale()

Group by the locale column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByUrl()

Group by the url column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByDateFormat()

Group by the date_format column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByTimeFormat()

Group by the time_format column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByDatetimeFormat()

Group by the datetime_format column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByDecimalSeparator()

Group by the decimal_separator column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByThousandsSeparator()

Group by the thousands_separator column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByActive()

Group by the active column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByVisible()

Group by the visible column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByDecimals()

Group by the decimals column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByByDefault()

Group by the by_default column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByPosition()

Group by the position column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildLangQuery

at line 112
ChildLangQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildLangQuery

at line 112
ChildLangQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildLangQuery

at line 112
ChildLangQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildLangQuery

at line 112
ChildLangQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildLangQuery

at line 112
ChildLangQuery leftJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

at line 112
ChildLangQuery rightJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

at line 112
ChildLangQuery innerJoinCustomer($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

at line 112
ChildLangQuery leftJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

at line 112
ChildLangQuery rightJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

at line 112
ChildLangQuery innerJoinOrder($relationAlias = null)

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

Parameters

$relationAlias

Return Value

ChildLangQuery

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

Return the first ChildLang matching the query

Parameters

ConnectionInterface $con

Return Value

ChildLang

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

at line 112
ChildLang findOneById( int $id)

Return the first ChildLang filtered by the id column

Parameters

int $id

Return Value

ChildLang

at line 112
ChildLang findOneByTitle( string $title)

Return the first ChildLang filtered by the title column

Parameters

string $title

Return Value

ChildLang

at line 112
ChildLang findOneByCode( string $code)

Return the first ChildLang filtered by the code column

Parameters

string $code

Return Value

ChildLang

at line 112
ChildLang findOneByLocale( string $locale)

Return the first ChildLang filtered by the locale column

Parameters

string $locale

Return Value

ChildLang

at line 112
ChildLang findOneByUrl( string $url)

Return the first ChildLang filtered by the url column

Parameters

string $url

Return Value

ChildLang

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

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

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

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

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

at line 112
ChildLang findOneByActive( boolean $active)

Return the first ChildLang filtered by the active column

Parameters

boolean $active

Return Value

ChildLang

at line 112
ChildLang findOneByVisible( int $visible)

Return the first ChildLang filtered by the visible column

Parameters

int $visible

Return Value

ChildLang

at line 112
ChildLang findOneByDecimals( string $decimals)

Return the first ChildLang filtered by the decimals column

Parameters

string $decimals

Return Value

ChildLang

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

at line 112
ChildLang findOneByPosition( int $position)

Return the first ChildLang filtered by the position column

Parameters

int $position

Return Value

ChildLang

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

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

at line 112
array findById( int $id)

Return ChildLang objects filtered by the id column

Parameters

int $id

Return Value

array

at line 112
array findByTitle( string $title)

Return ChildLang objects filtered by the title column

Parameters

string $title

Return Value

array

at line 112
array findByCode( string $code)

Return ChildLang objects filtered by the code column

Parameters

string $code

Return Value

array

at line 112
array findByLocale( string $locale)

Return ChildLang objects filtered by the locale column

Parameters

string $locale

Return Value

array

at line 112
array findByUrl( string $url)

Return ChildLang objects filtered by the url column

Parameters

string $url

Return Value

array

at line 112
array findByDateFormat( string $date_format)

Return ChildLang objects filtered by the date_format column

Parameters

string $date_format

Return Value

array

at line 112
array findByTimeFormat( string $time_format)

Return ChildLang objects filtered by the time_format column

Parameters

string $time_format

Return Value

array

at line 112
array findByDatetimeFormat( string $datetime_format)

Return ChildLang objects filtered by the datetime_format column

Parameters

string $datetime_format

Return Value

array

at line 112
array findByDecimalSeparator( string $decimal_separator)

Return ChildLang objects filtered by the decimal_separator column

Parameters

string $decimal_separator

Return Value

array

at line 112
array findByThousandsSeparator( string $thousands_separator)

Return ChildLang objects filtered by the thousands_separator column

Parameters

string $thousands_separator

Return Value

array

at line 112
array findByActive( boolean $active)

Return ChildLang objects filtered by the active column

Parameters

boolean $active

Return Value

array

at line 112
array findByVisible( int $visible)

Return ChildLang objects filtered by the visible column

Parameters

int $visible

Return Value

array

at line 112
array findByDecimals( string $decimals)

Return ChildLang objects filtered by the decimals column

Parameters

string $decimals

Return Value

array

at line 112
array findByByDefault( int $by_default)

Return ChildLang objects filtered by the by_default column

Parameters

int $by_default

Return Value

array

at line 112
array findByPosition( int $position)

Return ChildLang objects filtered by the position column

Parameters

int $position

Return Value

array

at line 112
array findByCreatedAt( string $created_at)

Return ChildLang objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

at line 112
array findByUpdatedAt( string $updated_at)

Return ChildLang objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array