Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. <?php namespace Frakoterm\Zlecacz\Controllers;
  2.  
  3. use BackendMenu;
  4. use Backend\Classes\Controller;
  5. use RainLab\User\Controllers\Users as UserBase;
  6. use System\Classes\SettingsManager;
  7. use Backend\Classes\ControllerBehavior; #te wpisy dodane bo juz nie wiem co robic :(
  8. use October\Rain\Extension\ExtensionBase; #j/w
  9.  
  10. class Users extends UserBase
  11. {
  12. public $implement = [
  13. \Backend\Behaviors\FormController::class,
  14. \Backend\Behaviors\ListController::class
  15. ];
  16. /**
  17. * @var array `FormController` configuration.
  18. */
  19. public $formConfig = 'columns.yaml';
  20.  
  21. /**
  22. * @var array `ListController` configuration.
  23. */
  24. public $listConfig = 'config_list.yaml';
  25.  
  26. public function __construct()
  27. {
  28. parent::__construct();
  29. BackendMenu::setContext('Frakoterm.Zlecacz', 'main-menu-item7', 'side-menu-item');
  30.  
  31. }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement