Documentation

DBConfig
in package

Table of Contents

Methods

GetAll()  : null|array<string|int, mixed>
Gets all Database Configuration keys with their values
GetConfig()  : array<string|int, mixed>
Gets the entire Configuration in Database parsed in their formats
GetValue()  : mixed
Gets the value of a configuration key
SetValue()  : bool
Sets the value of a configuration key

Methods

GetAll()

Gets all Database Configuration keys with their values

public static GetAll() : null|array<string|int, mixed>
Return values
null|array<string|int, mixed>

GetConfig()

Gets the entire Configuration in Database parsed in their formats

public static GetConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>

GetValue()

Gets the value of a configuration key

public static GetValue(mixed $key) : mixed
Parameters
$key : mixed

Configuration Key

SetValue()

Sets the value of a configuration key

public static SetValue(mixed $key, mixed $value) : bool
Parameters
$key : mixed

Configuration Key

$value : mixed

Value to set

Return values
bool

        
On this page

Search results