21 lines
431 B
PHP
21 lines
431 B
PHP
<?php
|
|
|
|
use KupShop\AdminBundle\Util\Export\ExportUsers;
|
|
use KupShop\KupShopBundle\Util\Compat\ServiceContainer;
|
|
|
|
class ExportUsersBoard extends Frame
|
|
{
|
|
protected $template = 'board/export_users.tpl';
|
|
|
|
public function handle()
|
|
{
|
|
if (getVal('Submit')) {
|
|
$export = ServiceContainer::getService(ExportUsers::class);
|
|
|
|
$export->exportXLSX();
|
|
}
|
|
}
|
|
}
|
|
|
|
return ExportUsersBoard::class;
|