Метод |
Описание |
|
__construct ( ) |
constructor function |
|
create ( $data = [] ) |
|
|
generate_password ( $salt ) |
|
|
getUserID ( $user ) |
|
|
get_user_by_email ( $email ) : object |
Get user record by email |
|
get_user_by_id ( $user_id ) : object |
Get user record by user_id |
|
get_user_meta ( $user_id ) |
|
|
on_duplicate_update ( $table, null $data = NULL, null $update = NULL ) : boolean |
|
|
requestPassword ( $user_id ) : string |
Reset user password, create reset request key and return it |
|
set_new_password ( $npass, $email ) |
Save new password after hashing that |
|
update ( $data = [] ) |
|
|
update_login_info ( $user_id ) : void |
Update user login info, such as IP-address or login time, and
clear previously generated (but not activated) passwords. |
|
update_user_meta ( $user_id, $data ) |
|
|