Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\Tax', string $modelAlias = null )
Initializes internal state of BaseTaxQuery object.
Initializes internal state of BaseTaxQuery 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\TaxQuery
|
#
create( string $modelAlias = null, Thelia\Model\TaxQuery|Criteria $criteria = null )
Returns a new TaxQuery object.
Returns a new TaxQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\TaxQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\Tax|Thelia\Model\Tax[]|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
|
public
Thelia\Model\Tax
|
#
findOneById( mixed $key, PropelPDO $con = null )
Alias of findPk to use instance pooling
Alias of findPk to use instance pooling
Parameters
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con A connection object
Returns
Throws
PropelException
|
protected
Thelia\Model\Tax
|
#
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\Tax|Thelia\Model\Tax[]|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\Tax[]|mixed
|
#
findPks( array $keys, PropelPDO $con = null )
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Parameters
- $keys
array $keys Primary keys to use for the query
- $con
PropelPDO $con an optional connection object
Returns
PropelObjectCollection|Thelia\Model\Tax[]|mixedthe list of results, formatted by the current formatter
|
public
Thelia\Model\TaxQuery
|
#
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\TaxQuery
|
#
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\TaxQuery
|
#
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));
$query->filterById(array('max' => 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\TaxQuery
|
#
filterByRate( mixed $rate = null, string $comparison = null )
Filter the query on the rate column
Filter the query on the rate column
Example usage:
$query->filterByRate(1234);
$query->filterByRate(array(12, 34));
$query->filterByRate(array('min' => 12));
$query->filterByRate(array('max' => 12));
Parameters
- $rate
mixed $rate 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\TaxQuery
|
#
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\TaxQuery
|
#
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\TaxQuery
|
#
filterByTaxRuleCountry( Thelia\Model\TaxRuleCountry|PropelObjectCollection $taxRuleCountry, string $comparison = null )
Filter the query by a related TaxRuleCountry object
Filter the query by a related TaxRuleCountry object
Parameters
- $taxRuleCountry
Thelia\Model\TaxRuleCountry|PropelObjectCollection $taxRuleCountry the related object 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\TaxQuery
|
#
joinTaxRuleCountry( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the TaxRuleCountry relation
Adds a JOIN clause to the query using the TaxRuleCountry 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\TaxRuleCountryQuery
|
#
useTaxRuleCountryQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the TaxRuleCountry relation TaxRuleCountry object
Use the TaxRuleCountry relation TaxRuleCountry 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\TaxQuery
|
#
filterByTaxI18n( Thelia\Model\TaxI18n|PropelObjectCollection $taxI18n, string $comparison = null )
Filter the query by a related TaxI18n object
Filter the query by a related TaxI18n object
Parameters
- $taxI18n
Thelia\Model\TaxI18n|PropelObjectCollection $taxI18n the related object 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\TaxQuery
|
#
joinTaxI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN' )
Adds a JOIN clause to the query using the TaxI18n relation
Adds a JOIN clause to the query using the TaxI18n 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\TaxI18nQuery
|
#
useTaxI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN' )
Use the TaxI18n relation TaxI18n object
Use the TaxI18n relation TaxI18n 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\TaxQuery
|
#
prune( Thelia\Model\Tax $tax = null )
Exclude object from result
Exclude object from result
Parameters
Returns
|
public
Thelia\Model\TaxQuery
|
#
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\TaxQuery
|
|
public
Thelia\Model\TaxQuery
|
|
public
Thelia\Model\TaxQuery
|
#
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\TaxQuery
|
|
public
Thelia\Model\TaxQuery
|
|
public
Thelia\Model\TaxQuery
|
#
joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the i18n relation
Adds a JOIN clause to the query using the i18n relation
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
|
public
Thelia\Model\TaxQuery
|
#
joinWithI18n( string $locale = 'en_US', string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
Adds a JOIN clause to the query and hydrates the related I18n object.
Shortcut for $c->joinI18n($locale)->with()
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
|
public
TaxI18nQuery
|
#
useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the I18n relation query object
Use the I18n relation query object
Parameters
- $locale
string $locale Locale to use for the join condition, e.g. 'fr_FR'
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'.
Defaults to left join.
Returns
TaxI18nQuery A secondary query class using the current class as primary query
See
useQuery()
|
Magic methods summary
public
Thelia\Model\TaxQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\TaxQuery
|
#
orderByRate( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the rate column
Parameters
Returns
|
public
Thelia\Model\TaxQuery
|
#
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\TaxQuery
|
#
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\TaxQuery
|
|
public
Thelia\Model\TaxQuery
|
|
public
Thelia\Model\TaxQuery
|
#
groupByCreatedAt( )
Group by the created_at column
Group by the created_at column
Returns
|
public
Thelia\Model\TaxQuery
|
#
groupByUpdatedAt( )
Group by the updated_at column
Group by the updated_at column
Returns
|
public
Thelia\Model\TaxQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\TaxQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\TaxQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\TaxQuery
|
#
leftJoinTaxRuleCountry( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the TaxRuleCountry relation
Adds a LEFT JOIN clause to the query using the TaxRuleCountry relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxQuery
|
#
rightJoinTaxRuleCountry( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the TaxRuleCountry relation
Adds a RIGHT JOIN clause to the query using the TaxRuleCountry relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxQuery
|
#
innerJoinTaxRuleCountry( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the TaxRuleCountry relation
Adds a INNER JOIN clause to the query using the TaxRuleCountry relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxQuery
|
#
leftJoinTaxI18n( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the TaxI18n relation
Adds a LEFT JOIN clause to the query using the TaxI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxQuery
|
#
rightJoinTaxI18n( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the TaxI18n relation
Adds a RIGHT JOIN clause to the query using the TaxI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxQuery
|
#
innerJoinTaxI18n( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the TaxI18n relation
Adds a INNER JOIN clause to the query using the TaxI18n relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\Tax
|
#
findOne( PropelPDO $con = null )
Return the first Tax matching the query
Return the first Tax matching the query
Parameters
Returns
|
public
Thelia\Model\Tax
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first Tax matching the query, or a new Tax object populated from
the query conditions when no match is found
Return the first Tax matching the query, or a new Tax object populated from
the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\Tax
|
#
findOneByRate( float $rate = )
Return the first Tax filtered by the rate column
Return the first Tax filtered by the rate column
Parameters
Returns
|
public
Thelia\Model\Tax
|
#
findOneByCreatedAt( string $created_at = )
Return the first Tax filtered by the created_at column
Return the first Tax filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
|
public
Thelia\Model\Tax
|
#
findOneByUpdatedAt( string $updated_at = )
Return the first Tax filtered by the updated_at column
Return the first Tax filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
|
public
array
|
#
findById( integer $id = )
Return Tax objects filtered by the id column
Return Tax objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByRate( float $rate = )
Return Tax objects filtered by the rate column
Return Tax objects filtered by the rate column
Parameters
Returns
array
|
public
array
|
#
findByCreatedAt( string $created_at = )
Return Tax objects filtered by the created_at column
Return Tax objects filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
array
|
public
array
|
#
findByUpdatedAt( string $updated_at = )
Return Tax objects filtered by the updated_at column
Return Tax objects filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
array
|