PHP Class AcTasksController

Inheritance: extends AcBaseController
Afficher le fichier Open project: efficiently/authority-controller

Protected Properties

Свойство Type Description
$acProject AcProject Parent resource AcProject instance
$acProjectModel AcProject Parent resource AcProject Repository
$acTask AcTask current AcTask instance
$acTaskModel AcTask AcTask Repository
$acTasks Illuminate\Database\Eloquent\Collection AcTask collection

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( AcProject $acProjectModel, AcTask $acTaskModel )
$acProjectModel AcProject
$acTaskModel AcTask

create() public méthode

Show the form for creating a new resource.
public create ( integer $acProjectId ) : Response
$acProjectId integer
Résultat Response

destroy() public méthode

Remove the specified resource from storage.
public destroy ( integer $acProjectId, integer $id ) : Response
$acProjectId integer
$id integer
Résultat Response

edit() public méthode

Show the form for editing the specified resource.
public edit ( integer $acProjectId, integer $id ) : Response
$acProjectId integer
$id integer
Résultat Response

index() public méthode

Display a listing of the resource.
public index ( integer $acProjectId ) : Response
$acProjectId integer
Résultat Response

show() public méthode

Display the specified resource.
public show ( integer $acProjectId, integer $id ) : Response
$acProjectId integer
$id integer
Résultat Response

store() public méthode

Store a newly created resource in storage.
public store ( integer $acProjectId ) : Response
$acProjectId integer
Résultat Response

update() public méthode

Update the specified resource in storage.
public update ( integer $acProjectId, integer $id ) : Response
$acProjectId integer
$id integer
Résultat Response

Property Details

$acProject protected_oe property

Parent resource AcProject instance
protected AcProject $acProject
Résultat AcProject

$acProjectModel protected_oe property

Parent resource AcProject Repository
protected AcProject $acProjectModel
Résultat AcProject

$acTask protected_oe property

current AcTask instance
protected AcTask $acTask
Résultat AcTask

$acTaskModel protected_oe property

AcTask Repository
protected AcTask $acTaskModel
Résultat AcTask

$acTasks protected_oe property

AcTask collection
protected Illuminate\Database\Eloquent\Collection $acTasks
Résultat Illuminate\Database\Eloquent\Collection