models / settings_model.php
SettingsModel
Model
Settings model. Used with CLIENT settings controller. Unlike the media settings, which have a number of separate models, the regular settings model is used for managing OpenBroadcaster-wide settings in the database.
public
setting_get
(
name
)
public
setting_get
(
name
)
Get a setting.
Parameters
name |
Returns
[status, msg, value]
public
setting_set
(
name, value
)
public
setting_set
(
name, value
)
Update a setting.
Parameters
name |
|
value |
Returns
[status, msg, result]