...Человеческий поиск в разработке...
- Модуль: catalog
- Путь к файлу: ~/bitrix/modules/catalog/lib/discountrestriction.php
- Класс: BitrixCatalogDiscountRestrictionTable
- Вызов: DiscountRestrictionTable::getMap
static function getMap() { return array( 'ID' => new MainEntityIntegerField('ID', array( 'primary' => true, 'autocomplete' => true, 'title' => Loc::getMessage('DISCOUNT_RESTRICTIONS_ENTITY_ID_FIELD') )), 'DISCOUNT_ID' => new MainEntityIntegerField('DISCOUNT_ID', array( 'required' => true, 'title' => Loc::getMessage('DISCOUNT_RESTRICTIONS_ENTITY_DISCOUNT_ID_FIELD') )), 'ACTIVE' => new MainEntityBooleanField('ACTIVE', array( 'values' => array('N', 'Y'), 'title' => Loc::getMessage('DISCOUNT_RESTRICTIONS_ENTITY_ACTIVE_FIELD') )), 'USER_GROUP_ID' => new MainEntityIntegerField('USER_GROUP_ID', array( 'required' => true, 'title' => Loc::getMessage('DISCOUNT_RESTRICTIONS_ENTITY_USER_GROUP_ID_FIELD') )), 'PRICE_TYPE_ID' => new MainEntityIntegerField('PRICE_TYPE_ID', array( 'required' => true, 'title' => Loc::getMessage('DISCOUNT_RESTRICTIONS_ENTITY_PRICE_TYPE_ID_FIELD') )), 'DISCOUNT' => new MainEntityReferenceField( 'DISCOUNT', 'BitrixCatalogDiscount', array('=this.DISCOUNT_ID' => 'ref.ID') ) ); }