PHP Class Yab\Quarx\Controllers\FAQController

Inheritance: extends QuarxController
Mostra file Open project: YABhq/Quarx

Public Methods

Method Description
__construct ( FAQRepository $faqRepo )
create ( ) : Response Show the form for creating a new FAQ.
destroy ( integer $id ) : Response Remove the specified FAQ from storage.
edit ( integer $id ) : Response Show the form for editing the specified FAQ.
index ( ) : Response Display a listing of the FAQ.
search ( Illuminate\Http\Request $request ) : Response Search.
store ( Illuminate\Http\Request $request ) : Response Store a newly created FAQ in storage.
update ( integer $id, FAQRequest $request ) : Response Update the specified FAQ in storage.

Method Details

__construct() public method

public __construct ( FAQRepository $faqRepo )
$faqRepo Yab\Quarx\Repositories\FAQRepository

create() public method

Show the form for creating a new FAQ.
public create ( ) : Response
return Response

destroy() public method

Remove the specified FAQ from storage.
public destroy ( integer $id ) : Response
$id integer
return Response

edit() public method

Show the form for editing the specified FAQ.
public edit ( integer $id ) : Response
$id integer
return Response

index() public method

Display a listing of the FAQ.
public index ( ) : Response
return Response

store() public method

Store a newly created FAQ in storage.
public store ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
return Response

update() public method

Update the specified FAQ in storage.
public update ( integer $id, FAQRequest $request ) : Response
$id integer
$request Yab\Quarx\Requests\FAQRequest
return Response