PHP Class Mage2\Page\Controllers\Admin\PageController

Inheritance: extends Mage2\Framework\System\Controllers\AdminController
Datei anzeigen Open project: mage2/laravel-ecommerce

Public Methods

Method Description
create ( ) : Illuminate\Http\Response Show the form for creating a new page.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified page from storage.
edit ( integer $id ) : Illuminate\Http\Response Show the form for editing the specified page.
index ( ) : Illuminate\Http\Response Display a listing of the Page.
show ( integer $id ) : Illuminate\Http\Response Display the specified page.
store ( PageRequest $request ) : Illuminate\Http\Response Store a newly created page in database.
update ( PageRequest $request, integer $id ) : Illuminate\Http\Response Update the specified page in database.

Method Details

create() public method

Show the form for creating a new page.
public create ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

destroy() public method

Remove the specified page from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

edit() public method

Show the form for editing the specified page.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

index() public method

Display a listing of the Page.
public index ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

show() public method

Display the specified page.
public show ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

store() public method

Store a newly created page in database.
public store ( PageRequest $request ) : Illuminate\Http\Response
$request Mage2\Page\Requests\PageRequest
return Illuminate\Http\Response

update() public method

Update the specified page in database.
public update ( PageRequest $request, integer $id ) : Illuminate\Http\Response
$request Mage2\Page\Requests\PageRequest
$id integer
return Illuminate\Http\Response