@@ -36,6 +36,7 @@ class Group_Proxy extends Proxy implements \OCP\GroupInterface, IGroupLDAP, IGet
3636
3737 /**
3838 * Constructor
39+ *
3940 * @param string[] $serverConfigPrefixes array containing the config Prefixes
4041 */
4142 public function __construct ($ serverConfigPrefixes , ILDAPWrapper $ ldap , GroupPluginManager $ groupPluginManager ) {
@@ -51,6 +52,7 @@ public function __construct($serverConfigPrefixes, ILDAPWrapper $ldap, GroupPlug
5152
5253 /**
5354 * Tries the backends one after the other until a positive result is returned from the specified method
55+ *
5456 * @param string $gid the gid connected to the request
5557 * @param string $method the method of the group backend that shall be called
5658 * @param array $parameters an array of parameters to be passed
@@ -60,7 +62,7 @@ protected function walkBackends($gid, $method, $parameters) {
6062 $ cacheKey = $ this ->getGroupCacheKey ($ gid );
6163 foreach ($ this ->backends as $ configPrefix => $ backend ) {
6264 if ($ result = call_user_func_array ([$ backend , $ method ], $ parameters )) {
63- if (!$ this ->isSingleBackend ()) {
65+ if (!$ this ->isSingleBackend ()) {
6466 $ this ->writeToCache ($ cacheKey , $ configPrefix );
6567 }
6668 return $ result ;
@@ -71,6 +73,7 @@ protected function walkBackends($gid, $method, $parameters) {
7173
7274 /**
7375 * Asks the backend connected to the server that supposely takes care of the gid from the request.
76+ *
7477 * @param string $gid the gid connected to the request
7578 * @param string $method the method of the group backend that shall be called
7679 * @param array $parameters an array of parameters to be passed
@@ -107,6 +110,7 @@ protected function activeBackends(): int {
107110
108111 /**
109112 * is user in group?
113+ *
110114 * @param string $uid uid of the user
111115 * @param string $gid gid of the group
112116 * @return bool
@@ -119,6 +123,7 @@ public function inGroup($uid, $gid) {
119123
120124 /**
121125 * Get all groups a user belongs to
126+ *
122127 * @param string $uid Name of the user
123128 * @return string[] with group names
124129 *
@@ -140,6 +145,7 @@ public function getUserGroups($uid) {
140145
141146 /**
142147 * get a list of all users in a group
148+ *
143149 * @return string[] with user ids
144150 */
145151 public function usersInGroup ($ gid , $ search = '' , $ limit = -1 , $ offset = 0 ) {
@@ -166,6 +172,7 @@ public function createGroup($gid) {
166172
167173 /**
168174 * delete a group
175+ *
169176 * @param string $gid gid of the group to delete
170177 * @return bool
171178 */
@@ -176,6 +183,7 @@ public function deleteGroup($gid) {
176183
177184 /**
178185 * Add a user to a group
186+ *
179187 * @param string $uid Name of the user to add to group
180188 * @param string $gid Name of the group in which add the user
181189 * @return bool
@@ -189,6 +197,7 @@ public function addToGroup($uid, $gid) {
189197
190198 /**
191199 * Removes a user from a group
200+ *
192201 * @param string $uid Name of the user to remove from group
193202 * @param string $gid Name of the group from which remove the user
194203 * @return bool
@@ -202,6 +211,7 @@ public function removeFromGroup($uid, $gid) {
202211
203212 /**
204213 * returns the number of users in a group, who match the search term
214+ *
205215 * @param string $gid the internal group name
206216 * @param string $search optional, a search string
207217 * @return int|bool
@@ -213,6 +223,7 @@ public function countUsersInGroup($gid, $search = '') {
213223
214224 /**
215225 * get an array with group details
226+ *
216227 * @param string $gid
217228 * @return array|false
218229 */
@@ -223,6 +234,7 @@ public function getGroupDetails($gid) {
223234
224235 /**
225236 * get a list of all groups
237+ *
226238 * @return string[] with group names
227239 *
228240 * Returns a list with all groups
@@ -242,6 +254,7 @@ public function getGroups($search = '', $limit = -1, $offset = 0) {
242254
243255 /**
244256 * check if a group exists
257+ *
245258 * @param string $gid
246259 * @return bool
247260 */
@@ -251,6 +264,7 @@ public function groupExists($gid) {
251264
252265 /**
253266 * Check if backend implements actions
267+ *
254268 * @param int $actions bitwise-or'ed actions
255269 * @return boolean
256270 *
@@ -264,6 +278,7 @@ public function implementsActions($actions) {
264278
265279 /**
266280 * Return access for LDAP interaction.
281+ *
267282 * @param string $gid
268283 * @return Access instance of Access for LDAP interaction
269284 */
@@ -274,6 +289,7 @@ public function getLDAPAccess($gid) {
274289 /**
275290 * Return a new LDAP connection for the specified group.
276291 * The connection needs to be closed manually.
292+ *
277293 * @param string $gid
278294 * @return resource of the LDAP connection
279295 */
0 commit comments