PHP 클래스 Yab\Quarx\Controllers\MenuController

상속: extends QuarxController
파일 보기 프로젝트 열기: YABhq/Quarx

공개 메소드들

메소드 설명
__construct ( MenuRepository $menuRepo, LinkRepository $linkRepo )
create ( ) : Response Show the form for creating a new Menu.
destroy ( integer $id ) : Response Remove the specified Menu from storage.
edit ( integer $id ) : Response Show the form for editing the specified Menu.
index ( ) : Response Display a listing of the Menu.
search ( Illuminate\Http\Request $request ) : Response Search.
store ( Illuminate\Http\Request $request ) : Response Store a newly created Menu in storage.
update ( integer $id, MenuRequest $request ) : Response Update the specified Menu in storage.

메소드 상세

__construct() 공개 메소드

public __construct ( MenuRepository $menuRepo, LinkRepository $linkRepo )
$menuRepo Yab\Quarx\Repositories\MenuRepository
$linkRepo Yab\Quarx\Repositories\LinkRepository

create() 공개 메소드

Show the form for creating a new Menu.
public create ( ) : Response
리턴 Response

destroy() 공개 메소드

Remove the specified Menu from storage.
public destroy ( integer $id ) : Response
$id integer
리턴 Response

edit() 공개 메소드

Show the form for editing the specified Menu.
public edit ( integer $id ) : Response
$id integer
리턴 Response

index() 공개 메소드

Display a listing of the Menu.
public index ( ) : Response
리턴 Response

store() 공개 메소드

Store a newly created Menu in storage.
public store ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
리턴 Response

update() 공개 메소드

Update the specified Menu in storage.
public update ( integer $id, MenuRequest $request ) : Response
$id integer
$request Yab\Quarx\Requests\MenuRequest
리턴 Response