<?php
 namespace Modules\Admin\ExportData\ExportedFiles; class View_Options extends \ModulesAbstract\FileExplorer\View_Options { public function populateDefinedOptions(\App\Mvc\View\Utils\RowOptions\Container\Simple $options) { $options ->append(\App\Mvc\View\Utils\RowOptions\Option\Window::create("viewLog") ->setDescription($this->lang['index']['options']['description']['viewLog']) ->setIcon('history') ->setModule('Modules/Admin/ExportData/Logs')->setAction('index') ->addParam('listing[paramsSlot]', 1) ->addParamFromJs('filters[fileName]', "MVC.listing.installedHandlers.listing.getItemData(this).get('name')") ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Window::create("downloadFile") ->setDescription($this->lang['index']['options']['description']['downloadFile']) ->setAction('download') ->setKeyForCurrentRow('id') ->setIcon('export') ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Option::create("process") ->setDescription($this->lang['index']['options']['description']['process']) ->setIcon('plugins') ->setJsCallback("MVC.listing.installedHandlers.listing.processItemWithConfirmation(this);") ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Option::create("moveToQueue") ->setDescription($this->lang['index']['options']['description']['moveToQueue']) ->setIcon("reload") ->setJsCallback("MVC.listing.installedHandlers.listing.moveToQueueItemWithConfirmation(this);") ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Option::create("moveToDeleted") ->setDescription($this->lang['index']['options']['description']['moveToDeleted']) ->setIcon("delete") ->setJsCallback("MVC.listing.installedHandlers.listing.moveToDeletedItemWithConfirmation(this);") ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Option::create("process") ->setDescription($this->lang['index']['options']['description']['process']) ->setIcon('plugins') ->setJsCallback("MVC.listing.installedHandlers.listing.processItemsWithConfirmation(this);") ->setSection('bulk') ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Option::create("moveToQueue") ->setDescription($this->lang['index']['options']['description']['moveToQueue']) ->setIcon("reload") ->setJsCallback("MVC.listing.installedHandlers.listing.moveToQueueItemsWithConfirmation(this);") ->setSection('bulk') ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Option::create("moveToDeleted") ->setDescription($this->lang['index']['options']['description']['moveToDeleted']) ->setIcon("delete") ->setJsCallback("MVC.listing.installedHandlers.listing.moveToDeletedItemsWithConfirmation(this);") ->setSection('bulk') ) ; } } 