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