1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
admin.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Rest\Controller\User
;
4
5
use Bitrix\Intranet\ActionFilter\UserType;
6
use Bitrix\Intranet\UserTable;
7
use
Bitrix\Main\Engine\ActionFilter\Scope
;
8
use
Bitrix\Main\Engine\Controller
;
9
10
11
class
Admin
extends
Controller
12
{
13
public
function
listAction
()
14
{
15
return
UserTable::query()
16
->setSelect([
'ID'
,
'NAME'
,
'LAST_NAME'
,
'SECOND_NAME'
])
17
->where(
'GROUPS.GROUP_ID'
, 1)
18
->exec()
19
->fetchAll();
20
}
21
22
public
function
configureActions
():
array
23
{
24
$configureActions = [];
25
$configureActions[
'list'
] = [
26
'+prefilters'
=> [
27
new
Scope
(
Scope::REST
),
28
],
29
];
30
31
return
$configureActions;
32
}
33
}
Bitrix\Main\Engine\ActionFilter\Scope
Определения
scope.php:12
Bitrix\Main\Engine\ActionFilter\Scope\REST
const REST
Определения
scope.php:14
Bitrix\Rest\Controller\User\Admin
Определения
admin.php:12
Bitrix\Rest\Controller\User\Admin\listAction
listAction()
Определения
admin.php:13
Bitrix\Rest\Controller\User\Admin\configureActions
configureActions()
Определения
admin.php:22
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Controller
Определения
agreement.php:2
Bitrix\Rest\Controller\User
Определения
admin.php:3
bitrix
modules
rest
lib
controller
user
admin.php
Создано системой
1.14.0