aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/group/example.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-05-10 22:32:13 +0200
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 19:08:14 +0100
commit7e448a376f96b31dc9c41d0e0ff6492aa8c9f8ca (patch)
treeacd8f58379ee594335a12d790b3decc4fd7dd87d /lib/private/group/example.php
parent3bed3d2a23748f40c041d9daf9af26a2e16fe03b (diff)
downloadnextcloud-server-7e448a376f96b31dc9c41d0e0ff6492aa8c9f8ca.tar.gz
nextcloud-server-7e448a376f96b31dc9c41d0e0ff6492aa8c9f8ca.zip
Fix PHPDoc and typos
Some things my IDE complained about while creating a custom backend. Fix PHPDoc and typos Some things my IDE complained about while creating a custom backend. Conflicts: lib/private/group/database.php lib/private/group/dummy.php lib/private/group/example.php
Diffstat (limited to 'lib/private/group/example.php')
-rw-r--r--lib/private/group/example.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/private/group/example.php b/lib/private/group/example.php
index cfcc0d245d1..76c9ce2433d 100644
--- a/lib/private/group/example.php
+++ b/lib/private/group/example.php
@@ -31,7 +31,7 @@ abstract class OC_Group_Example {
* @param string $gid The name of the group to create
* @return bool
*
- * Trys to create a new group. If the group name already exists, false will
+ * Tries to create a new group. If the group name already exists, false will
* be returned.
*/
abstract public static function createGroup($gid);
@@ -87,14 +87,15 @@ abstract class OC_Group_Example {
/**
* @brief get a list of all groups
+ * @param string $search
+ * @param int $limit
+ * @param int $offset
* @return array an array of group names
- *
- * Returns a list with all groups
*/
abstract public static function getGroups($search = '', $limit = -1, $offset = 0);
/**
- * check if a group exists
+ * @brief Check if a group exists
* @param string $gid
* @return bool
*/
@@ -102,8 +103,11 @@ abstract class OC_Group_Example {
/**
* @brief get a list of all users in a group
+ * @param string $gid
+ * @param string $search
+ * @param int $limit
+ * @param int $offset
* @return array an array of user ids
*/
abstract public static function usersInGroup($gid, $search = '', $limit = -1, $offset = 0);
-
}