\App\Http\ControllersPageController

Class PageController.

Summary

Methods
Properties
Constants
index()
create()
store()
show()
edit()
update()
destroy()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

index()

index() : \Illuminate\Http\Response

Paginated listing of all shop pages.

Returns

\Illuminate\Http\Response

create()

create() : \Illuminate\Http\Response

Show the form for creating a new page.

Returns

\Illuminate\Http\Response

store()

store(\App\Http\Requests\PageRequest  $request) : \App\Http\Controllers\Response

Store a newly created resource in storage.

Parameters

\App\Http\Requests\PageRequest $request

New Page Request

Returns

\App\Http\Controllers\Response

show()

show(integer  $id) : \Illuminate\Http\Response

Fetch page by id.

Parameters

integer $id

page id

Returns

\Illuminate\Http\Response

edit()

edit(integer  $id) : \App\Http\Controllers\Response

Show the form for editing the page.

Parameters

integer $id

page id

Returns

\App\Http\Controllers\Response

update()

update(\App\Http\Requests\PageRequest  $request, integer  $id) : \Illuminate\Http\Response

Update the specified resource in storage.

Parameters

\App\Http\Requests\PageRequest $request

page update request

integer $id

page id

Returns

\Illuminate\Http\Response

destroy()

destroy(\Illuminate\Http\Request  $request, integer  $id) : \Illuminate\Http\Response

Remove the specified page from storage.

Parameters

\Illuminate\Http\Request $request
integer $id

page id

Returns

\Illuminate\Http\Response