aboutsummaryrefslogtreecommitdiffstats
path: root/lib/preferences.php
diff options
context:
space:
mode:
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;
+ }
+}
+?>