33 lines
757 B
PHP
33 lines
757 B
PHP
<?php namespace RainLab\Blog\Controllers;
|
|
|
|
use BackendMenu;
|
|
use Flash;
|
|
use Lang;
|
|
use Backend\Classes\Controller;
|
|
use RainLab\Blog\Models\Category;
|
|
|
|
class CategoryGroup extends Controller
|
|
{
|
|
public $implement = [
|
|
'Backend.Behaviors.FormController',
|
|
'Backend.Behaviors.ListController',
|
|
'Backend.Behaviors.ReorderController',
|
|
'Backend.Behaviors.RelationController'
|
|
];
|
|
|
|
public $formConfig = 'config_form.yaml';
|
|
public $listConfig = 'config_list.yaml';
|
|
public $reorderConfig = 'config_reorder.yaml';
|
|
public $relationConfig = 'config_relation.yaml';
|
|
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
BackendMenu::setContext('RainLab.Blog', 'blog', 'categorygroup');
|
|
}
|
|
|
|
|
|
}
|