PHP 클래스 Yab\Quarx\Controllers\BlogController

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

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

public __construct ( BlogRepository $blogRepo )
$blogRepo Yab\Quarx\Repositories\BlogRepository

create() 공개 메소드

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

destroy() 공개 메소드

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

edit() 공개 메소드

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

index() 공개 메소드

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

store() 공개 메소드

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

update() 공개 메소드

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