|
ultimix
|
Public Member Functions | |
| __construct () | |
| set_add_limitations ($theAddLimitation) | |
| unsafe_select ($Condition= '1=1') | |
| get_user ($Login) | |
| reset_password ($Login, $Password) | |
| set_avatar ($Login, $ImageId) | |
| update ($id, &$Record) | |
| delete ($ids) | |
| activate_users ($Ids) | |
| deactivate_users ($Ids) | |
| activate_user ($Hash) | |
| deactivate_user ($id) | |
| create ($Record) | |
| select_list ($id) | |
| select ($Start=false, $Limit=false, $Field=false, $Order=false, $Condition= '1=1') | |
| simple_select () | |
Data Fields | |
| $NativeTable = '`umx_user`' | |
| $GuestUserId = 2 | |
| $Database = false | |
| $DatabaseAlgorithms = false | |
| $Security = false | |
| $SecurityParser = false | |
| $UserAccessUtilities = false | |
| $UsersCache = array() | |
| $AddLimitations = '1 = 1' | |
Class for authentification.
Definition at line 26 of file user_access.php.
| __construct | ( | ) |
Constructor.
Definition at line 90 of file user_access.php.
| activate_user | ( | $Hash | ) |
Function activates user.
| $Hash | - Activation hash. |
| Exception | An exception of this type is thrown. |
Definition at line 564 of file user_access.php.
| activate_users | ( | $Ids | ) |
Function activates users.
| $Ids | - id of the activating users. |
| Exception | An exception of this type is thrown. |
Definition at line 488 of file user_access.php.
| create | ( | $Record | ) |
Creating record.
| $Record | - Example for creation. |
| Exception | An exception of this type is thrown. |
Definition at line 673 of file user_access.php.
| deactivate_user | ( | $id | ) |
Function activates user.
| $id | - User's id. |
| Exception | An exception of this type is thrown. |
Definition at line 603 of file user_access.php.
| deactivate_users | ( | $Ids | ) |
Function activates users.
| $Ids | - id of the activating users. |
| Exception | An exception of this type is thrown. |
Definition at line 526 of file user_access.php.
| delete | ( | $ids | ) |
Function deletes user
| $ids | - id of the deleting user. |
| Exception | An exception of this type is thrown. |
Definition at line 451 of file user_access.php.
| get_user | ( | $Login | ) |
Function returns user by it's login.
| $Login | -Login of the searching user. |
| Exception | An exception of this type is thrown. |
Definition at line 227 of file user_access.php.
| reset_password | ( | $Login, | |
| $Password | |||
| ) |
Function resets password.
| $Login | - Login. |
| $Password | - New password. |
| Exception | An exception of this type is thrown. |
Definition at line 278 of file user_access.php.
| select | ( | $Start = false, |
|
$Limit = false, |
|||
$Field = false, |
|||
$Order = false, |
|||
$Condition = '1 = 1' |
|||
| ) |
Function returns list of records.
| $Start | - Number of the first record. |
| $Limit | - Count of records limitation. |
| $Field | - Field to sort by. |
| $Order | - Sorting order. |
| $Condition | - Additional conditions. |
| Exception | An exception of this type is thrown. |
Definition at line 775 of file user_access.php.
| select_list | ( | $id | ) |
Function selects list of objects.
| $id | - Comma separated list of record's id. |
| Exception | An exception of this type is thrown. |
Definition at line 723 of file user_access.php.
| set_add_limitations | ( | $theAddLimitation | ) |
Function sets additional limitations.
| $theAddLimitation | - Additional limitations. |
| Exception | An exception of this type is thrown. |
Definition at line 138 of file user_access.php.
| set_avatar | ( | $Login, | |
| $ImageId | |||
| ) |
Function sets avatar.
| $Login | - Login. |
| $ImageId | - Image id. |
| Exception | An exception of this type is thrown. |
Definition at line 320 of file user_access.php.
| simple_select | ( | ) |
Function selects list of objects.
| Exception | An exception of this type is thrown. |
Definition at line 810 of file user_access.php.
| unsafe_select | ( | $Condition = '1 = 1' | ) |
Selecting users.
| $Condition | not used. |
| Exception | An exception of this type is thrown. |
Definition at line 183 of file user_access.php.
| update | ( | $id, | |
| & | $Record | ||
| ) |
Updating record.
| $id | - Comma separated list of record's id. |
| $Record | - Example for update. |
| Exception | An exception of this type is thrown. |
Definition at line 403 of file user_access.php.
| $AddLimitations = '1 = 1' |
Definition at line 118 of file user_access.php.
| $Database = false |
Cached objects.
Definition at line 62 of file user_access.php.
| $DatabaseAlgorithms = false |
Definition at line 63 of file user_access.php.
| $GuestUserId = 2 |
Guest's id.
Definition at line 50 of file user_access.php.
| $NativeTable = '`umx_user`' |
Table name in wich objects of this entity are stored.
Definition at line 38 of file user_access.php.
| $Security = false |
Definition at line 64 of file user_access.php.
| $SecurityParser = false |
Definition at line 65 of file user_access.php.
| $UserAccessUtilities = false |
Definition at line 66 of file user_access.php.
| $UsersCache = array() |
Cache of users.
Definition at line 78 of file user_access.php.