class UsersController extendsController

Traits

AuthorizesRequests
ValidatesRequests

Methods

bool
isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

Response
get()

Shows the admin users page.

Response
newUser()

Shows the admin new user page.

Response
edit($id)

Shows the admin edit user page.

Response
delete($id)

Shows the admin delete user page.

Response
show(Modules$modules,int$id)

Shows the user information page.

string|array
roleClassMap(int$id =null)

Determines the Boostrap label class for a role label.

Details

inControllerat line21
bool isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

Parameters

Request $request

Return Value

bool

at line17
Response get()

Shows the admin users page.

Return Value

Response

at line44
Response newUser()

Shows the admin new user page.

Return Value

Response

at line54
Response edit($id)

Shows the admin edit user page.

Parameters

$id

Return Value

Response

at line70
Response delete($id)

Shows the admin delete user page.

Parameters

$id

Return Value

Response

at line83
Response show(Modules$modules,int$id)

Shows the user information page.

Parameters

Modules $modules
int $id User ID

Return Value

Response

at line102
protectedstring|array roleClassMap(int$id =null)

Determines the Boostrap label class for a role label.

Parameters

int $id

Return Value

string|array