<?php
namespace Modules\Documents\DocumentsList; class View_Options extends \App\Mvc\View_Window_PaginatedListing_OptionsAbstract { public function populateDefinedOptions(\App\Mvc\View\Utils\RowOptions\Container\Simple $options) { $options ->append(\App\Mvc\View\Utils\RowOptions\Option\Window::create("downloadFile") ->setDescription($this->lang['index']['options']['description']['downloadFile']) ->setAction('downloadFile') ->setKeyForCurrentRow('id') ->setIcon('export') ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Delete::create("delete") ->setDescription($this->lang['index']['options']['description']['delete']) ); } }