1C-Bitrix
25.700.0
Toggle main menu visibility
Титульная страница
Пространства имен
Пространства имен
Члены пространств имен
Указатель
$
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Функции
_
a
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
Переменные
$
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
v
w
Перечисления
a
b
c
d
e
f
g
l
m
n
o
p
r
s
t
u
v
w
Элементы перечислений
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Структуры данных
Структуры данных
Алфавитный указатель структур данных
Иерархия классов
Поля структур
Указатель
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Функции
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Переменные
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Перечисления
Элементы перечислений
Файлы
Файлы
Список членов всех файлов
Указатель
$
(
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
б
в
к
л
о
п
с
т
ю
Функции
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Переменные
$
(
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
б
в
к
л
о
п
с
т
ю
Блог
Хостинг
1C-Bitrix
Пространства имен
Структуры данных
Файлы
Файлы
bitrix
modules
abtest
advertising
b24connector
bitrixcloud
bizproc
bizprocdesigner
blog
calendar
catalog
clouds
cluster
conversion
currency
eshopapp
fileman
form
forum
highloadblock
iblock
idea
im
landing
ldap
learning
lists
location
mail
main
classes
cli
include
interface
lib
access
analytics
authentication
cli
Command
component
composite
config
context
controller
copy
data
db
di
diag
discount
engine
Entity
eventlog
File
FileUploader
filter
grid
html
io
License
localization
mail
Messenger
numerator
orm
page
phonenumber
Provider
rating
Repository
rest
handlers.php
rating.php
smile.php
user.php
userfield.php
routing
search
security
service
session
SidePanel
sms
test
text
type
ui
update
UpdateSystem
urlpreview
userconsent
userfield
Validation
web
AccessDeniedException.php
application.php
ArgumentException.php
ArgumentNullException.php
ArgumentOutOfRangeException.php
ArgumentTypeException.php
ClassLocator.php
context.php
DecodingException.php
environment.php
error.php
errorable.php
errorableimplementation.php
errorcollection.php
event.php
eventmanager.php
eventresult.php
file.php
finderdest.php
group.php
grouptask.php
httpapplication.php
httpcontext.php
httprequest.php
httpresponse.php
InvalidOperationException.php
license.php
loader.php
modulemanager.php
moduletable.php
NotImplementedException.php
NotSupportedException.php
ObjectException.php
ObjectNotFoundException.php
ObjectPropertyException.php
operation.php
request.php
response.php
result.php
senderconnector.php
server.php
site.php
sitedomain.php
sitetemplate.php
SystemException.php
task.php
taskoperation.php
urlrewriter.php
UrlRewriterRuleMaker.php
user.php
useraccess.php
userauthaction.php
usercounter.php
userfield.php
userfieldconfirm.php
userfieldlangtable.php
usergroup.php
userindex.php
userphoneauth.php
userprofilehistory.php
userprofilerecord.php
userutils.php
UuidGenerator.php
xmlwriter.php
meta
public
services
tools
.settings.php
admin_tools.php
ajax_tools.php
bx_root.php
checklist_structure.php
countries.php
default_option.php
filter_tools.php
img.php
include.php
jscore.php
option_triggers.php
options.php
prolog.php
spread.php
start.php
tools.php
messageservice
mobileapp
perfmon
photogallery
pull
report
rest
sale
scale
search
security
sender
seo
socialnetwork
socialservices
statistic
storeassist
subscribe
support
translate
ui
vote
webservice
wiki
workflow
Список членов всех файлов
Примеры
•
Указатель
Структуры данных
Пространства имен
Файлы
Функции
Переменные
Перечисления
Элементы перечислений
Страницы
Загрузка...
Поиск...
Не найдено
handlers.php
См. документацию.
1
<?php
8
namespace
Bitrix\Main\Rest
;
9
10
use
Bitrix\Main\UserConsent
;
11
12
class
Handlers
13
{
14
const
SCOPE_USER
=
'user'
;
15
const
SCOPE_USER_CONSENT
=
'userconsent'
;
16
const
SCOPE_RATING
=
'rating'
;
17
const
SCOPE_SMILE
=
'smile'
;
18
const
SCOPE_USER_FIELD_CONFIG
=
'userfieldconfig'
;
19
20
public
static
function
onRestServiceBuildDescription
()
21
{
22
return
array
(
23
static::SCOPE_USER =>
array
(
24
'user.history.list'
=>
array
(User::class,
'getHistoryList'
),
25
'user.history.fields.list'
=>
array
(User::class,
'getHistoryFieldsList'
),
26
),
27
static::SCOPE_USER_CONSENT =>
array
(
28
'userconsent.consent.add'
=>
array
(
UserConsent
\Rest::class,
'addConsent'
),
29
'userconsent.agreement.list'
=>
array
(
UserConsent
\Rest::class,
'getAgreementList'
),
30
'userconsent.agreement.text'
=>
array
(
UserConsent
\Rest::class,
'getAgreementText'
),
31
),
32
static::SCOPE_RATING =>
array
(
33
'like.list'
=>
array
(Rating::class,
'getLikeList'
),
34
'like.reactions'
=>
array
(Rating::class,
'getLikeReactions'
),
35
),
36
static::SCOPE_SMILE =>
array
(
37
'smile.get'
=>
array
(Smile::class,
'getList'
),
38
),
39
static::SCOPE_USER_FIELD_CONFIG =>
array
(
40
\CRestUtil::EVENTS =>
UserField::getHandlers
(),
41
)
42
);
43
}
20
public
static
function
onRestServiceBuildDescription
() {
…
}
44
}
12
class
Handlers
{
…
};
Bitrix\Main\Rest\Handlers
Определения
handlers.php:13
Bitrix\Main\Rest\Handlers\onRestServiceBuildDescription
static onRestServiceBuildDescription()
Определения
handlers.php:20
Bitrix\Main\Rest\Handlers\SCOPE_USER
const SCOPE_USER
Определения
handlers.php:14
Bitrix\Main\Rest\Handlers\SCOPE_USER_CONSENT
const SCOPE_USER_CONSENT
Определения
handlers.php:15
Bitrix\Main\Rest\Handlers\SCOPE_USER_FIELD_CONFIG
const SCOPE_USER_FIELD_CONFIG
Определения
handlers.php:18
Bitrix\Main\Rest\Handlers\SCOPE_RATING
const SCOPE_RATING
Определения
handlers.php:16
Bitrix\Main\Rest\Handlers\SCOPE_SMILE
const SCOPE_SMILE
Определения
handlers.php:17
Bitrix\Main\Rest\UserField\getHandlers
static getHandlers()
Определения
userfield.php:18
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\Rest
Определения
handlers.php:8
Bitrix\Main\UserConsent
Определения
agreement.php:8
bitrix
modules
main
lib
rest
handlers.php
Создано системой
1.14.0