<?php
namespace Modules\Admin\Config\OAuth2\Clients; use App\Mvc\View\Utils\Types\ListingColumn; use App\Mvc\View\Utils\Types\ListingColumns; class View_List extends \App\Mvc\View_Window_PaginatedListing_ListAbstract { protected function list_getThDetails() { return ListingColumns::create() ->append( ListingColumn::create('name') ->setSortable('ASC') ) ->append( ListingColumn::create('clientId') ) ->append( ListingColumn::create('type') ) ->append( ListingColumn::create('redirectUris') ) ->append( ListingColumn::create('allowedScopes') ) ->append( ListingColumn::create('status') ) ->append( ListingColumn::create('addTime') ->setWidth(10)->setSortable('DESC')->setType('datetime') ) ->loadLabels($this->lang['index']['listCols']) ->loadSettings($this->input['listingParams']->getDynamicColumnsSettings()); } } 