PHP Class Yab\Quarx\Controllers\EventController

Inheritance: extends QuarxController
Datei anzeigen Open project: YABhq/Quarx

Public Methods

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

Method Details

__construct() public method

public __construct ( EventRepository $eventRepo )
$eventRepo Yab\Quarx\Repositories\EventRepository

create() public method

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

destroy() public method

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

edit() public method

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

index() public method

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

store() public method

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

update() public method

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