π
π
π
π
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
DB.class & Functions
1
//Class is initated as $cbtpl
2
$db->select($query);
Copied!
Absolute Path of the Class File
/includes/classes/db.class.php
Absolute Path of the functions file
/includes/functions_db.php
Object Methods
Functions
Purpose
::
_select($query)
db_select($query)
Executes a MYSQL query and return ARRAY
::select($tbl, $fields, $condition, $order)
β
Executes Mysql SELECT query and returns data.
β
::db_update
db_
update($tbl, $assoc_fields, $condition)
Update a DB table and set values acording to the Assoc_array fields and as per $condition
::db_insert
db_insert($tbl, assoc array $fields)
Insert data into a table
::insert_id
β
returns last insert_id
::Execute()
β
Executes a raw Mysql Command
Previous
Template Class & Functions
Next
User Levels & Permissions
Last modified
7mo ago
Copy link