Skip to content

Commit 05a088e

Browse files
authored
Merge pull request mesilov#113 from xUJYx/master
* added offset parameter to \Bitrix24\User\User->get() function
2 parents d53ae4c + 5cb6ce9 commit 05a088e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/classes/user/user.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,14 @@ public function fields()
5050
* @param $FILTER - list of fields user entity to filter result
5151
* @return array
5252
*/
53-
public function get($SORT, $ORDER, $FILTER)
53+
public function get($SORT, $ORDER, $FILTER, $OFFSET)
5454
{
5555
$result = $this->client->call('user.get',
5656
array(
5757
'SORT' => $SORT,
5858
'ORDER' => $ORDER,
59-
'FILTER'=> $FILTER)
59+
'FILTER'=> $FILTER,
60+
'start' => $OFFSET)
6061
);
6162
return $result;
6263
}

0 commit comments

Comments
 (0)