WireDatabaseDialect::getVariable()
Get database variable value
Usage
// basic usage
$string = $wireDatabaseDialect->getVariable(string $name);
// usage with all arguments
$string = $wireDatabaseDialect->getVariable(string $name, bool $cache = true, bool $sub = true);Arguments
| Name | Type(s) | Description |
|---|---|---|
$name | string | |
$cache (optional) | bool | |
$sub (optional) | bool |
Return value
string null
WireDatabaseDialect methods and properties
API reference based on ProcessWire core version 3.0.275