EntityPreset::formatName

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. EntityPreset
  4. formatName
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/entitypreset.php
  • Класс: Bitrix\Crm\EntityPreset
  • Вызов: EntityPreset::formatName
static function formatName($id, $title)
{
	$title = trim(strval($title));
	if (empty($title))
		$title = '['.$id.'] - '.GetMessage('CRM_ENTITY_PRESET_NAME_EMPTY');

	return $title;
}

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