- Модуль: intranet
- Путь к файлу: ~/bitrix/modules/intranet/lib/component/userprofile/form.php
- Класс: BitrixIntranetComponentUserProfileForm
- Вызов: Form::getFieldInfoForEmailUser
public function getFieldInfoForEmailUser()
{
$fields = array(
array(
"title" => Loc::getMessage("INTRANET_USER_PROFILE_FIELD_NAME"),
"name" => "NAME",
"type" => "text",
"editable" => true,
'visibilityPolicy' => 'edit',
),
array(
"title" => Loc::getMessage("INTRANET_USER_PROFILE_FIELD_LAST_NAME"),
"name" => "LAST_NAME",
"type" => "text",
"editable" => true,
'visibilityPolicy' => 'edit',
),
array(
"title" => Loc::getMessage("INTRANET_USER_PROFILE_FIELD_SECOND_NAME"),
"name" => "SECOND_NAME",
"type" => "text",
"editable" => true
),
array(
"title" => Loc::getMessage("INTRANET_USER_PROFILE_FIELD_EMAIL"),
"name" => "EMAIL",
"type" => "link",
"data" => array(
"link_template" => "mailto:#LINK#"
),
"editable" => false
)
);
return $fields;
}