CCrmInvoiceRestService::makeFieldInfo

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmInvoiceRestService
  4. makeFieldInfo
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice_invoice.php
  • Класс: \CCrmInvoiceRestService
  • Вызов: CCrmInvoiceRestService::makeFieldInfo
static function makeFieldInfo($fInfo)
{
	$result = array();
	$result['type'] = $fInfo['type'];
	if (isset($fInfo['size']))
		$result['size'] = $fInfo['size'];
	$result['isRequired'] = $fInfo['required'];
	$result['isReadOnly'] = $fInfo['readonly'];

	return $result;
}

Добавить комментарий