Methods summary
public
|
#
__construct( string $dbName = 'thelia', string $modelName = 'Thelia\\Model\\AdminGroup', string $modelAlias = null )
Initializes internal state of BaseAdminGroupQuery object.
Initializes internal state of BaseAdminGroupQuery 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\AdminGroupQuery
|
#
create( string $modelAlias = null, Thelia\Model\AdminGroupQuery|Criteria $criteria = null )
Returns a new AdminGroupQuery object.
Returns a new AdminGroupQuery object.
Parameters
- $modelAlias
string $modelAlias The alias of a model in the query
- $criteria
Thelia\Model\AdminGroupQuery|Criteria $criteria Optional Criteria to build the query from
Returns
|
public
Thelia\Model\AdminGroup|Thelia\Model\AdminGroup[]|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\AdminGroup
|
#
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\AdminGroup
|
#
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\AdminGroup|Thelia\Model\AdminGroup[]|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\AdminGroup[]|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\AdminGroupQuery
|
#
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\AdminGroupQuery
|
#
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\AdminGroupQuery
|
#
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\AdminGroupQuery
|
#
filterByGroupId( mixed $groupId = null, string $comparison = null )
Filter the query on the group_id column
Filter the query on the group_id column
Example usage:
$query->filterByGroupId(1234);
$query->filterByGroupId(array(12, 34));
$query->filterByGroupId(array('min' => 12));
$query->filterByGroupId(array('max' => 12));
Parameters
- $groupId
mixed $groupId 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\AdminGroupQuery
|
#
filterByAdminId( mixed $adminId = null, string $comparison = null )
Filter the query on the admin_id column
Filter the query on the admin_id column
Example usage:
$query->filterByAdminId(1234);
$query->filterByAdminId(array(12, 34));
$query->filterByAdminId(array('min' => 12));
$query->filterByAdminId(array('max' => 12));
Parameters
- $adminId
mixed $adminId 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\AdminGroupQuery
|
#
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\AdminGroupQuery
|
#
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\AdminGroupQuery
|
#
filterByGroup( Thelia\Model\Group|PropelObjectCollection $group, string $comparison = null )
Filter the query by a related Group object
Filter the query by a related Group object
Parameters
- $group
Thelia\Model\Group|PropelObjectCollection $group 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\AdminGroupQuery
|
#
joinGroup( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the Group relation
Adds a JOIN clause to the query using the Group 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\GroupQuery
|
#
useGroupQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the Group relation Group object
Use the Group relation Group 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\AdminGroupQuery
|
#
filterByAdmin( Thelia\Model\Admin|PropelObjectCollection $admin, string $comparison = null )
Filter the query by a related Admin object
Filter the query by a related Admin object
Parameters
- $admin
Thelia\Model\Admin|PropelObjectCollection $admin 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\AdminGroupQuery
|
#
joinAdmin( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Adds a JOIN clause to the query using the Admin relation
Adds a JOIN clause to the query using the Admin 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\AdminQuery
|
#
useAdminQuery( string $relationAlias = null, string $joinType = Thelia\Model\om\Criteria::LEFT_JOIN )
Use the Admin relation Admin object
Use the Admin relation Admin 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\AdminGroupQuery
|
|
public
Thelia\Model\AdminGroupQuery
|
#
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\AdminGroupQuery
|
|
public
Thelia\Model\AdminGroupQuery
|
|
public
Thelia\Model\AdminGroupQuery
|
#
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\AdminGroupQuery
|
|
public
Thelia\Model\AdminGroupQuery
|
|
Magic methods summary
public
Thelia\Model\AdminGroupQuery
|
#
orderById( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the id column
Parameters
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
orderByGroupId( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the group_id column
Order by the group_id column
Parameters
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
orderByAdminId( mixed $order = Thelia\Model\om\Criteria::ASC )
Order by the admin_id column
Order by the admin_id column
Parameters
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
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\AdminGroupQuery
|
#
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\AdminGroupQuery
|
|
public
Thelia\Model\AdminGroupQuery
|
#
groupByGroupId( )
Group by the group_id column
Group by the group_id column
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
groupByAdminId( )
Group by the admin_id column
Group by the admin_id column
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
groupByCreatedAt( )
Group by the created_at column
Group by the created_at column
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
groupByUpdatedAt( )
Group by the updated_at column
Group by the updated_at column
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
leftJoinGroup( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the Group relation
Adds a LEFT JOIN clause to the query using the Group relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
rightJoinGroup( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the Group relation
Adds a RIGHT JOIN clause to the query using the Group relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
innerJoinGroup( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the Group relation
Adds a INNER JOIN clause to the query using the Group relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
leftJoinAdmin( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the Admin relation
Adds a LEFT JOIN clause to the query using the Admin relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
rightJoinAdmin( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the Admin relation
Adds a RIGHT JOIN clause to the query using the Admin relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AdminGroupQuery
|
#
innerJoinAdmin( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the Admin relation
Adds a INNER JOIN clause to the query using the Admin relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
Thelia\Model\AdminGroup
|
#
findOne( PropelPDO $con = null )
Return the first AdminGroup matching the query
Return the first AdminGroup matching the query
Parameters
Returns
|
public
Thelia\Model\AdminGroup
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first AdminGroup matching the query, or a new AdminGroup object
populated from the query conditions when no match is found
Return the first AdminGroup matching the query, or a new AdminGroup object
populated from the query conditions when no match is found
Parameters
Returns
|
public
Thelia\Model\AdminGroup
|
#
findOneByGroupId( integer $group_id = )
Return the first AdminGroup filtered by the group_id column
Return the first AdminGroup filtered by the group_id column
Parameters
- $group_id
integer $group_id
Returns
|
public
Thelia\Model\AdminGroup
|
#
findOneByAdminId( integer $admin_id = )
Return the first AdminGroup filtered by the admin_id column
Return the first AdminGroup filtered by the admin_id column
Parameters
- $admin_id
integer $admin_id
Returns
|
public
Thelia\Model\AdminGroup
|
#
findOneByCreatedAt( string $created_at = )
Return the first AdminGroup filtered by the created_at column
Return the first AdminGroup filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
|
public
Thelia\Model\AdminGroup
|
#
findOneByUpdatedAt( string $updated_at = )
Return the first AdminGroup filtered by the updated_at column
Return the first AdminGroup filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
|
public
array
|
#
findById( integer $id = )
Return AdminGroup objects filtered by the id column
Return AdminGroup objects filtered by the id column
Parameters
Returns
array
|
public
array
|
#
findByGroupId( integer $group_id = )
Return AdminGroup objects filtered by the group_id column
Return AdminGroup objects filtered by the group_id column
Parameters
- $group_id
integer $group_id
Returns
array
|
public
array
|
#
findByAdminId( integer $admin_id = )
Return AdminGroup objects filtered by the admin_id column
Return AdminGroup objects filtered by the admin_id column
Parameters
- $admin_id
integer $admin_id
Returns
array
|
public
array
|
#
findByCreatedAt( string $created_at = )
Return AdminGroup objects filtered by the created_at column
Return AdminGroup objects filtered by the created_at column
Parameters
- $created_at
string $created_at
Returns
array
|
public
array
|
#
findByUpdatedAt( string $updated_at = )
Return AdminGroup objects filtered by the updated_at column
Return AdminGroup objects filtered by the updated_at column
Parameters
- $updated_at
string $updated_at
Returns
array
|