Comment on page

User Class & Functions

//Class is initated as $userquery
Absolute Path of the Class File /includes/classes/videos.class.php
Absolute Path of the functions file /includes/functions_videos.php
Object Methods
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.
logs out user
::delete_user(int $int)
Delete's user
Fetches the user information
Fetches logged in username
get logged in userid
::signup_user(array $params)
Add New User