XConfig
- Full name:
\Zotlabs\Lib\XConfig
Methods
Load
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$xchan |
string | The observer's hash |
Return Value:
Returns false if xchan is not set
Get
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$xchan |
string | The observer's hash |
$family |
string | The category of the configuration value |
$key |
string | The configuration key to query |
$default |
bool | (optional) default false |
Return Value:
Stored $value or false if it does not exist
Set
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$xchan |
string | The observer's hash |
$family |
string | The category of the configuration value |
$key |
string | The configuration key to set |
$value |
string | The value to store |
Return Value:
Stored $value or false
Delete
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$xchan |
string | The observer's hash |
$family |
string | The category of the configuration value |
$key |
string | The configuration key to delete |
Automatically generated on 2025-03-19