• Модуль: crmmobile
  • Путь к файлу: ~/bitrix/modules/crmmobile/lib/Kanban/ControllerStrategy/ListStrategy.php
  • Класс: BitrixCrmMobileKanbanControllerStrategyListStrategy
  • Вызов: ListStrategy::getShowedFieldsList
protected function getShowedFieldsList(Collection $fieldsCollection, array $fieldsMap): array
{
	if (empty($this->showedFieldsList))
	{
		$showedFieldsNames = $this->getShowedFieldsNames($fieldsCollection);

		$this->showedFieldsList = [];
		foreach ($showedFieldsNames as $showedFieldName)
		{
			$showedFieldName = trim($showedFieldName);
			$showedFieldName = ($fieldsMap[$showedFieldName] ?? $showedFieldName);

			if (!empty($showedFieldName) && $fieldsCollection->hasField($showedFieldName))
			{
				$this->showedFieldsList[] = $showedFieldName;
			}
		}
	}

	return $this->showedFieldsList;
}