- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/components/kanban/usersettings.php
- Класс: BitrixTasksComponentsKanbanUserSettings
- Вызов: UserSettings::getPopupSections
public function getPopupSections(): array
{
return [
'title' => Loc::getMessage('TASK_KANBAN_USER_SETTINGS_POPUP_TITLE'),
// 'sections' => [
// [
// 'key' => 'main_section',
// 'title' => Loc::getMessage('TASK_KANBAN_USER_SETTINGS_SECTION_MAIN'),
// 'value' => true,
// ],
// ],
'categories' => [
[
'title' => Loc::getMessage('TASK_KANBAN_USER_SETTINGS_SECTION_MAIN'),
'sectionKey' => 'main_section',
'key' => 'task',
],
],
'options' => [
$this->getId()->toArray(),
$this->getTitle()->toArray(),
$this->getDeadLine()->toArray(),
$this->getDateStarted()->toArray(),
$this->getAccomplices()->toArray(),
$this->getAuditors()->toArray(),
$this->getTimeSpent()->toArray(),
$this->getCheckList()->toArray(),
$this->getTags()->toArray(),
$this->getFiles()->toArray(),
$this->getProject()->toArray(),
$this->getDateFinished()->toArray(),
$this->getMark()->toArray(),
$this->getCrm()->toArray(),
],
];
}