Airport Guide Documentation

DemoEnquiriesController extends BaseController
in package

Class : Contact (Contact Controller) Contact Class to control all Contact related operations.

Table of Contents

Methods

__construct()  : mixed
This is default constructor of the class.
create()  : View
Show the form for creating a new resource.
destroy()  : RedirectResponse
Remove the specified resource from storage.
edit()  : View
Show the form for editing the specified resource.
index()  : mixed
This function to list all users items with pagination and search.
show()  : View
Show the form for creating a new resource.
store()  : RedirectResponse
Store a newly created resource in storage.
update()  : RedirectResponse
Update the specified resource in storage.

Methods

create()

Show the form for creating a new resource.

public create(Request $request) : View
Parameters
$request : Request
Return values
View

destroy()

Remove the specified resource from storage.

public destroy(mixed $id) : RedirectResponse
Parameters
$id : mixed
Return values
RedirectResponse

edit()

Show the form for editing the specified resource.

public edit(mixed $id, Request $request) : View
Parameters
$id : mixed
$request : Request
Return values
View

index()

This function to list all users items with pagination and search.

public index(Request $request) : mixed
Parameters
$request : Request

show()

Show the form for creating a new resource.

public show(mixed $id, Request $request) : View
Parameters
$id : mixed
$request : Request
Return values
View

store()

Store a newly created resource in storage.

public store(Request $request) : RedirectResponse
Parameters
$request : Request
Return values
RedirectResponse

update()

Update the specified resource in storage.

public update(Request $request, mixed $id) : RedirectResponse
Parameters
$request : Request
$id : mixed
Return values
RedirectResponse

        
On this page

Search results