<?php
 namespace Modules\Partners\SupplierProducts; 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\Popup\Insert::create("insert") ->setDescription($this->lang['index']['options']['description']['insert']) ->setDimensions(770, 650) ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Option::create("unmarkDuplicate") ->setDescription($this->lang['index']['options']['description']['unmarkDuplicate']) ->setIcon('unmerge') ->setJsCallback("MVC.listing.installedHandlers.listing.unmarkDuplicateItemsWithConfirmation(this);") ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Popup\Update::create("update") ->setDescription($this->lang['index']['options']['description']['update']) ->setDimensions(770, 650) ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Delete::create("delete") ->setDescription($this->lang['index']['options']['description']['delete']) ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Popup::create("markDuplicate") ->setDescription($this->lang['index']['options']['description']['markDuplicate']) ->setIcon("merge") ->setAction("markDuplicate") ->setDimensions(650, 400) ->setSection('bulk') ) ->append(\App\Mvc\View\Utils\RowOptions\Option\DeleteSelected::create("delete") ->setDescription($this->lang['index']['options']['description']['delete']) ) ; } } 