aboutsummaryrefslogtreecommitdiffstats
path: root/lib/group/interface.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/group/interface.php')
-rw-r--r--lib/group/interface.php27
1 files changed, 17 insertions, 10 deletions
diff --git a/lib/group/interface.php b/lib/group/interface.php
index 12cc07a5374..4ef3663837f 100644
--- a/lib/group/interface.php
+++ b/lib/group/interface.php
@@ -24,8 +24,8 @@
interface OC_Group_Interface {
/**
* @brief Check if backend implements actions
- * @param $actions bitwise-or'ed actions
- * @returns boolean
+ * @param int $actions bitwise-or'ed actions
+ * @return boolean
*
* Returns the supported actions as int to be
* compared with OC_GROUP_BACKEND_CREATE_GROUP etc.
@@ -34,9 +34,9 @@ interface OC_Group_Interface {
/**
* @brief is user in group?
- * @param $uid uid of the user
- * @param $gid gid of the group
- * @returns true/false
+ * @param string $uid uid of the user
+ * @param string $gid gid of the group
+ * @return bool
*
* Checks whether the user is member of a group or not.
*/
@@ -44,8 +44,8 @@ interface OC_Group_Interface {
/**
* @brief Get all groups a user belongs to
- * @param $uid Name of the user
- * @returns array with group names
+ * @param string $uid Name of the user
+ * @return array with group names
*
* This function fetches all groups a user belongs to. It does not check
* if the user exists at all.
@@ -54,7 +54,10 @@ interface OC_Group_Interface {
/**
* @brief get a list of all groups
- * @returns array with group names
+ * @param string $search
+ * @param int $limit
+ * @param int $offset
+ * @return array with group names
*
* Returns a list with all groups
*/
@@ -69,8 +72,12 @@ interface OC_Group_Interface {
/**
* @brief get a list of all users in a group
- * @returns array with user ids
+ * @param string $gid
+ * @param string $search
+ * @param int $limit
+ * @param int $offset
+ * @return array with user ids
*/
public function usersInGroup($gid, $search = '', $limit = -1, $offset = 0);
-} \ No newline at end of file
+}