...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_product.php
- Класс: \CCrmProduct
- Вызов: CCrmProduct::GetFields
static function GetFields() { return array( // 'ID' => array('FIELD' => 'P.ID', 'TYPE' => 'int'), // 'CATALOG_ID' => array('FIELD' => 'P.CATALOG_ID', 'TYPE' => 'int'), // 'PRICE' => array('FIELD' => 'P.PRICE', 'TYPE' => 'double'), // 'CURRENCY_ID' => array('FIELD' => 'P.CURRENCY_ID', 'TYPE' => 'string'), // 'ORIGINATOR_ID' => array('FIELD' => 'P.ORIGINATOR_ID', 'TYPE' => 'string'), // 'ORIGIN_ID' => array('FIELD' => 'P.ORIGIN_ID', 'TYPE' => 'string'), // 'NAME' => array('FIELD' => 'E.NAME', 'TYPE' => 'string', 'FROM' => 'INNER JOIN b_iblock_element E ON P.ID = E.ID'), // 'ACTIVE' => array('FIELD' => 'E.ACTIVE', 'TYPE' => 'char', 'FROM' => 'INNER JOIN b_iblock_element E ON P.ID = E.ID'), // 'SECTION_ID' => array('FIELD' => 'E.IBLOCK_SECTION_ID', 'TYPE' => 'int', 'FROM' => 'INNER JOIN b_iblock_element E ON P.ID = E.ID'), // 'DESCRIPTION' => array('FIELD' => 'E.DETAIL_TEXT', 'TYPE' => 'string', 'FROM' => 'INNER JOIN b_iblock_element E ON P.ID = E.ID'), // 'SORT' => array('FIELD' => 'E.SORT', 'TYPE' => 'int', 'FROM' => 'INNER JOIN b_iblock_element E ON P.ID = E.ID') // Value of an element contains the corresponding field of iblock element. // If value is false, it means that the field is stored in the catalog module. // The ORIGINATOR_ID and ORIGIN_ID fields stick together and stored in the XML_ID field of iblock element // in the format of 'ORIGINATOR_ID#ORIGIN_ID'. 'ID' => 'ID', 'CATALOG_ID' => 'IBLOCK_ID', 'PRICE' => false, 'CURRENCY_ID' => false, 'ORIGINATOR_ID' => false, 'ORIGIN_ID' => false, 'NAME' => 'NAME', 'CODE' => 'CODE', 'ACTIVE' => 'ACTIVE', 'SECTION_ID' => 'IBLOCK_SECTION_ID', 'PREVIEW_PICTURE' => 'PREVIEW_PICTURE', 'PREVIEW_TEXT' => 'PREVIEW_TEXT', 'PREVIEW_TEXT_TYPE' => 'PREVIEW_TEXT_TYPE', 'DETAIL_PICTURE' => 'DETAIL_PICTURE', 'DESCRIPTION' => 'DETAIL_TEXT', 'DESCRIPTION_TYPE' => 'DETAIL_TEXT_TYPE', 'SORT' => 'SORT', 'VAT_ID' => false, 'VAT_INCLUDED' => false, 'MEASURE' => false, 'XML_ID' => 'XML_ID', 'TIMESTAMP_X' => 'TIMESTAMP_X', 'DATE_CREATE' => 'DATE_CREATE', 'MODIFIED_BY' => 'MODIFIED_BY', 'CREATED_BY' => 'CREATED_BY', 'SHOW_COUNTER' => 'SHOW_COUNTER' ); }