...Человеческий поиск в разработке...
- Модуль: catalog
- Путь к файлу: ~/bitrix/modules/catalog/lib/productgroupaccess.php
- Класс: BitrixCatalogProductGroupAccessTable
- Вызов: ProductGroupAccessTable::getAccessPeriods
static function getAccessPeriods($descr = false) { if ($descr) { return array( self::ACCESS_LENGTH_HOUR => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_HOUR'), self::ACCESS_LENGTH_DAY => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_DAY'), self::ACCESS_LENGTH_WEEK => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_WEEK'), self::ACCESS_LENGTH_MONTH => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_MONTH'), self::ACCESS_LENGTH_QUART => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_QUART'), self::ACCESS_LENGTH_SEMIYEAR => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_SEMIYEAR'), self::ACCESS_LENGTH_YEAR => Loc::getMessage('PRODUCTGROUPACCESS_ENTITY_ACCESS_LENGTH_YEAR') ); } return array( self::ACCESS_LENGTH_HOUR, self::ACCESS_LENGTH_DAY, self::ACCESS_LENGTH_WEEK, self::ACCESS_LENGTH_MONTH, self::ACCESS_LENGTH_QUART, self::ACCESS_LENGTH_SEMIYEAR, self::ACCESS_LENGTH_YEAR ); }