Skip to content

dba_driver

  • Full name: \dba_driver
  • This class is an Abstract class

Properties

db

public $db

debug

public $debug

connected

public $connected

error

public $error

Methods

connect

public connect(string $server, string $scheme, string $port, string $user, string $pass, string $db, mixed $db_charset): bool
  • This method is abstract.

Parameters:

Parameter Type Description
$server string DB server name
$scheme string DB scheme
$port string DB port
$user string DB username
$pass string DB password
$db string database name
$db_charset mixed

q

public q(string $sql): mixed
  • This method is abstract.

Parameters:

Parameter Type Description
$sql string The SQL query to execute

escape

public escape(string $str): mixed
  • This method is abstract.

Parameters:

Parameter Type Description
$str string The string to escape.

close

public close(): mixed
  • This method is abstract.

getdriver

public getdriver(): mixed
  • This method is abstract.

__construct

public __construct(mixed $server, mixed $scheme, mixed $port, mixed $user, mixed $pass, mixed $db, mixed $db_charset, mixed $install = false): mixed

Parameters:

Parameter Type Description
$server mixed
$scheme mixed
$port mixed
$user mixed
$pass mixed
$db mixed
$db_charset mixed
$install mixed

get_null_date

public get_null_date(): mixed

get_install_script

public get_install_script(): mixed

get_table_quote

public get_table_quote(): mixed

utcnow

public utcnow(): mixed

install

public install(mixed $server, mixed $scheme, mixed $port, mixed $user, mixed $pass, mixed $db): mixed

Parameters:

Parameter Type Description
$server mixed
$scheme mixed
$port mixed
$user mixed
$pass mixed
$db mixed

dbg

public dbg(int $dbg): mixed

Parameters:

Parameter Type Description
$dbg int 0 to disable debugging

__destruct

public __destruct(): mixed

quote_interval

public quote_interval(mixed $txt): mixed

Parameters:

Parameter Type Description
$txt mixed

optimize_table

public optimize_table(mixed $table): mixed

Parameters:

Parameter Type Description
$table mixed

concat

public concat(mixed $fld, mixed $sep): mixed

Parameters:

Parameter Type Description
$fld mixed
$sep mixed

escapebin

public escapebin(mixed $str): mixed

Parameters:

Parameter Type Description
$str mixed

unescapebin

public unescapebin(mixed $str): mixed

Parameters:

Parameter Type Description
$str mixed


Automatically generated on 2025-03-19