Méthode |
Description |
|
__construct ( ) : void |
Constructor |
|
add_user ( $data ) : mixed |
Add User |
|
delete_user ( $user_id ) : boolean |
Delete User |
|
edit_user ( $user_id, $data ) : boolean |
Edit User |
|
email_check ( $email, $id = '' ) : boolean |
Checks if an email is already in use. |
|
generate_api_key ( $length = 32 ) : string |
generate_api_key function. |
|
get_user ( $query ) : array |
Get user |
|
hash_pass ( $password ) : string |
Hash the password |
|
reset_password ( $hash ) : boolean |
Resets a users password. Used by forgot password routine. |
|
send_new_password ( $user_id ) |
------------------------------------------------------------------------ |
|
update_api_key ( $user_api_key, $user_id ) : boolean |
Update the API key in the user table |
|
update_login_info ( $user_id ) : void |
Update user login info, such as IP-address or login time. |
|
user_notes ( $user_id ) : array |
User Notes |
|
username_check ( $username, $id = '' ) : boolean |
Checks if a username is already in use. |
|
users_listings ( $listing_owner_id ) : string |
Finds users active listings |
|