PHP Class Yab\Quarx\Controllers\PagesController

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

Public Methods

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

Method Details

__construct() public method

public __construct ( PageRepository $pagesRepo )
$pagesRepo Yab\Quarx\Repositories\PageRepository

create() public method

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

destroy() public method

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

edit() public method

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

index() public method

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

store() public method

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

update() public method

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