...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/widget/piewidget.php
- Класс: Bitrix\Crm\Widget\PieWidget
- Вызов: PieWidget::__construct
public function __construct(array $settings, Filter $filter, $userID = 0, $enablePermissionCheck = true) { parent::__construct($settings, $filter, $userID, $enablePermissionCheck); $this->configs = array(); $configs = $this->getSettingArray('configs', array()); foreach($configs as $config) { $this->configs[] = new WidgetConfig($config); } if(isset($settings['group']) && is_string($settings['group']) && $settings['group'] !== '') { $this->setGroupField($settings['group']); } }