π
π
π
π
ClipBucket
Searchβ¦
What is ClipBucket
Fundamentals
Files Structure
Basic Understandings
Videos Class & Functions
User Class & Functions
Template Class & Functions
DB.class & Functions
User Levels & Permissions
Guides
Template Customization
Plugin Development
Anchors, Functions & Filters
Clipbucket template files
Functions
Group 1
Users
Powered By
GitBook
User Class & Functions
1
//Class is initated as $userquery
2
$userquery->get_user_details($userid);
Copied!
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.
::login
check($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
Previous
Videos Class & Functions
Next
Template Class & Functions
Last modified
7mo ago
Copy link