wi-events/controllers/Participant.php

36 lines
808 B
PHP
Raw Normal View History

2023-01-07 16:10:18 +01:00
<?php namespace Zoomyboy\Event\Controllers;
use BackendMenu;
use Backend\Classes\Controller;
/**
* Participant Back-end Controller
*/
class Participant extends Controller
{
/**
* @var array Behaviors that are implemented by this controller.
*/
public $implement = [
'Backend.Behaviors.FormController',
'Backend.Behaviors.ListController'
];
/**
* @var string Configuration file for the `FormController` behavior.
*/
public $formConfig = 'config_form.yaml';
/**
* @var string Configuration file for the `ListController` behavior.
*/
public $listConfig = 'config_list.yaml';
public function __construct()
{
parent::__construct();
BackendMenu::setContext('Zoomyboy.Event', 'event', 'participant');
}
}