- Модуль: lists
- Путь к файлу: ~/bitrix/modules/lists/classes/general/listfield.php
- Класс: CListPropertyField
- Вызов: CListPropertyField::GetArray
public function GetArray()
{
if(is_array($this->_property))
{
return array(
"FIELD_ID" => $this->_field_id,
"SORT" => $this->_sort,
"NAME" => $this->_property["NAME"],
"IS_REQUIRED" => $this->_property["IS_REQUIRED"],
"MULTIPLE" => $this->_property["MULTIPLE"],
"DEFAULT_VALUE" => $this->_property["DEFAULT_VALUE"],
"TYPE" => $this->GetTypeID(),
"PROPERTY_TYPE" => $this->_property["PROPERTY_TYPE"],
"PROPERTY_USER_TYPE" => $this->_property["USER_TYPE"]? CIBlockProperty::GetUserType($this->_property["USER_TYPE"]): false,
"CODE" => $this->_property["CODE"],
"ID" => $this->_property["ID"],
"LINK_IBLOCK_ID" => $this->_property["LINK_IBLOCK_ID"],
"ROW_COUNT" => $this->_property["ROW_COUNT"],
"COL_COUNT" => $this->_property["COL_COUNT"],
"USER_TYPE_SETTINGS" => $this->_property["USER_TYPE_SETTINGS"],
"SETTINGS" => $this->GetSettings(),
);
}
else
{
return false;
}
}