Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\TaxRuleCountry', string $modelAlias = null )
Initializes internal state of BaseTaxRuleCountryQuery object.
Initializes internal state of BaseTaxRuleCountryQuery 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\TaxRuleCountryQuery
|
#
create( string $modelAlias = null, Thelia\Model\TaxRuleCountryQuery|Criteria $criteria = null )
Returns a new TaxRuleCountryQuery object.
Returns a new TaxRuleCountryQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\TaxRuleCountryQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\TaxRuleCountry|Thelia\Model\TaxRuleCountry[]|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\TaxRuleCountry
|
#
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\TaxRuleCountry
|
#
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\TaxRuleCountry|Thelia\Model\TaxRuleCountry[]|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\TaxRuleCountry[]|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\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
#
filterByTaxRuleId( mixed $taxRuleId = null, string $comparison = null )
Filter the query on the tax_rule_id column
Filter the query on the tax_rule_id column
Example usage:
$query->filterByTaxRuleId(1234);
$query->filterByTaxRuleId(array(12, 34));
$query->filterByTaxRuleId(array('min' => 12));
$query->filterByTaxRuleId(array('max' => 12));
Parameters
- $taxRuleId
mixed $taxRuleId 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\TaxRuleCountryQuery
|
#
filterByCountryId( mixed $countryId = null, string $comparison = null )
Filter the query on the country_id column
Filter the query on the country_id column
Example usage:
$query->filterByCountryId(1234);
$query->filterByCountryId(array(12, 34));
$query->filterByCountryId(array('min' => 12));
$query->filterByCountryId(array('max' => 12));
Parameters
- $countryId
mixed $countryId 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\TaxRuleCountryQuery
|
#
filterByTaxId( mixed $taxId = null, string $comparison = null )
Filter the query on the tax_id column
Filter the query on the tax_id column
Example usage:
$query->filterByTaxId(1234);
$query->filterByTaxId(array(12, 34));
$query->filterByTaxId(array('min' => 12));
$query->filterByTaxId(array('max' => 12));
Parameters
- $taxId
mixed $taxId 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\TaxRuleCountryQuery
|
#
filterByNone( mixed $none = null, string $comparison = null )
Filter the query on the none column
Filter the query on the none column
Example usage:
$query->filterByNone(1234);
$query->filterByNone(array(12, 34));
$query->filterByNone(array('min' => 12));
$query->filterByNone(array('max' => 12));
Parameters
- $none
mixed $none 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\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
#
filterByTax( Thelia\Model\Tax|PropelObjectCollection $tax, string $comparison = null )
Filter the query by a related Tax object
Filter the query by a related Tax object
Parameters
- $tax
Thelia\Model\Tax|PropelObjectCollection $tax 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\TaxRuleCountryQuery
|
#
joinTax( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the Tax relation
Adds a JOIN clause to the query using the Tax 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\TaxQuery
|
#
useTaxQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the Tax relation Tax object
Use the Tax relation Tax 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\TaxRuleCountryQuery
|
#
filterByTaxRule( Thelia\Model\TaxRule|PropelObjectCollection $taxRule, string $comparison = null )
Filter the query by a related TaxRule object
Filter the query by a related TaxRule object
Parameters
- $taxRule
Thelia\Model\TaxRule|PropelObjectCollection $taxRule 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\TaxRuleCountryQuery
|
#
joinTaxRule( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the TaxRule relation
Adds a JOIN clause to the query using the TaxRule 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\TaxRuleQuery
|
#
useTaxRuleQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the TaxRule relation TaxRule object
Use the TaxRule relation TaxRule 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\TaxRuleCountryQuery
|
#
filterByCountry( Thelia\Model\Country|PropelObjectCollection $country, string $comparison = null )
Filter the query by a related Country object
Filter the query by a related Country object
Parameters
- $country
Thelia\Model\Country|PropelObjectCollection $country 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\TaxRuleCountryQuery
|
#
joinCountry( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the Country relation
Adds a JOIN clause to the query using the Country 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\CountryQuery
|
#
useCountryQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the Country relation Country object
Use the Country relation Country 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\TaxRuleCountryQuery
|
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
|
public
Thelia\Model\TaxRuleCountryQuery
|
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
|
public
Thelia\Model\TaxRuleCountryQuery
|
|
Magic methods summary
public
Thelia\Model\TaxRuleCountryQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
orderByTaxRuleId( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the tax_rule_id column
Order by the tax_rule_id column
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
orderByCountryId( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the country_id column
Order by the country_id column
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
orderByTaxId( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the tax_id column
Order by the tax_id column
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
orderByNone( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the none column
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
#
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\TaxRuleCountryQuery
|
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
groupByTaxRuleId( )
Group by the tax_rule_id column
Group by the tax_rule_id column
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
groupByCountryId( )
Group by the country_id column
Group by the country_id column
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
groupByTaxId( )
Group by the tax_id column
Group by the tax_id column
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
groupByCreatedAt( )
Group by the created_at column
Group by the created_at column
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
groupByUpdatedAt( )
Group by the updated_at column
Group by the updated_at column
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
leftJoinTax( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the Tax relation
Adds a LEFT JOIN clause to the query using the Tax relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
rightJoinTax( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the Tax relation
Adds a RIGHT JOIN clause to the query using the Tax relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
innerJoinTax( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the Tax relation
Adds a INNER JOIN clause to the query using the Tax relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
leftJoinTaxRule( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the TaxRule relation
Adds a LEFT JOIN clause to the query using the TaxRule relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
rightJoinTaxRule( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the TaxRule relation
Adds a RIGHT JOIN clause to the query using the TaxRule relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
innerJoinTaxRule( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the TaxRule relation
Adds a INNER JOIN clause to the query using the TaxRule relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
leftJoinCountry( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the Country relation
Adds a LEFT JOIN clause to the query using the Country relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
rightJoinCountry( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the Country relation
Adds a RIGHT JOIN clause to the query using the Country relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountryQuery
|
#
innerJoinCountry( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the Country relation
Adds a INNER JOIN clause to the query using the Country relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\TaxRuleCountry
|
#
findOne( PropelPDO $con = null )
Return the first TaxRuleCountry matching the query
Return the first TaxRuleCountry matching the query
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountry
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first TaxRuleCountry matching the query, or a new TaxRuleCountry
object populated from the query conditions when no match is found
Return the first TaxRuleCountry matching the query, or a new TaxRuleCountry
object populated from the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountry
|
#
findOneByTaxRuleId( integer $tax_rule_id = )
Return the first TaxRuleCountry filtered by the tax_rule_id column
Return the first TaxRuleCountry filtered by the tax_rule_id column
Parameters
- $tax_rule_id
integer $tax_rule_id
Returns
|
public
Thelia\Model\TaxRuleCountry
|
#
findOneByCountryId( integer $country_id = )
Return the first TaxRuleCountry filtered by the country_id column
Return the first TaxRuleCountry filtered by the country_id column
Parameters
- $country_id
integer $country_id
Returns
|
public
Thelia\Model\TaxRuleCountry
|
#
findOneByTaxId( integer $tax_id = )
Return the first TaxRuleCountry filtered by the tax_id column
Return the first TaxRuleCountry filtered by the tax_id column
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountry
|
#
findOneByNone( integer $none = )
Return the first TaxRuleCountry filtered by the none column
Return the first TaxRuleCountry filtered by the none column
Parameters
Returns
|
public
Thelia\Model\TaxRuleCountry
|
#
findOneByCreatedAt( string $created_at = )
Return the first TaxRuleCountry filtered by the created_at column
Return the first TaxRuleCountry filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
|
public
Thelia\Model\TaxRuleCountry
|
#
findOneByUpdatedAt( string $updated_at = )
Return the first TaxRuleCountry filtered by the updated_at column
Return the first TaxRuleCountry filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
|
public
array
|
#
findById( integer $id = )
Return TaxRuleCountry objects filtered by the id column
Return TaxRuleCountry objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByTaxRuleId( integer $tax_rule_id = )
Return TaxRuleCountry objects filtered by the tax_rule_id column
Return TaxRuleCountry objects filtered by the tax_rule_id column
Parameters
- $tax_rule_id
integer $tax_rule_id
Returns
array
|
public
array
|
#
findByCountryId( integer $country_id = )
Return TaxRuleCountry objects filtered by the country_id column
Return TaxRuleCountry objects filtered by the country_id column
Parameters
- $country_id
integer $country_id
Returns
array
|
public
array
|
#
findByTaxId( integer $tax_id = )
Return TaxRuleCountry objects filtered by the tax_id column
Return TaxRuleCountry objects filtered by the tax_id column
Parameters
Returns
array
|
public
array
|
#
findByNone( integer $none = )
Return TaxRuleCountry objects filtered by the none column
Return TaxRuleCountry objects filtered by the none column
Parameters
Returns
array
|
public
array
|
#
findByCreatedAt( string $created_at = )
Return TaxRuleCountry objects filtered by the created_at column
Return TaxRuleCountry objects filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
array
|
public
array
|
#
findByUpdatedAt( string $updated_at = )
Return TaxRuleCountry objects filtered by the updated_at column
Return TaxRuleCountry objects filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
array
|