\Colibri\Data\MySqlConnection

Класс подключения к базе данных MySql

Summary

Methods
Properties
Constants
__construct()
Open()
Reopen()
Close()
__get()
$resource
$raw
$connection
$isAlive
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_connectioninfo
$_resource
N/A

Properties

$resource

$resource : resource

Type

resource

$raw

$raw : resource

Type

resource

$connection

$connection : resource

Type

resource

$isAlive

$isAlive : boolean

Type

boolean

$_connectioninfo

$_connectioninfo : \Colibri\Data\MySql\stdClass

Данные о подключении

Type

\Colibri\Data\MySql\stdClass

$_resource

$_resource : \Colibri\Data\MySql\mysqli

Ресур mysqli

Type

\Colibri\Data\MySql\mysqli

Methods

__construct()

__construct(string  $host, string  $port, string  $user, string  $password, string  $database = null) 

Создает обьект

Parameters

string $host
string $port
string $user
string $password
string $database

Open()

Open() : boolean

Открывает подключения

Returns

boolean

Reopen()

Reopen() : void

Переорктывает подключение

Close()

Close() : void

Закрывает подключение

__get()

__get(string  $property) : mixed

Геттер

Parameters

string $property

Returns

mixed