mirror of
https://github.com/Karaka-Management/oms-EventManagement.git
synced 2026-01-25 07:18:42 +00:00
Fixing remaining bugs for route-restructure
This commit is contained in:
parent
53933278f2
commit
7d87d7d938
|
|
@ -17,6 +17,7 @@ namespace Modules\EventManagement\Admin;
|
|||
|
||||
use phpOMS\DataStorage\Database\DatabaseType;
|
||||
use phpOMS\DataStorage\Database\Pool;
|
||||
use phpOMS\Module\InfoManager;
|
||||
use phpOMS\Module\InstallerAbstract;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend/eventmanagement/list.*$' => [
|
||||
[
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function viewEventManagementList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
public function viewEventManagementList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||
{
|
||||
$view = new View($this->app, $request, $response);
|
||||
$view->setTemplate('/Modules/EventManagement/Theme/Backend/eventmanagement-list');
|
||||
|
|
@ -109,7 +109,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function viewEventManagementCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
public function viewEventManagementCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||
{
|
||||
$view = new View($this->app, $request, $response);
|
||||
$view->setTemplate('/Modules/EventManagement/Theme/Backend/eventmanagement-create');
|
||||
|
|
@ -128,7 +128,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function viewEventManagementProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
public function viewEventManagementProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||
{
|
||||
$view = new View($this->app, $request, $response);
|
||||
$view->setTemplate('/Modules/EventManagement/Theme/Backend/eventmanagement-profile');
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Navigation'] = [
|
||||
return ['Navigation' => [
|
||||
'EventManagement' => 'Event Management',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['EventManagement'] = [
|
||||
return ['EventManagement' => [
|
||||
'Account' => 'Account',
|
||||
'Amount' => 'Amount',
|
||||
'CoreData' => 'Core Data',
|
||||
|
|
@ -36,4 +36,4 @@ $MODLANG['EventManagement'] = [
|
|||
'Title' => 'Title',
|
||||
'User' => 'User',
|
||||
'UserGroup' => 'User/Group',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Navigation'] = [
|
||||
return ['Navigation' => [
|
||||
'EventManagement' => 'Event Management',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['EventManagement'] = [
|
||||
return ['EventManagement' => [
|
||||
'Account' => 'Account',
|
||||
'Amount' => 'Amount',
|
||||
'CoreData' => 'Core Data',
|
||||
|
|
@ -36,4 +36,4 @@ $MODLANG['EventManagement'] = [
|
|||
'Title' => 'Title',
|
||||
'User' => 'User',
|
||||
'UserGroup' => 'User/Group',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user