PHP Class Yab\Quarx\Controllers\WidgetsController

Inheritance: extends QuarxController
ファイルを表示 Open project: YABhq/Quarx

Public Methods

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

Method Details

__construct() public method

public __construct ( WidgetRepository $widgetsRepo )
$widgetsRepo Yab\Quarx\Repositories\WidgetRepository

create() public method

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

destroy() public method

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

edit() public method

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

index() public method

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

store() public method

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

update() public method

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