Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\Accessory', string $modelAlias = null )
Initializes internal state of BaseAccessoryQuery object.
Initializes internal state of BaseAccessoryQuery 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\AccessoryQuery
|
#
create( string $modelAlias = null, Thelia\Model\AccessoryQuery|Criteria $criteria = null )
Returns a new AccessoryQuery object.
Returns a new AccessoryQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\AccessoryQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\Accessory|Thelia\Model\Accessory[]|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\Accessory
|
#
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\Accessory
|
#
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\Accessory|Thelia\Model\Accessory[]|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\Accessory[]|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\AccessoryQuery
|
#
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\AccessoryQuery
|
#
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\AccessoryQuery
|
#
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\AccessoryQuery
|
#
filterByProductId( mixed $productId = null, string $comparison = null )
Filter the query on the product_id column
Filter the query on the product_id column
Example usage:
$query->filterByProductId(1234);
$query->filterByProductId(array(12, 34));
$query->filterByProductId(array('min' => 12));
$query->filterByProductId(array('max' => 12));
Parameters
- $productId
mixed $productId 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\AccessoryQuery
|
#
filterByAccessory( mixed $accessory = null, string $comparison = null )
Filter the query on the accessory column
Filter the query on the accessory column
Example usage:
$query->filterByAccessory(1234);
$query->filterByAccessory(array(12, 34));
$query->filterByAccessory(array('min' => 12));
$query->filterByAccessory(array('max' => 12));
Parameters
- $accessory
mixed $accessory 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\AccessoryQuery
|
#
filterByPosition( mixed $position = null, string $comparison = null )
Filter the query on the position column
Filter the query on the position column
Example usage:
$query->filterByPosition(1234);
$query->filterByPosition(array(12, 34));
$query->filterByPosition(array('min' => 12));
$query->filterByPosition(array('max' => 12));
Parameters
- $position
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.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
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\AccessoryQuery
|
#
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\AccessoryQuery
|
#
filterByProductRelatedByProductId( Thelia\Model\Product|PropelObjectCollection $product, string $comparison = null )
Filter the query by a related Product object
Filter the query by a related Product object
Parameters
- $product
Thelia\Model\Product|PropelObjectCollection $product 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\AccessoryQuery
|
#
joinProductRelatedByProductId( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the ProductRelatedByProductId
relation
Adds a JOIN clause to the query using the ProductRelatedByProductId
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\ProductQuery
|
#
useProductRelatedByProductIdQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Use the ProductRelatedByProductId relation Product object
Use the ProductRelatedByProductId relation Product 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\AccessoryQuery
|
#
filterByProductRelatedByAccessory( Thelia\Model\Product|PropelObjectCollection $product, string $comparison = null )
Filter the query by a related Product object
Filter the query by a related Product object
Parameters
- $product
Thelia\Model\Product|PropelObjectCollection $product 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\AccessoryQuery
|
#
joinProductRelatedByAccessory( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the ProductRelatedByAccessory
relation
Adds a JOIN clause to the query using the ProductRelatedByAccessory
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\ProductQuery
|
#
useProductRelatedByAccessoryQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::INNER_JOIN )
Use the ProductRelatedByAccessory relation Product object
Use the ProductRelatedByAccessory relation Product 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\AccessoryQuery
|
|
public
Thelia\Model\AccessoryQuery
|
#
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\AccessoryQuery
|
|
public
Thelia\Model\AccessoryQuery
|
|
public
Thelia\Model\AccessoryQuery
|
#
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\AccessoryQuery
|
|
public
Thelia\Model\AccessoryQuery
|
|
Magic methods summary
public
Thelia\Model\AccessoryQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
orderByProductId( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the product_id column
Order by the product_id column
Parameters
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
orderByAccessory( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the accessory column
Order by the accessory column
Parameters
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
orderByPosition( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the position column
Order by the position column
Parameters
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
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\AccessoryQuery
|
#
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\AccessoryQuery
|
|
public
Thelia\Model\AccessoryQuery
|
#
groupByProductId( )
Group by the product_id column
Group by the product_id column
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
groupByAccessory( )
Group by the accessory column
Group by the accessory column
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
groupByPosition( )
Group by the position column
Group by the position column
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
groupByCreatedAt( )
Group by the created_at column
Group by the created_at column
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
groupByUpdatedAt( )
Group by the updated_at column
Group by the updated_at column
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
leftJoinProductRelatedByProductId( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the ProductRelatedByProductId
relation
Adds a LEFT JOIN clause to the query using the ProductRelatedByProductId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
rightJoinProductRelatedByProductId( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the ProductRelatedByProductId
relation
Adds a RIGHT JOIN clause to the query using the ProductRelatedByProductId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
innerJoinProductRelatedByProductId( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the ProductRelatedByProductId
relation
Adds a INNER JOIN clause to the query using the ProductRelatedByProductId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
leftJoinProductRelatedByAccessory( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the ProductRelatedByAccessory
relation
Adds a LEFT JOIN clause to the query using the ProductRelatedByAccessory
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
rightJoinProductRelatedByAccessory( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the ProductRelatedByAccessory
relation
Adds a RIGHT JOIN clause to the query using the ProductRelatedByAccessory
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AccessoryQuery
|
#
innerJoinProductRelatedByAccessory( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the ProductRelatedByAccessory
relation
Adds a INNER JOIN clause to the query using the ProductRelatedByAccessory
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\Accessory
|
#
findOne( PropelPDO $con = null )
Return the first Accessory matching the query
Return the first Accessory matching the query
Parameters
Returns
|
public
Thelia\Model\Accessory
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first Accessory matching the query, or a new Accessory object
populated from the query conditions when no match is found
Return the first Accessory matching the query, or a new Accessory object
populated from the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\Accessory
|
#
findOneByProductId( integer $product_id = )
Return the first Accessory filtered by the product_id column
Return the first Accessory filtered by the product_id column
Parameters
- $product_id
integer $product_id
Returns
|
public
Thelia\Model\Accessory
|
#
findOneByAccessory( integer $accessory = )
Return the first Accessory filtered by the accessory column
Return the first Accessory filtered by the accessory column
Parameters
- $accessory
integer $accessory
Returns
|
public
Thelia\Model\Accessory
|
#
findOneByPosition( integer $position = )
Return the first Accessory filtered by the position column
Return the first Accessory filtered by the position column
Parameters
- $position
integer $position
Returns
|
public
Thelia\Model\Accessory
|
#
findOneByCreatedAt( string $created_at = )
Return the first Accessory filtered by the created_at column
Return the first Accessory filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
|
public
Thelia\Model\Accessory
|
#
findOneByUpdatedAt( string $updated_at = )
Return the first Accessory filtered by the updated_at column
Return the first Accessory filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
|
public
array
|
#
findById( integer $id = )
Return Accessory objects filtered by the id column
Return Accessory objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByProductId( integer $product_id = )
Return Accessory objects filtered by the product_id column
Return Accessory objects filtered by the product_id column
Parameters
- $product_id
integer $product_id
Returns
array
|
public
array
|
#
findByAccessory( integer $accessory = )
Return Accessory objects filtered by the accessory column
Return Accessory objects filtered by the accessory column
Parameters
- $accessory
integer $accessory
Returns
array
|
public
array
|
#
findByPosition( integer $position = )
Return Accessory objects filtered by the position column
Return Accessory objects filtered by the position column
Parameters
- $position
integer $position
Returns
array
|
public
array
|
#
findByCreatedAt( string $created_at = )
Return Accessory objects filtered by the created_at column
Return Accessory objects filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
array
|
public
array
|
#
findByUpdatedAt( string $updated_at = )
Return Accessory objects filtered by the updated_at column
Return Accessory objects filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
array
|