Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php namespace Frakoterm\Zlecacz\Controllers;
- use BackendMenu;
- use Backend\Classes\Controller;
- use RainLab\User\Controllers\Users as UserBase;
- use System\Classes\SettingsManager;
- use Backend\Classes\ControllerBehavior; #te wpisy dodane bo juz nie wiem co robic :(
- use October\Rain\Extension\ExtensionBase; #j/w
- class Users extends UserBase
- {
- public $implement = [
- \Backend\Behaviors\FormController::class,
- \Backend\Behaviors\ListController::class
- ];
- /**
- * @var array `FormController` configuration.
- */
- public $formConfig = 'columns.yaml';
- /**
- * @var array `ListController` configuration.
- */
- public $listConfig = 'config_list.yaml';
- public function __construct()
- {
- parent::__construct();
- BackendMenu::setContext('Frakoterm.Zlecacz', 'main-menu-item7', 'side-menu-item');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement