From: Frank Karlitschek Date: Sat, 16 Apr 2011 12:36:32 +0000 (+0200) Subject: new cool ocs client, but still empty X-Git-Tag: v3.0~267^2~558^2~144 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d6d848184bd31e2c5249722c5c7ef53074a6f44b;p=nextcloud-server.git new cool ocs client, but still empty --- diff --git a/lib/ocsclient.php b/lib/ocsclient.php new file mode 100644 index 00000000000..0546ef39897 --- /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; + } + +} +?>