• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/entity_base.php
  • Класс: CBaseEntity
  • Вызов: CBaseEntity::GetField
public function GetField($name)
{
	if ($this->HasField($name))
	{
		return $this->fields[$name];
	}

	throw new Exception(sprintf(
		'%s Entity has no `%s` field.', $this->GetName(), $name
	));
}