summaryrefslogtreecommitdiffstats
path: root/application/service
diff options
context:
space:
mode:
Diffstat (limited to 'application/service')
-rw-r--r--application/service/user.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/application/service/user.php b/application/service/user.php
index cab14dbab..1d922a102 100644
--- a/application/service/user.php
+++ b/application/service/user.php
@@ -14,9 +14,11 @@ class user {
/**
* Create a new api key.
*
- * @param userid TODO
- * @param comment TODO
- * @param access_level TODO
+ * Refer to Muser->get_access_levels() for a list of valid access levels.
+ *
+ * @param userid ID of the user
+ * @param comment free text comment describing the api key/it's usage/allowing to identify the key
+ * @param access_level access level of the key
* @return the new key
*/
static public function create_apikey($userid, $comment, $access_level)
@@ -47,7 +49,7 @@ class user {
/**
* Get apikeys for a user
- * @param userid TODO
+ * @param userid ID of the user
* @return array with the key data
*/
static public function apikeys($userid)