
Public Member Functions | |
| __construct ($constraints=null, $multi=false) | |
| Constructs new AuthUser object. | |
| addConfirmEmail ($hash, $requestTime= '') | |
| Add new AuthConfirmEmail object connected to this object. | |
| addResetPassword ($hash, $requestTime= '') | |
| Add new AuthResetPassword object connected to this object. | |
| addUserConfig ($opt, $page, $value, $project= '*') | |
| Add new AuthUserConfig object connected to this object. | |
| addUserToGenGroup ($genGroup) | |
| Add new AuthUserToGenGroup object connected to this object. | |
| addUserToPermission ($permission) | |
| Add new AuthUserToPermission object connected to this object. | |
| addUserToProject ($project) | |
| Add new AuthUserToProject object connected to this object. | |
| getParentHashType () | |
| Retrieves parent object of this object. | |
| getParentHashTypeMulti ($depth=1) | |
| Retrieves parent object of this object with foreign objects. | |
| listConfirmEmails ($constraints=array(), $limit=array(), $order=array(), $count=false) | |
| Retrieves list of children AuthConfirmEmail objects. | |
| listConfirmEmailsMulti ($constraints=array(), $limit=array(), $order=array(), $count=false, $depth=1) | |
| Retrieves list of children AuthConfirmEmail objects using joins. | |
| listResetPasswords ($constraints=array(), $limit=array(), $order=array(), $count=false) | |
| Retrieves list of children AuthResetPassword objects. | |
| listResetPasswordsMulti ($constraints=array(), $limit=array(), $order=array(), $count=false, $depth=1) | |
| Retrieves list of children AuthResetPassword objects using joins. | |
| listUserConfigs ($constraints=array(), $limit=array(), $order=array(), $count=false) | |
| Retrieves list of children AuthUserConfig objects. | |
| listUserConfigsMulti ($constraints=array(), $limit=array(), $order=array(), $count=false, $depth=1) | |
| Retrieves list of children AuthUserConfig objects using joins. | |
| listUserToGenGroups ($constraints=array(), $limit=array(), $order=array(), $count=false) | |
| Retrieves list of children AuthUserToGenGroup objects. | |
| listUserToGenGroupsMulti ($constraints=array(), $limit=array(), $order=array(), $count=false, $depth=1) | |
| Retrieves list of children AuthUserToGenGroup objects using joins. | |
| listUserToPermissions ($constraints=array(), $limit=array(), $order=array(), $count=false) | |
| Retrieves list of children AuthUserToPermission objects. | |
| listUserToPermissionsMulti ($constraints=array(), $limit=array(), $order=array(), $count=false, $depth=1) | |
| Retrieves list of children AuthUserToPermission objects using joins. | |
| listUserToProjects ($constraints=array(), $limit=array(), $order=array(), $count=false) | |
| Retrieves list of children AuthUserToProject objects. | |
| listUserToProjectsMulti ($constraints=array(), $limit=array(), $order=array(), $count=false, $depth=1) | |
| Retrieves list of children AuthUserToProject objects using joins. | |
Static Public Member Functions | |
| static | exists ($constraints=array()) |
| Checks to see if object exists according to constraints. | |
| static | existsMulti ($constraints=array()) |
| Checks to see if object-set exists according to constraints. | |
| static | getAttributesStatic () |
| Retrieves attributes and information about them. | |
| static | getList ($constraints=array(), $limit=array(), $order=array(), $count=false) |
| Retrieves list of AuthUser objects. | |
| static | getListMulti ($constraints=array(), $limit=array(), $order=array(), $count=false, $depth=1) |
| Retrieves list of AuthUser objects using joins. | |
| static | getTableNameStatic () |
| Retrieves name of table represented by this class. | |
| static | retrieve ($constraints=array(), $checkOnly=false) |
| Retrieves a single object of this type, given the constraints. | |
| static | retrieveMulti ($constraints=array(), $checkOnly=false, $depth=1) |
| Retrieves a single object of this type, given the constraints, grabbing foreign objects. | |
Static Public Attributes | |
| static | $ATTRIBUTES |
| Attributes for this entity and information about them. | |
INSERT DESCRIPTION HERE
Definition at line 12 of file AuthUser.php5.
| AuthUser::__construct | ( | $ | constraints = null, |
|
| $ | multi = false | |||
| ) |
Constructs new AuthUser object.
This method will only populate the object if a constraints array is passed in, to use for selecting the information for the object from the database (see Guide to Database Constraints).
| $constraints | [array]: constraints array for populating | |
| $multi | [boolean]: if true, use joins when populating |
Definition at line 73 of file AuthUser.php5.
References SDatabaseModel::populate(), SModel2::registerAttributes(), SDatabaseModel::registerPrimaryKey(), and SDatabaseModel::registerTableName().
| AuthUser::addConfirmEmail | ( | $ | hash, | |
| $ | requestTime = '' | |||
| ) |
Add new AuthConfirmEmail object connected to this object.
This method creates a new AuthConfirmEmail and makes sure that relevant foreign keys in that object point to this object and any other necessary objects as passed in as parameters to this method. For parameters that request another model object, you may either pass in the model object itself, or the id value for that object, as would be used in the foreign key of the new AuthConfirmEmail object. For example, if the new object needs to point to both this object and, say, a user object, then you can either pass in a user object, or a user ID.
| $hash | [string]: INSERT DESCRIPTION HERE | |
| $requestTime | [time]: INSERT DESCRIPTION HERE |
Definition at line 297 of file AuthUser.php5.
References SDatabaseModel::commit().
| AuthUser::addResetPassword | ( | $ | hash, | |
| $ | requestTime = '' | |||
| ) |
Add new AuthResetPassword object connected to this object.
This method creates a new AuthResetPassword and makes sure that relevant foreign keys in that object point to this object and any other necessary objects as passed in as parameters to this method. For parameters that request another model object, you may either pass in the model object itself, or the id value for that object, as would be used in the foreign key of the new AuthResetPassword object. For example, if the new object needs to point to both this object and, say, a user object, then you can either pass in a user object, or a user ID.
| $hash | [string]: INSERT DESCRIPTION HERE | |
| $requestTime | [time]: INSERT DESCRIPTION HERE |
Definition at line 525 of file AuthUser.php5.
References SDatabaseModel::commit().
| AuthUser::addUserConfig | ( | $ | opt, | |
| $ | page, | |||
| $ | value, | |||
| $ | project = '*' | |||
| ) |
Add new AuthUserConfig object connected to this object.
This method creates a new AuthUserConfig and makes sure that relevant foreign keys in that object point to this object and any other necessary objects as passed in as parameters to this method. For parameters that request another model object, you may either pass in the model object itself, or the id value for that object, as would be used in the foreign key of the new AuthUserConfig object. For example, if the new object needs to point to both this object and, say, a user object, then you can either pass in a user object, or a user ID.
| $opt | [string]: INSERT DESCRIPTION HERE | |
| $page | [string]: INSERT DESCRIPTION HERE | |
| $value | [string]: INSERT DESCRIPTION HERE | |
| $project | [string]: INSERT DESCRIPTION HERE |
Definition at line 374 of file AuthUser.php5.
References SDatabaseModel::commit().
| AuthUser::addUserToGenGroup | ( | $ | genGroup | ) |
Add new AuthUserToGenGroup object connected to this object.
This method creates a new AuthUserToGenGroup and makes sure that relevant foreign keys in that object point to this object and any other necessary objects as passed in as parameters to this method. For parameters that request another model object, you may either pass in the model object itself, or the id value for that object, as would be used in the foreign key of the new AuthUserToGenGroup object. For example, if the new object needs to point to both this object and, say, a user object, then you can either pass in a user object, or a user ID.
| $genGroup | [AuthGenGroup]: Can also be foreign key value. INSERT DESCRIPTION HERE |
Definition at line 449 of file AuthUser.php5.
References SDatabaseModel::commit().
| AuthUser::addUserToPermission | ( | $ | permission | ) |
Add new AuthUserToPermission object connected to this object.
This method creates a new AuthUserToPermission and makes sure that relevant foreign keys in that object point to this object and any other necessary objects as passed in as parameters to this method. For parameters that request another model object, you may either pass in the model object itself, or the id value for that object, as would be used in the foreign key of the new AuthUserToPermission object. For example, if the new object needs to point to both this object and, say, a user object, then you can either pass in a user object, or a user ID.
| $permission | [AuthPermission]: Can also be foreign key value. INSERT DESCRIPTION HERE |
Definition at line 674 of file AuthUser.php5.
References SDatabaseModel::commit().
| AuthUser::addUserToProject | ( | $ | project | ) |
Add new AuthUserToProject object connected to this object.
This method creates a new AuthUserToProject and makes sure that relevant foreign keys in that object point to this object and any other necessary objects as passed in as parameters to this method. For parameters that request another model object, you may either pass in the model object itself, or the id value for that object, as would be used in the foreign key of the new AuthUserToProject object. For example, if the new object needs to point to both this object and, say, a user object, then you can either pass in a user object, or a user ID.
| $project | [AuthProject]: Can also be foreign key value. INSERT DESCRIPTION HERE |
Definition at line 599 of file AuthUser.php5.
References SDatabaseModel::commit().
| static AuthUser::exists | ( | $ | constraints = array() |
) | [static] |
Checks to see if object exists according to constraints.
This is simply an alias for retrieve($constraints, true);
| $constraints | [array]: constraints used to check for existence of object |
Definition at line 135 of file AuthUser.php5.
| static AuthUser::existsMulti | ( | $ | constraints = array() |
) | [static] |
Checks to see if object-set exists according to constraints.
This is simply an alias for retrieveMulti($constraints, true);
| $constraints | [array]: constraints used to check for existence of object |
Definition at line 169 of file AuthUser.php5.
| static AuthUser::getAttributesStatic | ( | ) | [static] |
Retrieves attributes and information about them.
This method is needed because there is no generic way to get at the $ATTRIBUTES static member variable without this kind of method. If you do not need to generically grab the attributes of a model class, just use ModelClass::$ATTRIBUTES or $obj->getAttributes().
Definition at line 93 of file AuthUser.php5.
| static AuthUser::getList | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false | |||
| ) | [static] |
Retrieves list of AuthUser objects.
See Guide to Database Constraints for more on how to construct constraint and other arrays for this method.
| $constraints | [array]: limit results by criteria | |
| $limit | [array]: limit results by count | |
| $order | [array]: change ordering of results | |
| $count | [boolean]: if true, return the number of objects that would have been returned, rather than the objects themselves |
Definition at line 186 of file AuthUser.php5.
Referenced by SGlobalAuthModule::authenticate().
| static AuthUser::getListMulti | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false, |
|||
| $ | depth = 1 | |||
| ) | [static] |
Retrieves list of AuthUser objects using joins.
See Guide to Database Constraints for more on how to construct constraint and other arrays for this method. This method differs from getList() in that it initializes the objects with joins, so that their child objects are included as well. Everything else is the same
| $constraints | [array]: limit results by criteria | |
| $limit | [array]: limit results by count | |
| $order | [array]: change ordering of results | |
| $count | [boolean]: if true, return the number of objects that would have been returned, rather than the objects themselves | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
Definition at line 205 of file AuthUser.php5.
| AuthUser::getParentHashType | ( | ) |
Retrieves parent object of this object.
The parent object of a AuthUser is a AuthHashType, related by the fact that AuthHashType's id has the same value as our hashTypeId field.
Definition at line 219 of file AuthUser.php5.
References AuthHashType::retrieve().
| AuthUser::getParentHashTypeMulti | ( | $ | depth = 1 |
) |
Retrieves parent object of this object with foreign objects.
The parent object of a AuthUser is a AuthHashType, related by the fact that AuthHashType's id has the same value as our hashTypeId field.
| $depth | [int]: how deep to traverse dependencies when doing joins |
Definition at line 232 of file AuthUser.php5.
| static AuthUser::getTableNameStatic | ( | ) | [static] |
Retrieves name of table represented by this class.
Definition at line 102 of file AuthUser.php5.
| AuthUser::listConfirmEmails | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false | |||
| ) |
Retrieves list of children AuthConfirmEmail objects.
This method retrieves objects of type AuthConfirmEmail which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves |
$count is true, or null on error Definition at line 252 of file AuthUser.php5.
| AuthUser::listConfirmEmailsMulti | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false, |
|||
| $ | depth = 1 | |||
| ) |
Retrieves list of children AuthConfirmEmail objects using joins.
This method retrieves objects of type AuthConfirmEmail which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2. Unlike listConfirmEmails(), this method joins the child objects with their parent objects.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
$count is true, or null on error Definition at line 276 of file AuthUser.php5.
| AuthUser::listResetPasswords | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false | |||
| ) |
Retrieves list of children AuthResetPassword objects.
This method retrieves objects of type AuthResetPassword which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves |
$count is true, or null on error Definition at line 480 of file AuthUser.php5.
| AuthUser::listResetPasswordsMulti | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false, |
|||
| $ | depth = 1 | |||
| ) |
Retrieves list of children AuthResetPassword objects using joins.
This method retrieves objects of type AuthResetPassword which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2. Unlike listResetPasswords(), this method joins the child objects with their parent objects.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
$count is true, or null on error Definition at line 504 of file AuthUser.php5.
| AuthUser::listUserConfigs | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false | |||
| ) |
Retrieves list of children AuthUserConfig objects.
This method retrieves objects of type AuthUserConfig which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves |
$count is true, or null on error Definition at line 327 of file AuthUser.php5.
| AuthUser::listUserConfigsMulti | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false, |
|||
| $ | depth = 1 | |||
| ) |
Retrieves list of children AuthUserConfig objects using joins.
This method retrieves objects of type AuthUserConfig which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2. Unlike listUserConfigs(), this method joins the child objects with their parent objects.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
$count is true, or null on error Definition at line 351 of file AuthUser.php5.
| AuthUser::listUserToGenGroups | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false | |||
| ) |
Retrieves list of children AuthUserToGenGroup objects.
This method retrieves objects of type AuthUserToGenGroup which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves |
$count is true, or null on error Definition at line 405 of file AuthUser.php5.
| AuthUser::listUserToGenGroupsMulti | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false, |
|||
| $ | depth = 1 | |||
| ) |
Retrieves list of children AuthUserToGenGroup objects using joins.
This method retrieves objects of type AuthUserToGenGroup which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2. Unlike listUserToGenGroups(), this method joins the child objects with their parent objects.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
$count is true, or null on error Definition at line 429 of file AuthUser.php5.
| AuthUser::listUserToPermissions | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false | |||
| ) |
Retrieves list of children AuthUserToPermission objects.
This method retrieves objects of type AuthUserToPermission which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves |
$count is true, or null on error Definition at line 630 of file AuthUser.php5.
| AuthUser::listUserToPermissionsMulti | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false, |
|||
| $ | depth = 1 | |||
| ) |
Retrieves list of children AuthUserToPermission objects using joins.
This method retrieves objects of type AuthUserToPermission which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2. Unlike listUserToPermissions(), this method joins the child objects with their parent objects.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
$count is true, or null on error Definition at line 654 of file AuthUser.php5.
| AuthUser::listUserToProjects | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false | |||
| ) |
Retrieves list of children AuthUserToProject objects.
This method retrieves objects of type AuthUserToProject which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves |
$count is true, or null on error Definition at line 555 of file AuthUser.php5.
| AuthUser::listUserToProjectsMulti | ( | $ | constraints = array(), |
|
| $ | limit = array(), |
|||
| $ | order = array(), |
|||
| $ | count = false, |
|||
| $ | depth = 1 | |||
| ) |
Retrieves list of children AuthUserToProject objects using joins.
This method retrieves objects of type AuthUserToProject which have their userId field equal to the value of this object's id field. The constraints, limit and order parameters can be used to trim down and order the results. See Guide to Database Constraints for more on using database constraints with DBI2/SModel2. Unlike listUserToProjects(), this method joins the child objects with their parent objects.
| $constraints | [array]: constraints array to further limit results | |
| $limit | [array]: limit array to control how many and which results are returned | |
| $order | [array]: order array to control the ordering of the returned results | |
| $count | [boolean]: if true, only return the count of how many objects would be returned, rather than the objects themselves | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
$count is true, or null on error Definition at line 579 of file AuthUser.php5.
| static AuthUser::retrieve | ( | $ | constraints = array(), |
|
| $ | checkOnly = false | |||
| ) | [static] |
Retrieves a single object of this type, given the constraints.
Use this method instead of the constructor since the constructor cannot return error conditions properly.
| $constraints | [array]: constraints to use when retrieving object | |
| $checkOnly | [boolean]: if true, just return whether the row exists in the DB |
Definition at line 117 of file AuthUser.php5.
Referenced by SGlobalAuthModule::__wakeup(), AuthUserToProject::getParentUser(), AuthUserToPermission::getParentUser(), AuthUserToGenGroup::getParentUser(), AuthUserConfig::getParentUser(), AuthResetPassword::getParentUser(), and AuthConfirmEmail::getParentUser().
| static AuthUser::retrieveMulti | ( | $ | constraints = array(), |
|
| $ | checkOnly = false, |
|||
| $ | depth = 1 | |||
| ) | [static] |
Retrieves a single object of this type, given the constraints, grabbing foreign objects.
Use this method instead of the constructor since the constructor cannot return error conditions properly. This method uses getListMulti() instead of getList() to grab the object.
| $constraints | [array]: constraints to use when retrieving object | |
| $checkOnly | [boolean]: if true, just return whether the row exists in the DB | |
| $depth | [int]: how deep to traverse dependencies when doing joins |
Definition at line 151 of file AuthUser.php5.
Referenced by AuthUserToProject::getParentUserMulti(), AuthUserToPermission::getParentUserMulti(), AuthUserToGenGroup::getParentUserMulti(), AuthUserConfig::getParentUserMulti(), AuthResetPassword::getParentUserMulti(), and AuthConfirmEmail::getParentUserMulti().
1.5.6