PHP Class AcProjectsController

Inheritance: extends AcBaseController
Show file Open project: efficiently/authority-controller

Protected Properties

Property Type Description
$acProject AcProject current AcProject instance
$acProjectModel AcProject AcProject Repository
$acProjects Illuminate\Database\Eloquent\Collection AcProject collection

Public Methods

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

Method Details

__construct() public method

public __construct ( AcProject $acProjectModel = null )
$acProjectModel AcProject

create() public method

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

destroy() public method

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

edit() public method

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

index() public method

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

show() public method

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

store() public method

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

update() public method

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

Property Details

$acProject protected property

current AcProject instance
protected AcProject $acProject
return AcProject

$acProjectModel protected property

AcProject Repository
protected AcProject $acProjectModel
return AcProject

$acProjects protected property

AcProject collection
protected Illuminate\Database\Eloquent\Collection $acProjects
return Illuminate\Database\Eloquent\Collection