コード例 #1
0
ファイル: crm_product.php プロジェクト: DarneoStudio/bitrix
 public static function GetFieldsInfo()
 {
     if (!self::$FIELD_INFOS) {
         self::$FIELD_INFOS = array('ID' => array('TYPE' => 'integer', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)), 'CATALOG_ID' => array('TYPE' => 'integer', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)), 'PRICE' => array('TYPE' => 'double'), 'CURRENCY_ID' => array('TYPE' => 'string'), 'NAME' => array('TYPE' => 'string', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::Required)), 'DESCRIPTION' => array('TYPE' => 'string'), 'ACTIVE' => array('TYPE' => 'char'), 'SECTION_ID' => array('TYPE' => 'integer'), 'SORT' => array('TYPE' => 'integer'), 'VAT_ID' => array('TYPE' => 'integer'), 'VAT_INCLUDED' => array('TYPE' => 'char'), 'MEASURE' => array('TYPE' => 'integer'), 'XML_ID' => array('TYPE' => 'string'), 'PREVIEW_PICTURE' => array('TYPE' => 'product_file'), 'DETAIL_PICTURE' => array('TYPE' => 'product_file'));
     }
     return self::$FIELD_INFOS;
 }