Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
settingsarea.php
1<?php
2
4
6{
7 protected $userField;
8
9 public function __construct(array $userField)
10 {
11 $this->userField = $userField;
12 }
13
14 public function getHtml()
15 {
16 $renderer = new \Bitrix\Main\UserField\Renderer($this->userField, [
17 'mode' => 'main.admin_settings',
18 'NAME' => 'settings',
19 ]);
20
21 return $renderer->render();
22 }
23}