Documentation

Manager
in package

FinalYes

Legacy DBMS registry for databases, tables, connection clients, and query logging.

Tags
author

Daniel Schulz

since
2018-03-29

Table of Contents

Constants

LOG_LINELENGTH  : mixed = 120

Properties

$client  : Client
$databaseList  : array<string|int, mixed>
$tableList  : array<string|int, mixed>

Methods

_createLog()  : void
cron()  : void
getClient()  : Client
getDatabase()  : Database
getLogDirectory()  : string
getLogEnabled()  : bool
getTable()  : Table
setLogDirectory()  : void
setLogEnabled()  : void

Constants

LOG_LINELENGTH

public mixed LOG_LINELENGTH = 120

Properties

$databaseList

protected static array<string|int, mixed> $databaseList = []

$tableList

protected static array<string|int, mixed> $tableList = []

Methods

_createLog()

public static _createLog(string $sql) : void
Parameters
$sql : string

getDatabase()

public static getDatabase(string $dbName) : Database
Parameters
$dbName : string
Return values
Database

getLogDirectory()

public static getLogDirectory() : string
Return values
string

getLogEnabled()

public static getLogEnabled() : bool
Return values
bool

getTable()

public static getTable(string $dbName, string $tableName) : Table
Parameters
$dbName : string
$tableName : string
Return values
Table

setLogDirectory()

public static setLogDirectory(string $directory) : void
Parameters
$directory : string

setLogEnabled()

public static setLogEnabled(bool $value) : void
Parameters
$value : bool
On this page

Search results