Model to hold user information.
More...
Model to hold user information.
Definition at line 31 of file User.php.
Fossology\UI\Api\Models\User::__construct |
( |
|
$id, |
|
|
|
$name, |
|
|
|
$description, |
|
|
|
$email, |
|
|
|
$accessLevel, |
|
|
|
$root_folder_id, |
|
|
|
$emailNotification, |
|
|
|
$agents |
|
) |
| |
User constructor.
- Parameters
-
integer | $id | |
string | $name | |
string | $description | |
string | $email | |
integer | $accessLevel | |
integer | $root_folder_id | |
boolean | $emailNotification | |
object | $agents | |
Definition at line 90 of file User.php.
Fossology\UI\Api\Models\User::getAccessLevel |
( |
| ) |
|
Fossology\UI\Api\Models\User::getAgents |
( |
| ) |
|
Fossology\UI\Api\Models\User::getArray |
( |
| ) |
|
Get user element as an associative array
- Returns
- array
Definition at line 194 of file User.php.
Fossology\UI\Api\Models\User::getDescription |
( |
| ) |
|
Fossology\UI\Api\Models\User::getEmail |
( |
| ) |
|
Fossology\UI\Api\Models\User::getEmailNotification |
( |
| ) |
|
- Returns
- boolean
Definition at line 168 of file User.php.
Fossology\UI\Api\Models\User::getId |
( |
| ) |
|
- Returns
- integer
Definition at line 120 of file User.php.
Fossology\UI\Api\Models\User::getJSON |
( |
| ) |
|
Get current user in JSON representation
- Returns
- string
Definition at line 185 of file User.php.
Fossology\UI\Api\Models\User::getName |
( |
| ) |
|
Fossology\UI\Api\Models\User::getRootFolderId |
( |
| ) |
|
- Returns
- integer
Definition at line 160 of file User.php.
string Fossology\UI\Api\Models\User::$accessLevel |
|
private |
Current user access level
Definition at line 57 of file User.php.
array Fossology\UI\Api\Models\User::$agents |
|
private |
Current user's agent preference
Definition at line 72 of file User.php.
Analysis Fossology\UI\Api\Models\User::$analysis |
|
private |
Current user's analysis from $agents
Definition at line 77 of file User.php.
string Fossology\UI\Api\Models\User::$description |
|
private |
Current user description
Definition at line 47 of file User.php.
string Fossology\UI\Api\Models\User::$email |
|
private |
Current user email
Definition at line 52 of file User.php.
boolean Fossology\UI\Api\Models\User::$emailNotification |
|
private |
Current user's email preference
Definition at line 67 of file User.php.
integer Fossology\UI\Api\Models\User::$id |
|
private |
Current user id
Definition at line 37 of file User.php.
string Fossology\UI\Api\Models\User::$name |
|
private |
Current user's name
Definition at line 42 of file User.php.
integer Fossology\UI\Api\Models\User::$rootFolderId |
|
private |
Current user's root folder id
Definition at line 62 of file User.php.
The documentation for this class was generated from the following file: