...Человеческий поиск в разработке...
- Модуль: catalog
- Путь к файлу: ~/bitrix/modules/catalog/lib/productgroupaccess.php
- Класс: BitrixCatalogProductGroupAccessTable
- Вызов: ProductGroupAccessTable::getMap
static function getMap() { return array( 'ID' => new MainEntityIntegerField('ID', array( 'primary' => true, 'autocomplete' => true, 'title' => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ID_FIELD') )), 'PRODUCT_ID' => new MainEntityIntegerField('PRODUCT_ID', array( 'required' => true, 'title' => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_PRODUCT_ID_FIELD') )), 'GROUP_ID' => new MainEntityIntegerField('GROUP_ID', array( 'required' => true, 'title' => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_GROUP_ID_FIELD') )), 'ACCESS_LENGTH' => new MainEntityIntegerField('ACCESS_LENGTH', array( 'required' => true, 'title' => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_FIELD') )), 'ACCESS_LENGTH_TYPE' => new MainEntityEnumField('ACCESS_LENGTH_TYPE', array( 'required' => true, 'values' => static::getAccessPeriods(false), 'default_value' => self::ACCESS_LENGTH_DAY, 'title' => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_TYPE_FIELD') )), 'PRODUCT' => new MainEntityReferenceField( 'PRODUCT', 'BitrixCatalogProduct', array('=this.PRODUCT_ID' => 'ref.ID'), array('join_type' => 'LEFT') ) ); }