• Модуль: mobile
  • Путь к файлу: ~/bitrix/modules/mobile/lib/UI/DetailCard/Configurator.php
  • Класс: BitrixMobileUIDetailCardConfigurator
  • Вызов: Configurator::toArray
public function toArray(): array
{
	return [
		'endpoint' => $this->getEndpoint(),
		'isEditMode' => $this->isEditMode(),
		'dynamicTabOptions' => $this->dynamicTabOptions,
		'tabs' => array_map(static function (TabsBase $tab) {
			return $tab->jsonSerialize();
		}, $this->tabs),
		'activeTab' => $this->getActiveTabId(),
		'isCountersLoadSupported' => $this->isCountersLoadSupported(),
	];
}