😎
ClipBucket
  • 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
      • add_admin_menu
      • get_thumb
      • FlashPlayer
      • {ANCHOR }
      • add_js
      • lang
      • {videoLink }
      • get_users
      • get_videos
  • Group 1
    • Users
Powered by GitBook
On this page
  1. Fundamentals
  2. Basic Understandings

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

::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

PreviousVideos Class & FunctionsNextTemplate Class & Functions

Last updated 3 years ago