|
@@ 410-416 (lines=7) @@
|
| 407 |
|
/** |
| 408 |
|
* @Route("/{_admin}/store/plugin/handler_up/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_up") |
| 409 |
|
*/ |
| 410 |
|
public function handler_up(Application $app, PluginEventHandler $Handler) |
| 411 |
|
{ |
| 412 |
|
$repo = $this->pluginEventHandlerRepository; |
| 413 |
|
$repo->upPriority($repo->find($Handler->getId())); |
| 414 |
|
|
| 415 |
|
return $app->redirect($app->url('admin_store_plugin_handler')); |
| 416 |
|
} |
| 417 |
|
|
| 418 |
|
/** |
| 419 |
|
* @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down") |
|
@@ 421-427 (lines=7) @@
|
| 418 |
|
/** |
| 419 |
|
* @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down") |
| 420 |
|
*/ |
| 421 |
|
public function handler_down(Application $app, PluginEventHandler $Handler) |
| 422 |
|
{ |
| 423 |
|
$repo = $this->pluginEventHandlerRepository; |
| 424 |
|
$repo->upPriority($Handler, false); |
| 425 |
|
|
| 426 |
|
return $app->redirect($app->url('admin_store_plugin_handler')); |
| 427 |
|
} |
| 428 |
|
|
| 429 |
|
/** |
| 430 |
|
* プラグインファイルアップロード画面 |