PHP Class App\Http\Controllers\UsersController

Inheritance: extends Controller
Mostrar archivo Open project: Bottelet/Flarepoint-crm Class Usage Examples

Protected Properties

Property Type Description
$departments
$roles
$settings
$users

Public Methods

Method 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 method

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 method

public anyData ( )

clientData() public method

public clientData ( $id )

closedTaskData() public method

public closedTaskData ( $id )

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 ( StoreUserRequest $userRequest ) : Response
$userRequest App\Http\Requests\user\StoreUserRequest
return Response

taskData() public method

public taskData ( $id )

update() public method

Update the specified resource in storage.
public update ( integer $id, UpdateUserRequest $request ) : Response
$id integer
$request App\Http\Requests\user\UpdateUserRequest
return 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