|
| __construct ($dbName=null, $modelName=null, $modelAlias=null) |
|
| findPk ($key, $con=null) |
|
| findPks ($keys, $con=null) |
|
| filterByPrimaryKey ($key) |
|
| filterByPrimaryKeys ($keys) |
|
| filterByUserId ($userId=null, $comparison=null) |
|
| filterByGroupId ($groupId=null, $comparison=null) |
|
| filterByCreatedAt ($createdAt=null, $comparison=null) |
|
| filterByUpdatedAt ($updatedAt=null, $comparison=null) |
|
| filterByCreatedBy ($createdBy=null, $comparison=null) |
|
| filterByUpdatedBy ($updatedBy=null, $comparison=null) |
|
| filterByUserRelatedByUserId ($user, $comparison=null) |
|
| joinUserRelatedByUserId ($relationAlias=null, $joinType=Criteria::INNER_JOIN) |
|
| useUserRelatedByUserIdQuery ($relationAlias=null, $joinType=Criteria::INNER_JOIN) |
|
| filterByGroup ($group, $comparison=null) |
|
| joinGroup ($relationAlias=null, $joinType=Criteria::INNER_JOIN) |
|
| useGroupQuery ($relationAlias=null, $joinType=Criteria::INNER_JOIN) |
|
| filterByUserRelatedByCreatedBy ($user, $comparison=null) |
|
| joinUserRelatedByCreatedBy ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) |
|
| useUserRelatedByCreatedByQuery ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) |
|
| filterByUserRelatedByUpdatedBy ($user, $comparison=null) |
|
| joinUserRelatedByUpdatedBy ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) |
|
| useUserRelatedByUpdatedByQuery ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) |
|
| prune ($userGroup=null) |
|
| recentlyUpdated ($nbDays=7) |
|
| lastUpdatedFirst () |
|
| firstUpdatedFirst () |
|
| recentlyCreated ($nbDays=7) |
|
| lastCreatedFirst () |
|
| firstCreatedFirst () |
|
| findMostRecentUpdate ($bAsTimestamp=false) |
|
| filterByPKArray ($pkArray) |
|
| filterByPKString ($pkString) |
|
|
static | create ($modelAlias=null, $criteria=null) |
|
BaseUserGroupQuery::__construct |
( |
|
$dbName = null , |
|
|
|
$modelName = null , |
|
|
|
$modelAlias = null |
|
) |
| |
Initializes internal state of BaseUserGroupQuery object.
- Parameters
-
string | $dbName | The dabase name |
string | $modelName | The phpName of a model, e.g. 'Book' |
string | $modelAlias | The alias for the model in this query, e.g. 'b' |
static BaseUserGroupQuery::create |
( |
|
$modelAlias = null , |
|
|
|
$criteria = null |
|
) |
| |
|
static |
BaseUserGroupQuery::filterByCreatedAt |
( |
|
$createdAt = null , |
|
|
|
$comparison = null |
|
) |
| |
Filter the query on the created_at column
Example usage: $query->filterByCreatedAt('2011-03-14'); // WHERE created_at = '2011-03-14' $query->filterByCreatedAt('now'); // WHERE created_at = '2011-03-14' $query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at < '2011-03-13'
- Parameters
-
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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::filterByCreatedBy |
( |
|
$createdBy = null , |
|
|
|
$comparison = null |
|
) |
| |
Filter the query on the created_by column
Example usage: $query->filterByCreatedBy(1234); // WHERE created_by = 1234 $query->filterByCreatedBy(array(12, 34)); // WHERE created_by IN (12, 34) $query->filterByCreatedBy(array('min' => 12)); // WHERE created_by >= 12 $query->filterByCreatedBy(array('max' => 12)); // WHERE created_by <= 12
- See also
- filterByUserRelatedByCreatedBy()
- Parameters
-
mixed | $createdBy | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::filterByGroup |
( |
|
$group, |
|
|
|
$comparison = null |
|
) |
| |
Filter the query by a related Group object
- Parameters
-
Group | PropelObjectCollection | $group | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
- Exceptions
-
PropelException | - if the provided filter is invalid. |
BaseUserGroupQuery::filterByGroupId |
( |
|
$groupId = null , |
|
|
|
$comparison = null |
|
) |
| |
Filter the query on the group_id column
Example usage: $query->filterByGroupId(1234); // WHERE group_id = 1234 $query->filterByGroupId(array(12, 34)); // WHERE group_id IN (12, 34) $query->filterByGroupId(array('min' => 12)); // WHERE group_id >= 12 $query->filterByGroupId(array('max' => 12)); // WHERE group_id <= 12
- See also
- filterByGroup()
- Parameters
-
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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::filterByPrimaryKey |
( |
|
$key | ) |
|
Filter the query by primary key
- Parameters
-
mixed | $key | Primary key to use for the query |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::filterByPrimaryKeys |
( |
|
$keys | ) |
|
Filter the query by a list of primary keys
- Parameters
-
array | $keys | The list of primary key to use for the query |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::filterByUpdatedAt |
( |
|
$updatedAt = null , |
|
|
|
$comparison = null |
|
) |
| |
Filter the query on the updated_at column
Example usage: $query->filterByUpdatedAt('2011-03-14'); // WHERE updated_at = '2011-03-14' $query->filterByUpdatedAt('now'); // WHERE updated_at = '2011-03-14' $query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at < '2011-03-13'
- Parameters
-
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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::filterByUpdatedBy |
( |
|
$updatedBy = null , |
|
|
|
$comparison = null |
|
) |
| |
Filter the query on the updated_by column
Example usage: $query->filterByUpdatedBy(1234); // WHERE updated_by = 1234 $query->filterByUpdatedBy(array(12, 34)); // WHERE updated_by IN (12, 34) $query->filterByUpdatedBy(array('min' => 12)); // WHERE updated_by >= 12 $query->filterByUpdatedBy(array('max' => 12)); // WHERE updated_by <= 12
- See also
- filterByUserRelatedByUpdatedBy()
- Parameters
-
mixed | $updatedBy | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::filterByUserId |
( |
|
$userId = null , |
|
|
|
$comparison = null |
|
) |
| |
Filter the query on the user_id column
Example usage: $query->filterByUserId(1234); // WHERE user_id = 1234 $query->filterByUserId(array(12, 34)); // WHERE user_id IN (12, 34) $query->filterByUserId(array('min' => 12)); // WHERE user_id >= 12 $query->filterByUserId(array('max' => 12)); // WHERE user_id <= 12
- See also
- filterByUserRelatedByUserId()
- Parameters
-
mixed | $userId | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::filterByUserRelatedByCreatedBy |
( |
|
$user, |
|
|
|
$comparison = null |
|
) |
| |
Filter the query by a related User object
- Parameters
-
User | PropelObjectCollection | $user | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
- Exceptions
-
PropelException | - if the provided filter is invalid. |
BaseUserGroupQuery::filterByUserRelatedByUpdatedBy |
( |
|
$user, |
|
|
|
$comparison = null |
|
) |
| |
Filter the query by a related User object
- Parameters
-
User | PropelObjectCollection | $user | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
- Exceptions
-
PropelException | - if the provided filter is invalid. |
BaseUserGroupQuery::filterByUserRelatedByUserId |
( |
|
$user, |
|
|
|
$comparison = null |
|
) |
| |
Filter the query by a related User object
- Parameters
-
User | PropelObjectCollection | $user | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
- Returns
- UserGroupQuery The current query, for fluid interface
- Exceptions
-
PropelException | - if the provided filter is invalid. |
BaseUserGroupQuery::findPk |
( |
|
$key, |
|
|
|
$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.
$obj = $c->findPk(array(12, 34), $con);
- Parameters
-
array | $key | Primary key to use for the query A Primary key composition: [$user_id, $group_id] |
PropelPDO | $con | an optional connection object |
- Returns
- UserGroup|UserGroup[]|mixed the result, formatted by the current formatter
BaseUserGroupQuery::findPkComplex |
( |
|
$key, |
|
|
|
$con |
|
) |
| |
|
protected |
Find object by primary key.
- Parameters
-
mixed | $key | Primary key to use for the query |
PropelPDO | $con | A connection object |
- Returns
- UserGroup|UserGroup[]|mixed the result, formatted by the current formatter
BaseUserGroupQuery::findPks |
( |
|
$keys, |
|
|
|
$con = null |
|
) |
| |
Find objects by primary key $objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $con);
- Parameters
-
array | $keys | Primary keys to use for the query |
PropelPDO | $con | an optional connection object |
- Returns
- PropelObjectCollection|UserGroup[]|mixed the list of results, formatted by the current formatter
BaseUserGroupQuery::findPkSimple |
( |
|
$key, |
|
|
|
$con |
|
) |
| |
|
protected |
Find object by primary key using raw SQL to go fast. Bypass doSelect() and the object formatter by using generated code.
- Parameters
-
mixed | $key | Primary key to use for the query |
PropelPDO | $con | A connection object |
- Returns
- UserGroup A model object, or null if the key is not found
- Exceptions
-
BaseUserGroupQuery::firstCreatedFirst |
( |
| ) |
|
Order by create date asc
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::firstUpdatedFirst |
( |
| ) |
|
Order by update date asc
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::joinGroup |
( |
|
$relationAlias = null , |
|
|
|
$joinType = Criteria::INNER_JOIN |
|
) |
| |
Adds a JOIN clause to the query using the Group relation
- Parameters
-
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::joinUserRelatedByCreatedBy |
( |
|
$relationAlias = null , |
|
|
|
$joinType = Criteria::LEFT_JOIN |
|
) |
| |
Adds a JOIN clause to the query using the UserRelatedByCreatedBy relation
- Parameters
-
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::joinUserRelatedByUpdatedBy |
( |
|
$relationAlias = null , |
|
|
|
$joinType = Criteria::LEFT_JOIN |
|
) |
| |
Adds a JOIN clause to the query using the UserRelatedByUpdatedBy relation
- Parameters
-
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::joinUserRelatedByUserId |
( |
|
$relationAlias = null , |
|
|
|
$joinType = Criteria::INNER_JOIN |
|
) |
| |
Adds a JOIN clause to the query using the UserRelatedByUserId relation
- Parameters
-
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::lastCreatedFirst |
( |
| ) |
|
Order by create date desc
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::lastUpdatedFirst |
( |
| ) |
|
Order by update date desc
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::prune |
( |
|
$userGroup = null | ) |
|
Exclude object from result
- Parameters
-
UserGroup | $userGroup | Object to remove from the list of results |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::recentlyCreated |
( |
|
$nbDays = 7 | ) |
|
Filter by the latest created
- Parameters
-
int | $nbDays | Maximum age of in days |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::recentlyUpdated |
( |
|
$nbDays = 7 | ) |
|
Filter by the latest updated
- Parameters
-
int | $nbDays | Maximum age of the latest update in days |
- Returns
- UserGroupQuery The current query, for fluid interface
BaseUserGroupQuery::useGroupQuery |
( |
|
$relationAlias = null , |
|
|
|
$joinType = Criteria::INNER_JOIN |
|
) |
| |
Use the Group relation Group object
- See also
- useQuery()
- Parameters
-
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
- Returns
- GroupQuery A secondary query class using the current class as primary query
BaseUserGroupQuery::useUserRelatedByCreatedByQuery |
( |
|
$relationAlias = null , |
|
|
|
$joinType = Criteria::LEFT_JOIN |
|
) |
| |
Use the UserRelatedByCreatedBy relation User object
- See also
- useQuery()
- Parameters
-
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
- Returns
- UserQuery A secondary query class using the current class as primary query
BaseUserGroupQuery::useUserRelatedByUpdatedByQuery |
( |
|
$relationAlias = null , |
|
|
|
$joinType = Criteria::LEFT_JOIN |
|
) |
| |
Use the UserRelatedByUpdatedBy relation User object
- See also
- useQuery()
- Parameters
-
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
- Returns
- UserQuery A secondary query class using the current class as primary query
BaseUserGroupQuery::useUserRelatedByUserIdQuery |
( |
|
$relationAlias = null , |
|
|
|
$joinType = Criteria::INNER_JOIN |
|
) |
| |
Use the UserRelatedByUserId relation User object
- See also
- useQuery()
- Parameters
-
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
- Returns
- UserQuery A secondary query class using the current class as primary query
The documentation for this class was generated from the following file:
- cms-full/base/lib/model/om/BaseUserGroupQuery.php