|
@@ 371-377 (lines=7) @@
|
| 368 |
|
/** |
| 369 |
|
* @Route("/{_admin}/store/plugin/handler_up/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_up") |
| 370 |
|
*/ |
| 371 |
|
public function handler_up(Application $app, PluginEventHandler $Handler) |
| 372 |
|
{ |
| 373 |
|
$repo = $this->pluginEventHandlerRepository; |
| 374 |
|
$repo->upPriority($repo->find($Handler->getId())); |
| 375 |
|
|
| 376 |
|
return $app->redirect($app->url('admin_store_plugin_handler')); |
| 377 |
|
} |
| 378 |
|
|
| 379 |
|
/** |
| 380 |
|
* @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down") |
|
@@ 382-388 (lines=7) @@
|
| 379 |
|
/** |
| 380 |
|
* @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down") |
| 381 |
|
*/ |
| 382 |
|
public function handler_down(Application $app, PluginEventHandler $Handler) |
| 383 |
|
{ |
| 384 |
|
$repo = $this->pluginEventHandlerRepository; |
| 385 |
|
$repo->upPriority($Handler, false); |
| 386 |
|
|
| 387 |
|
return $app->redirect($app->url('admin_store_plugin_handler')); |
| 388 |
|
} |
| 389 |
|
|
| 390 |
|
/** |
| 391 |
|
* プラグインファイルアップロード画面 |