blob: f1bccc0a250671f19507936e601bec2f5d9ccf2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?php
class OC_APPCONFIG{
static public $forms=array();
/**
* add a form to the settings page
* @param string name
* @param string url
*/
public static function addForm($name,$url){
self::$forms[$name]=$url;
}
/**
* Get the available keys for an application
* @param string application
*/
public static function getKeys( $application ){
// OC_DB::query( $query);
return array();
}
/**
* Get the config value
* @param string application
* @param string key
* @param string default
*/
public static function getValue( $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( $application, $name, $url ){
// OC_DB::query( $query);
return true;
}
}
?>
|