• Модуль: mobile
  • Путь к файлу: ~/bitrix/modules/mobile/lib/Dto/Dto.php
  • Класс: BitrixMobileDtoDto
  • Вызов: Dto::toArray
public function toArray(): array
{
	$fields = [];

	foreach ($this->getProperties() as $property)
	{
		$name = $property->getName();
		$value = $property->getValue($this);

		$fields[$name] = $value;
	}

	return $this->transformKeysOnEncode($fields);
}