Config
- Full name:
\Zotlabs\Lib\Config
Methods
Load
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$family |
string | The category of the configuration value |
$recursionCounter |
mixed |
Set
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$family |
string | The category of the configuration value |
$key |
string | The configuration key to set |
$value |
mixed | The value to store in the configuration |
Return Value:
Return the set value, or false if the database update failed
Get
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$family |
string | The category of the configuration value |
$key |
string | The configuration key to query |
$default |
mixed | (optional) default false |
Return Value:
Return value or false on error or if not set
Delete
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$family |
string | The category of the configuration value |
$key |
string | The configuration key to delete |
get_from_storage
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$family |
string | The category of the configuration value |
$key |
string | The configuration key to query |
Automatically generated on 2025-03-19