fridge_bites/apps/Admin/Controllers/AdminUserListController.php
2025-06-02 13:34:17 +02:00

19 lines
622 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace Lycoreco\Apps\Admin\Controllers;
class AdminUserListController extends Abstract\AdminListController
{
protected $model_сlass_name = "Lycoreco\Apps\Users\Models\UserModel";
protected $table_fields = array(
'Username' => 'field_username',
'Public Name' => 'get_public_name()',
'E-mail ' => 'field_email',
'Status ' => 'get_role()',
'Banned' => 'is_banned()'
);
protected $single_router_name = 'admin:user';
protected $create_router_name = 'admin:user-new';
protected $verbose_name = "user";
protected $verbose_name_multiply = "users";
}