PHP Class Backend\UserController

Inheritance: extends backend\BackendController
Show file Open project: doptor/doptor

Protected Properties

Property Type Description
$user_manager
$usergroup_manager

Public Methods

Method Description
__construct ( UserManager $user_manager, UserGroupManager $usergroup_manager )
activate ( integer $id ) : Redirec\Redirect Activate the specified user
create ( ) : Response Show the form for creating a new user.
deactivate ( integer $id ) : Redirec\Redirect Deactivate the specified user
destroy ( integer $id = null ) : Response Remove the specified user.
edit ( integer $id ) : Response Show the form for editing the specified user.
getChangePassword ( )
index ( ) : Response Display a listing of the users.
putChangePassword ( )
show ( integer $id ) : Response Display the specified user.
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 ( UserManager $user_manager, UserGroupManager $usergroup_manager )
$user_manager Services\UserManager
$usergroup_manager Services\UserGroupManager

activate() public method

Activate the specified user
public activate ( integer $id ) : Redirec\Redirect
$id integer User ID
return Redirec\Redirect

create() public method

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

deactivate() public method

Deactivate the specified user
public deactivate ( integer $id ) : Redirec\Redirect
$id integer User ID
return Redirec\Redirect

destroy() public method

Remove the specified user.
public destroy ( integer $id = null ) : Response
$id integer
return Response

edit() public method

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

getChangePassword() public method

public getChangePassword ( )

index() public method

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

putChangePassword() public method

public putChangePassword ( )

show() public method

Display the specified user.
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

$user_manager protected property

protected $user_manager

$usergroup_manager protected property

protected $usergroup_manager