Expose getAppKeys trough \OCP\IConfig

remotes/origin/fix-10825
Robin Appelman 11 years ago committed by Vincent Petry
parent 6585eaa5df
commit 12ac3a800d
  1. 9
      lib/private/allconfig.php
  2. 7
      lib/public/iconfig.php

@ -43,6 +43,15 @@ class AllConfig implements \OCP\IConfig {
\OCP\Config::deleteSystemValue($key);
}
/**
* Get all keys stored for an app
*
* @param string $appName the appName that we stored the value under
* @return string[] the keys stored for the app
*/
public function getAppKeys($appName) {
return \OC::$server->getAppConfig()->getKeys($appName);
}
/**
* Writes a new app wide value

@ -58,6 +58,13 @@ interface IConfig {
*/
public function deleteSystemValue($key);
/**
* Get all keys stored for an app
*
* @param string $appName the appName that we stored the value under
* @return string[] the keys stored for the app
*/
public function getAppKeys($appName);
/**
* Writes a new app wide value

Loading…
Cancel
Save