• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/classes/general/listfieldtype.php
  • Класс: CListFieldType
  • Вызов: CListFieldType::__construct
function __construct($id, $name, $is_field, $is_readonly)
{
	$this->id = (string)$id;
	$this->name = (string)$name;
	$this->is_field = $is_field == CListFieldType::IS_FIELD;
	$this->is_readonly = $is_readonly == CListFieldType::IS_READONLY;
}