IAppConfig¶
-
interface
OCP\
IAppConfig
¶ - This class provides an easy way for apps to store config values in thedatabase.
Implemented by: OC\AppConfig
Source: lib/public/IAppConfig.php#35
Methods¶
-
public
OCP\IAppConfig::
hasKey
($app, $key)¶ - check if a key is set in the appconfig
Source: Parameters: - $app (string)
- $key (string)
Returns: bool
Since: 7.0.0
-
public
OCP\IAppConfig::
getValues
($app, $key)¶ - get multiply values, either the app or key can be used as wildcard by setting it to false
Source: Parameters: - $app (string | bool)
- $key (string | bool)
Returns: array | bool
Since: 7.0.0
-
public
OCP\IAppConfig::
getFilteredValues
($app)¶ - get all values of the app or and filters out sensitive data
Source: Parameters: - $app (string)
Returns: array
Since: 12.0.0
-
public
OCP\IAppConfig::
getApps
()¶ - Get all apps using the config
Source: Returns: array an array of app ids
This function returns a list of all apps that have at least one entry in the appconfig table.
Since: 7.0.0