CCrmRole::CheckFields

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmRole
  4. CheckFields
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_role.php
  • Класс: \CCrmRole
  • Вызов: CCrmRole::CheckFields
public function CheckFields(&$arFields, $ID = false)
{
	$this->LAST_ERROR = '';
	if (($ID == false || isset($arFields['NAME'])) && empty($arFields['NAME']))
		$this->LAST_ERROR .= GetMessage('CRM_ERROR_FIELD_IS_MISSING', array('%FIELD_NAME%' => GetMessage('CRM_FIELD_NAME')))."
"; if($this->LAST_ERROR <> '') return false; return true; }

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