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