<?php
namespace Modules\Admin\Config\OAuth2\AuthCodes; 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\Container\OptionEmulator::create() ->append(\App\Mvc\View\Utils\RowOptions\Option\Popup::create("block") ->setDescription($this->lang['index']['options']['description']['block']) ->setIcon("lock") ->setJsCallback("MVC.listing.installedHandlers.listing.blockSelected(this);") ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Option::create("unblock") ->setDescription($this->lang['index']['options']['description']['unblock']) ->setIcon("unlock") ->setJsCallback("MVC.listing.installedHandlers.listing.unblockSelected(this);") ) ) ->append(\App\Mvc\View\Utils\RowOptions\Option\Delete::create("delete") ->setDescription($this->lang['index']['options']['description']['delete']) ) ; } } 