|
const | USER = 0 |
|
const | ADMIN = 1 |
|
const | ADVISOR = 2 |
|
const | SUPER_USER = 'fossy' |
|
|
| $dbManager |
|
| $logger |
|
| $session |
|
Definition at line 27 of file UserDao.php.
Fossology\Lib\Dao\UserDao::addGroup |
( |
|
$groupName | ) |
|
- Parameters
-
string | $groupName | raw group name as entered by the user |
- Returns
- int $groupId
- Exceptions
-
Definition at line 339 of file UserDao.php.
Fossology\Lib\Dao\UserDao::deleteGroup |
( |
|
$groupId | ) |
|
Fossology\Lib\Dao\UserDao::fixDefaultGroup |
( |
|
$userId, |
|
|
|
$groupName |
|
) |
| |
|
private |
- Parameters
-
int | $userId | |
string | $groupName | |
- Returns
- array with keys 'group_fk', 'group_name'
Definition at line 309 of file UserDao.php.
Fossology\Lib\Dao\UserDao::getAdminGroupMap |
( |
|
$userId, |
|
|
|
$userLevel = 0 |
|
) |
| |
get array of groups that this user has admin access to
- Parameters
-
- Returns
- array in the format {group_pk=>group_name, group_pk=>group_name, ...}
Definition at line 77 of file UserDao.php.
Fossology\Lib\Dao\UserDao::getDeletableAdminGroupMap |
( |
|
$userId, |
|
|
|
$userLevel = 0 |
|
) |
| |
get array of groups that this user has admin access to
- Parameters
-
- Returns
- array in the format {group_pk=>group_name, group_pk=>group_name, ...}
Definition at line 118 of file UserDao.php.
Fossology\Lib\Dao\UserDao::getGroupIdByName |
( |
|
$groupName | ) |
|
Fossology\Lib\Dao\UserDao::getGroupNameById |
( |
|
$groupId | ) |
|
Fossology\Lib\Dao\UserDao::getUserByName |
( |
|
$userName | ) |
|
Fossology\Lib\Dao\UserDao::getUserByPermission |
( |
|
$permission | ) |
|
|
private |
Fossology\Lib\Dao\UserDao::getUserByPk |
( |
|
$userPk | ) |
|
Fossology\Lib\Dao\UserDao::getUserChoices |
( |
|
$groupId = null | ) |
|
Fossology\Lib\Dao\UserDao::getUserEmail |
( |
|
$userId | ) |
|
Fossology\Lib\Dao\UserDao::getUserGroupMap |
( |
|
$userId | ) |
|
get array of groups that this user has admin access to
- Parameters
-
- Returns
- array in the format {group_pk=>group_name, group_pk=>group_name, ...}
Definition at line 100 of file UserDao.php.
Fossology\Lib\Dao\UserDao::getUserName |
( |
|
$userId | ) |
|
Fossology\Lib\Dao\UserDao::setDefaultGroupMembership |
( |
|
$userId, |
|
|
|
$groupId |
|
) |
| |
The documentation for this class was generated from the following file: