Documentation

Database.php

Table of Contents

Functions

bb_connectdb()  : bool
Establishes a Database connection using the given configuration stack
bb_setdb()  : void
Sets the core Database
bb_db()  : null|IDatabaseDriver
Gets the core Database or null
bb_dbconnected()  : bool
Returns whether the Core Database is connected
bb_dbalive()  : bool
Returns whether the Core Database is alive

Functions

bb_connectdb()

Establishes a Database connection using the given configuration stack

bb_connectdb(array<string|int, mixed> $config) : bool
Parameters
$config : array<string|int, mixed>

Configuration Stack with all Connection Parameters

Return values
bool

Returns true if connection is established successful

bb_dbconnected()

Returns whether the Core Database is connected

bb_dbconnected() : bool
Return values
bool

bb_dbalive()

Returns whether the Core Database is alive

bb_dbalive() : bool
Return values
bool

        
On this page

Search results