• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/lib/entity/field.php
  • Класс: BitrixListsEntityField
  • Вызов: Field::getAvailableTypes
public function getAvailableTypes()
{
	$this->param->checkRequiredInputParams(["IBLOCK_CODE", "IBLOCK_ID"]);
	if ($this->param->hasErrors())
	{
		$this->errorCollection->add($this->param->getErrors());
		return [];
	}

	$fieldId = (!empty($this->params["FIELD_ID"]) ? $this->params["FIELD_ID"] : "");
	$object = new CList($this->iblockId);
	return $object->getAvailableTypes($fieldId);
}