PHP 클래스 App\Http\Controllers\Backend\NewsCategoryController

상속: extends App\Http\Controllers\Controller
파일 보기 프로젝트 열기: qloog/laravel5-backend

공개 메소드들

메소드 설명
__construct ( App\Contracts\Repositories\NewsCategoryRepository $repository )
create ( ) : boolean Show the form for creating a new resource.
destroy ( integer $id ) : Response Remove the specified resource from storage.
edit ( integer $id ) : Response Show the form for editing the specified resource.
index ( ) : Response Display a listing of the resource.
show ( integer $id ) : Response Display the specified resource.
store ( NewsCategoryCreateRequest $request ) : Response Store a newly created resource in storage.
update ( Illuminate\Http\Request $request, integer $id ) : Response Update the specified resource in storage.

메소드 상세

__construct() 공개 메소드

public __construct ( App\Contracts\Repositories\NewsCategoryRepository $repository )
$repository App\Contracts\Repositories\NewsCategoryRepository

create() 공개 메소드

Show the form for creating a new resource.
public create ( ) : boolean
리턴 boolean

destroy() 공개 메소드

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

edit() 공개 메소드

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

index() 공개 메소드

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

show() 공개 메소드

Display the specified resource.
public show ( integer $id ) : Response
$id integer
리턴 Response

store() 공개 메소드

Store a newly created resource in storage.
public store ( NewsCategoryCreateRequest $request ) : Response
$request App\Http\Requests\Backend\NewsCategoryCreateRequest
리턴 Response

update() 공개 메소드

Update the specified resource in storage.
public update ( Illuminate\Http\Request $request, integer $id ) : Response
$request Illuminate\Http\Request
$id integer
리턴 Response