PHP Class Components\Posts\Controllers\Backend\PostCategoriesController

Inheritance: extends Backend\AdminController
Datei anzeigen Open project: doptor/doptor

Public Methods

Method Description
__construct ( )
create ( ) : Response Show the form for creating a new post.
destroy ( integer $id = null ) : Response Remove the specified post category from storage.
edit ( integer $id ) : Response Show the form for editing the specified post.
index ( ) : Response Display a listing of the posts-categories.
show ( integer $id ) : Response Display the specified post.
store ( ) : Response Store a newly created post in storage.
update ( integer $id ) : Response Update the specified post category in storage.

Method Details

__construct() public method

public __construct ( )

create() public method

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

destroy() public method

Remove the specified post category from storage.
public destroy ( integer $id = null ) : Response
$id integer
return Response

edit() public method

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

index() public method

Display a listing of the posts-categories.
public index ( ) : Response
return Response

show() public method

Display the specified post.
public show ( integer $id ) : Response
$id integer
return Response

store() public method

Store a newly created post in storage.
public store ( ) : Response
return Response

update() public method

Update the specified post category in storage.
public update ( integer $id ) : Response
$id integer
return Response