Comment on page
User Class & Functions
//Class is initated as $userquery
$userquery->get_user_details($userid);
Absolute Path of the Class File /includes/classes/videos.class.php
Absolute Path of the functions file /includes/functions_videos.php
Object Methods | Functions | Text |
---|---|---|
::get_basic_fields | | Get the basic fields that are required in a user object |
::login_user($username, $password, $remember) | | Used to login user with username and Password. |
::logincheck($access, $check_only, $verify_logged_user) | | Very important, basically its to see if user has Access to a page, the name is confusing. |
::logout | | logs out user |
::delete_user(int $int) | | Delete's user |
::get_user_details($id) | | Fetches the user information |
::get_logged_username | get_username(); | Fetches logged in username |
| get_userid(); | get logged in userid |
::signup_user(array $params) | | Add New User |
Last modified 2yr ago