From d6d848184bd31e2c5249722c5c7ef53074a6f44b Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Sat, 16 Apr 2011 14:36:32 +0200 Subject: [PATCH] new cool ocs client, but still empty --- lib/ocsclient.php | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 lib/ocsclient.php diff --git a/lib/ocsclient.php b/lib/ocsclient.php new file mode 100644 index 0000000000..0546ef3989 --- /dev/null +++ b/lib/ocsclient.php @@ -0,0 +1,54 @@ +. + * + */ + +/** + * This class provides an easy way for apps to store config values in the + * database. + */ + +class OC_OCSCLIENT{ + + /** + * @brief Get all the categories from the OCS server + * @returns array with category ids + * + * This function returns a list of all the application categories on the OCS server + */ + public static function getCategories(){ + + return true; + } + + /** + * @brief Get all the applications from the OCS server + * @returns array with application data + * + * This function returns a list of all the applications on the OCS server + */ + public static function getApplications(){ + + return true; + } + +} +?>