wi-events/controllers/Event.php

26 lines
532 B
PHP

<?php namespace Zoomyboy\Event\Controllers;
use BackendMenu;
use Backend\Classes\Controller;
/**
* Event Backend Controller
*/
class Event extends Controller
{
/**
* @var array Behaviors that are implemented by this controller.
*/
public $implement = [
\Backend\Behaviors\FormController::class,
\Backend\Behaviors\ListController::class,
];
public function __construct()
{
parent::__construct();
BackendMenu::setContext('Zoomyboy.Event', 'event', 'event');
}
}