Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\ModuleDesc', string $modelAlias = null )
Initializes internal state of BaseModuleDescQuery object.
Initializes internal state of BaseModuleDescQuery 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\ModuleDescQuery
|
#
create( string $modelAlias = null, Thelia\Model\ModuleDescQuery|Criteria $criteria = null )
Returns a new ModuleDescQuery object.
Returns a new ModuleDescQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\ModuleDescQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\ModuleDesc|Thelia\Model\ModuleDesc[]|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
|
protected
Thelia\Model\ModuleDesc
|
#
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
Throws
PropelException
|
protected
Thelia\Model\ModuleDesc|Thelia\Model\ModuleDesc[]|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
|
public
PropelObjectCollection|Thelia\Model\ModuleDesc[]|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
|
public
Thelia\Model\ModuleDescQuery
|
#
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
|
public
Thelia\Model\ModuleDescQuery
|
#
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
|
public
Thelia\Model\ModuleDescQuery
|
#
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);
$query->filterById(array(12, 34));
$query->filterById(array('min' => 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
|
public
Thelia\Model\ModuleDescQuery
|
#
filterByModuleId( mixed $moduleId = null, string $comparison = null )
Filter the query on the module_id column
Filter the query on the module_id column
Example usage:
$query->filterByModuleId(1234);
$query->filterByModuleId(array(12, 34));
$query->filterByModuleId(array('min' => 12));
Parameters
- $moduleId
mixed $moduleId 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
See
|
public
Thelia\Model\ModuleDescQuery
|
#
filterByLang( string $lang = null, string $comparison = null )
Filter the query on the lang column
Filter the query on the lang column
Example usage:
$query->filterByLang('fooValue');
$query->filterByLang('%fooValue%');
Parameters
- $lang
string $lang 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
|
public
Thelia\Model\ModuleDescQuery
|
#
filterByTitle( string $title = null, string $comparison = null )
Filter the query on the title column
Filter the query on the title column
Example usage:
$query->filterByTitle('fooValue');
$query->filterByTitle('%fooValue%');
Parameters
- $title
string $title 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
|
public
Thelia\Model\ModuleDescQuery
|
#
filterByDescription( string $description = null, string $comparison = null )
Filter the query on the description column
Filter the query on the description column
Example usage:
$query->filterByDescription('fooValue');
$query->filterByDescription('%fooValue%');
Parameters
- $description
string $description 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
|
public
Thelia\Model\ModuleDescQuery
|
#
filterByChapo( string $chapo = null, string $comparison = null )
Filter the query on the chapo column
Filter the query on the chapo column
Example usage:
$query->filterByChapo('fooValue');
$query->filterByChapo('%fooValue%');
Parameters
- $chapo
string $chapo 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
|
public
Thelia\Model\ModuleDescQuery
|
#
filterByCurrencyId( mixed $currencyId = null, string $comparison = null )
Filter the query on the currency_id column
Filter the query on the currency_id column
Example usage:
$query->filterByCurrencyId(1234);
$query->filterByCurrencyId(array(12, 34));
$query->filterByCurrencyId(array('min' => 12));
Parameters
- $currencyId
mixed $currencyId 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
|
public
Thelia\Model\ModuleDescQuery
|
#
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');
$query->filterByCreatedAt('now');
$query->filterByCreatedAt(array('max' => 'yesterday'));
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
|
public
Thelia\Model\ModuleDescQuery
|
#
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');
$query->filterByUpdatedAt('now');
$query->filterByUpdatedAt(array('max' => 'yesterday'));
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
|
public
Thelia\Model\ModuleDescQuery
|
#
filterByModule( Thelia\Model\Module|PropelObjectCollection $module, string $comparison = null )
Filter the query by a related Module object
Filter the query by a related Module object
Parameters
- $module
Thelia\Model\Module|PropelObjectCollection $module The related object(s) to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
Thelia\Model\ModuleDescQuery
|
#
joinModule( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the Module relation
Adds a JOIN clause to the query using the Module relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
Thelia\Model\ModuleQuery
|
#
useModuleQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Use the Module relation Module object
Use the Module relation Module 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
See
useQuery()
|
public
Thelia\Model\ModuleDescQuery
|
|
public
Thelia\Model\ModuleDescQuery
|
#
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
|
public
Thelia\Model\ModuleDescQuery
|
|
public
Thelia\Model\ModuleDescQuery
|
|
public
Thelia\Model\ModuleDescQuery
|
#
recentlyCreated( integer $nbDays = 7 )
Filter by the latest created
Filter by the latest created
Parameters
- $nbDays
integer $nbDays Maximum age of in days
Returns
|
public
Thelia\Model\ModuleDescQuery
|
|
public
Thelia\Model\ModuleDescQuery
|
|
Magic methods summary
public
Thelia\Model\ModuleDescQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
orderByModuleId( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the module_id column
Order by the module_id column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
orderByLang( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the lang column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
orderByTitle( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the title column
Order by the title column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
orderByDescription( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the description column
Order by the description column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
orderByChapo( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the chapo column
Order by the chapo column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
orderByCurrencyId( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the currency_id column
Order by the currency_id column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
orderByCreatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the created_at column
Order by the created_at column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
orderByUpdatedAt( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the updated_at column
Order by the updated_at column
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
|
public
Thelia\Model\ModuleDescQuery
|
#
groupByModuleId( )
Group by the module_id column
Group by the module_id column
Returns
|
public
Thelia\Model\ModuleDescQuery
|
|
public
Thelia\Model\ModuleDescQuery
|
#
groupByTitle( )
Group by the title column
Group by the title column
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
groupByDescription( )
Group by the description column
Group by the description column
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
groupByChapo( )
Group by the chapo column
Group by the chapo column
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
groupByCurrencyId( )
Group by the currency_id column
Group by the currency_id column
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
groupByCreatedAt( )
Group by the created_at column
Group by the created_at column
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
groupByUpdatedAt( )
Group by the updated_at column
Group by the updated_at column
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
leftJoinModule( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the Module relation
Adds a LEFT JOIN clause to the query using the Module relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
rightJoinModule( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the Module relation
Adds a RIGHT JOIN clause to the query using the Module relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\ModuleDescQuery
|
#
innerJoinModule( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the Module relation
Adds a INNER JOIN clause to the query using the Module relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOne( PropelPDO $con = null )
Return the first ModuleDesc matching the query
Return the first ModuleDesc matching the query
Parameters
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first ModuleDesc matching the query, or a new ModuleDesc object
populated from the query conditions when no match is found
Return the first ModuleDesc matching the query, or a new ModuleDesc object
populated from the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneById( integer $id = )
Return the first ModuleDesc filtered by the id column
Return the first ModuleDesc filtered by the id column
Parameters
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneByModuleId( integer $module_id = )
Return the first ModuleDesc filtered by the module_id column
Return the first ModuleDesc filtered by the module_id column
Parameters
- $module_id
integer $module_id
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneByLang( string $lang = )
Return the first ModuleDesc filtered by the lang column
Return the first ModuleDesc filtered by the lang column
Parameters
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneByTitle( string $title = )
Return the first ModuleDesc filtered by the title column
Return the first ModuleDesc filtered by the title column
Parameters
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneByDescription( string $description = )
Return the first ModuleDesc filtered by the description column
Return the first ModuleDesc filtered by the description column
Parameters
- $description
string $description
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneByChapo( string $chapo = )
Return the first ModuleDesc filtered by the chapo column
Return the first ModuleDesc filtered by the chapo column
Parameters
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneByCurrencyId( integer $currency_id = )
Return the first ModuleDesc filtered by the currency_id column
Return the first ModuleDesc filtered by the currency_id column
Parameters
- $currency_id
integer $currency_id
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneByCreatedAt( string $created_at = )
Return the first ModuleDesc filtered by the created_at column
Return the first ModuleDesc filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
|
public
Thelia\Model\ModuleDesc
|
#
findOneByUpdatedAt( string $updated_at = )
Return the first ModuleDesc filtered by the updated_at column
Return the first ModuleDesc filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
|
public
array
|
#
findById( integer $id = )
Return ModuleDesc objects filtered by the id column
Return ModuleDesc objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByModuleId( integer $module_id = )
Return ModuleDesc objects filtered by the module_id column
Return ModuleDesc objects filtered by the module_id column
Parameters
- $module_id
integer $module_id
Returns
array
|
public
array
|
#
findByLang( string $lang = )
Return ModuleDesc objects filtered by the lang column
Return ModuleDesc objects filtered by the lang column
Parameters
Returns
array
|
public
array
|
#
findByTitle( string $title = )
Return ModuleDesc objects filtered by the title column
Return ModuleDesc objects filtered by the title column
Parameters
Returns
array
|
public
array
|
#
findByDescription( string $description = )
Return ModuleDesc objects filtered by the description column
Return ModuleDesc objects filtered by the description column
Parameters
- $description
string $description
Returns
array
|
public
array
|
#
findByChapo( string $chapo = )
Return ModuleDesc objects filtered by the chapo column
Return ModuleDesc objects filtered by the chapo column
Parameters
Returns
array
|
public
array
|
#
findByCurrencyId( integer $currency_id = )
Return ModuleDesc objects filtered by the currency_id column
Return ModuleDesc objects filtered by the currency_id column
Parameters
- $currency_id
integer $currency_id
Returns
array
|
public
array
|
#
findByCreatedAt( string $created_at = )
Return ModuleDesc objects filtered by the created_at column
Return ModuleDesc objects filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
array
|
public
array
|
#
findByUpdatedAt( string $updated_at = )
Return ModuleDesc objects filtered by the updated_at column
Return ModuleDesc objects filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
array
|