π
π
π
π
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
Videos Class & Functions
1
//Class is initated as $vdo
2
$vdo->get_video($videoid);
Copied!
β
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 ::get
Video
β
::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
Fundamentals - Previous
Basic Understandings
Next
User Class & Functions
Last modified
7mo ago
Copy link