PHP Class Components\Posts\Controllers\Backend\PostsController

Inheritance: extends Backend\AdminController
Mostra file Open project: doptor/doptor

Protected Properties

Property Type Description
$type

Public Methods

Method Description
__construct ( )
create ( ) : Response Show the form for creating a new post.
destroy ( integer $id = null ) : Response Remove the specified post from storage.
edit ( integer $id ) : Response Show the form for editing the specified post.
index ( ) : Response Display a listing of the posts.
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 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 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.
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 in storage.
public update ( integer $id ) : Response
$id integer
return Response

Property Details

$type protected_oe property

protected $type