diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-01-18 15:23:08 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-01-24 11:16:37 +0100 |
commit | d630af4ca80d4e0ab37197df2bc8a0f98ea674a4 (patch) | |
tree | 56ee5886af6d27b46d97150ae3e9e1ebe64c986d /lib/public/IConfig.php | |
parent | 6e47104bb633263c7ff59b2da05d077f7fe9f241 (diff) | |
download | nextcloud-server-d630af4ca80d4e0ab37197df2bc8a0f98ea674a4.tar.gz nextcloud-server-d630af4ca80d4e0ab37197df2bc8a0f98ea674a4.zip |
Add a new method getAllUserValues($userId) to IConfig
The method was already there in AllConfig but private
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/IConfig.php')
-rw-r--r-- | lib/public/IConfig.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php index 33b9c97971a..31e62cc23c0 100644 --- a/lib/public/IConfig.php +++ b/lib/public/IConfig.php @@ -217,6 +217,18 @@ interface IConfig { public function getUserKeys($userId, $appName); /** + * Get all user configs sorted by app of one user + * + * @param string $userId the userId of the user that we want to get all values from + * @return array[] - 2 dimensional array with the following structure: + * [ $appId => + * [ $key => $value ] + * ] + * @since 24.0.0 + */ + public function getAllUserValues(string $userId): array; + + /** * Delete a user value * * @param string $userId the userId of the user that we want to store the value under |