😎
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

Videos Class & Functions

//Class is initated as  $vdo
$vdo->get_video($videoid);

Absolute Path of the Class File /includes/classes/videos.class.php

Absolute Path of teh functions file /includes/functions_videos.php

For Some Odd Reason, I know. submit_upload (Add Video Method) was written in /includes/class/upload.class.php

Object Methods
Functions
Purpose

::get_basic_fields()

::video_exists(int $video)

video_exists(int $videoid);

::get_video(int $vid, bool $file, bool $basic)

$vid = videoid

$file = if set to true $vid will be searched in file_name column instead of videoid column

$basic = if set to true, only basic fields are returned

get_video(); same has ::getVideo

::get_video(int $videoid)

get_video(int $vid)

get video details

::video_exists(int $vid)

video_exists(int $vid);

check if video exists

::action($case, $videoid)

Case Values

activate

deactivate

feature

unfeature

::delete_video(int $vid)

::get_videos(array $params)

get_videos()

Get list of videos

PreviousBasic UnderstandingsNextUser Class & Functions

Last updated 3 years ago