• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/classes/general/listfield.php
  • Класс: CListPropertyField
  • Вызов: CListPropertyField::__construct
public function __construct($iblock_id, $field_id, $label, $sort)
{
	parent::__construct($iblock_id, $field_id, $label, $sort);

	if(preg_match("/^PROPERTY_(\d+)$/", $field_id, $match))
	{
		$this->_property = $this->getPropertyArrayFromCache($match[1]);
	}

	if ($this->_property)
	{
		if($this->_property["USER_TYPE"])
			$this->_type = CListFieldTypeList::GetByID($this->_property["PROPERTY_TYPE"].":".$this->_property["USER_TYPE"]);
		else
			$this->_type = CListFieldTypeList::GetByID($this->_property["PROPERTY_TYPE"]);
	}

	if(!is_object($this->_type))
		$this->_type = CListFieldTypeList::GetByID("S");
}