1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
options_user_settings_set.php
См. документацию.
1
<?
2
$learningWarningTmp
=
""
;
3
4
if
(CModule::IncludeModule(
"learning"
)):
5
$arStudentFields = Array(
6
"RESUME"
=> $student_RESUME,
7
"PUBLIC_PROFILE"
=> ($student_PUBLIC_PROFILE==
"Y"
?
"Y"
:
"N"
)
8
);
9
10
$ar_res
=
CStudent::GetList
(Array(), Array(
"USER_ID"
=>
$ID
));
11
if
($arStudent =
$ar_res
->Fetch())
12
{
13
$learning_res
=
CStudent::Update
(
$ID
, $arStudentFields);
14
}
15
else
16
{
17
$arStudentFields[
"USER_ID"
] =
$ID
;
18
$STUDENT_USER_ID
=
CStudent::Add
($arStudentFields);
19
$learning_res
= (intval(
$STUDENT_USER_ID
)>0);
20
}
21
endif
;
22
?>
$ar_res
$ar_res
Определения
options_user_settings_set.php:16
CStudent\Add
static Add($arFields)
Определения
student.php:68
CStudent\GetList
static GetList($arOrder=Array(), $arFilter=Array())
Определения
student.php:214
CStudent\Update
static Update($ID, $arFields)
Определения
student.php:98
$ID
if($ajaxMode) $ID
Определения
get_user.php:27
$STUDENT_USER_ID
$STUDENT_USER_ID
Определения
options_user_settings_set.php:18
$learning_res
$learning_res
Определения
options_user_settings_set.php:19
$learningWarningTmp
$learningWarningTmp
Определения
options_user_settings_set.php:2
endif
endif
Определения
csv_new_setup.php:990
bitrix
modules
learning
options_user_settings_set.php
Создано системой
1.14.0