aboutsummaryrefslogtreecommitdiffstats
path: root/lib/preferences.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-03-03 21:55:32 +0100
committerJakob Sack <kde@jakobsack.de>2011-03-03 21:55:32 +0100
commitae5dc3efdffef75c48e5ef7cac6b40cd5720442b (patch)
tree53a0ecc40c827ae255e6f7c95a37c9a52b6d4ab8 /lib/preferences.php
parent94b405b64fdd1427873e49888fb0527640a10eb6 (diff)
downloadnextcloud-server-ae5dc3efdffef75c48e5ef7cac6b40cd5720442b.tar.gz
nextcloud-server-ae5dc3efdffef75c48e5ef7cac6b40cd5720442b.zip
New classes for owncloud: OC_APP for applications, OC_PREFERENCES for user preferences
Diffstat (limited to 'lib/preferences.php')
-rw-r--r--lib/preferences.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/preferences.php b/lib/preferences.php
new file mode 100644
index 00000000000..bd4ff55cc5c
--- /dev/null
+++ b/lib/preferences.php
@@ -0,0 +1,35 @@
+<?php
+class OC_PREFERENCES{
+ static public $forms=array();
+ /**
+ * Get the available keys for an application
+ * @param string application
+ */
+ public static function getKeys( $user, $application ){
+ // OC_DB::query( $query);
+ return array();
+ }
+
+ /**
+ * Get the config value
+ * @param string application
+ * @param string key
+ * @param string default
+ */
+ public static function getValue( $user, $application, $key, $default ){
+ // OC_DB::query( $query);
+ return $default;
+ }
+
+ /**
+ * Set the config value
+ * @param string application
+ * @param string key
+ * @param string value
+ */
+ public static function setValue( $user, $application, $name, $url ){
+ // OC_DB::query( $query);
+ return true;
+ }
+}
+?>