PHP Class App\Http\Controllers\UsersController

Inheritance: extends Controller
Afficher le fichier Open project: Bottelet/Flarepoint-crm Class Usage Examples

Protected Properties

Свойство Type Description
$departments
$roles
$settings
$users

Méthodes publiques

Méthode Description
__construct ( App\Repositories\User\UserRepositoryContract $users, App\Repositories\Role\RoleRepositoryContract $roles, App\Repositories\Department\DepartmentRepositoryContract $departments, App\Repositories\Setting\SettingRepositoryContract $settings )
anyData ( )
clientData ( $id )
closedTaskData ( $id )
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 ( StoreUserRequest $userRequest ) : Response Store a newly created resource in storage.
taskData ( $id )
update ( integer $id, UpdateUserRequest $request ) : Response Update the specified resource in storage.

Method Details

__construct() public méthode

public __construct ( App\Repositories\User\UserRepositoryContract $users, App\Repositories\Role\RoleRepositoryContract $roles, App\Repositories\Department\DepartmentRepositoryContract $departments, App\Repositories\Setting\SettingRepositoryContract $settings )
$users App\Repositories\User\UserRepositoryContract
$roles App\Repositories\Role\RoleRepositoryContract
$departments App\Repositories\Department\DepartmentRepositoryContract
$settings App\Repositories\Setting\SettingRepositoryContract

anyData() public méthode

public anyData ( )

clientData() public méthode

public clientData ( $id )

closedTaskData() public méthode

public closedTaskData ( $id )

create() public méthode

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

destroy() public méthode

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

edit() public méthode

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

index() public méthode

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

show() public méthode

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

store() public méthode

Store a newly created resource in storage.
public store ( StoreUserRequest $userRequest ) : Response
$userRequest App\Http\Requests\user\StoreUserRequest
Résultat Response

taskData() public méthode

public taskData ( $id )

update() public méthode

Update the specified resource in storage.
public update ( integer $id, UpdateUserRequest $request ) : Response
$id integer
$request App\Http\Requests\user\UpdateUserRequest
Résultat Response

Property Details

$departments protected_oe property

protected $departments

$roles protected_oe property

protected $roles

$settings protected_oe property

protected $settings

$users protected_oe property

protected $users