...Человеческий поиск в разработке...
- Модуль: translate
- Путь к файлу: ~/bitrix/modules/translate/lib/controller/export/csv.php
- Класс: Bitrix\Translate\Controller\Export\Csv
- Вызов: Csv::configureActions
public function configureActions() { $configureActions = parent::configureActions(); $permission = new Translate\Controller\CheckPermission(Translate\Permission::READ); $configureActions[self::ACTION_EXPORT] = [ '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_EXPORT_PATH] = [ 'class' => Translate\Controller\Export\ExportPath::class, '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_EXPORT_FILE] = [ 'class' => Translate\Controller\Export\ExportFile::class, '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_EXPORT_FILE_LIST] = [ 'class' => Translate\Controller\Export\ExportFileList::class, '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_EXPORT_FILE_SEARCH] = [ '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_EXPORT_PHRASE_SEARCH] = [ '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_PURGE] = [ '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_CANCEL] = [ '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_CLEAR] = [ '+prefilters' => [ $permission ], ]; $configureActions[self::ACTION_DOWNLOAD] = [ '-prefilters' => [ Main\Engine\ActionFilter\Csrf::class, ], '+prefilters' => [ $permission ], ]; return $configureActions; }