summaryrefslogtreecommitdiffstats
path: root/application/service/user.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-07-13 21:25:17 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-07-13 21:25:17 +0200
commitd787d79c2b3148093e844a418da74dee82315257 (patch)
treeee251eca7466d679882a3b78cd7256f0af55180a /application/service/user.php
parent21f3826ea93941b1c13a28d5788088391787b31d (diff)
Fix missing phpdoc for \service\user
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/service/user.php')
-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)