PHP Class Eccube\Controller\Admin\Content\NewsController

Inheritance: extends Eccube\Controller\AbstractController
Mostra file Open project: ec-cube/ec-cube Class Usage Examples

Public Methods

Method Description
delete ( Application $app, Request $request, integer $id ) : RedirectResponse 指定した新着情報を削除する。
down ( Application $app, Request $request, integer $id ) : RedirectResponse 指定した新着情報の表示順を1つ下げる。
edit ( Application $app, Request $request, integer $id = null ) : RedirectResponse | Response 新着情報を登録・編集する。
index ( Application $app, Request $request ) : Response 新着情報一覧を表示する。
up ( Application $app, Request $request, integer $id ) : RedirectResponse 指定した新着情報の表示順を1つ上げる。

Method Details

delete() public method

指定した新着情報を削除する。
public delete ( Application $app, Request $request, integer $id ) : RedirectResponse
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
$id integer
return Symfony\Component\HttpFoundation\RedirectResponse

down() public method

指定した新着情報の表示順を1つ下げる。
public down ( Application $app, Request $request, integer $id ) : RedirectResponse
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
$id integer
return Symfony\Component\HttpFoundation\RedirectResponse

edit() public method

新着情報を登録・編集する。
public edit ( Application $app, Request $request, integer $id = null ) : RedirectResponse | Response
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
$id integer
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response

index() public method

新着情報一覧を表示する。
public index ( Application $app, Request $request ) : Response
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

up() public method

指定した新着情報の表示順を1つ上げる。
public up ( Application $app, Request $request, integer $id ) : RedirectResponse
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
$id integer
return Symfony\Component\HttpFoundation\RedirectResponse