UsersController
class UsersController extends Controller
Traits
Methods
Determines if the request was done by an automated script (with API token or ajax).
Shows the admin users page.
Shows the admin new user page.
Shows the admin edit user page.
Shows the admin delete user page.
Determines the Boostrap label class for a role label.
Details
in
Controller at line 21
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
at line 27
Response
get(Request $request)
Shows the admin users page.
@@param Request $request
at line 63
Response
newUser()
Shows the admin new user page.
at line 73
Response
edit($id)
Shows the admin edit user page.
at line 89
Response
delete($id)
Shows the admin delete user page.
at line 102
Response
show(Modules $modules, int $id)
Shows the user information page.
at line 125
protected string|array
roleClassMap(int $id = null)
Determines the Boostrap label class for a role label.
at line 147
protected array
showProject(User $user)
Add project statistics to the view.
at line 176
protected array
showVolume(User $user)
Add volume statistics to the view.
at line 203
protected array
showAnnotations(User $user)
Add annotation statistics to the view.
at line 233
array
showVideos(User $user)
Add project statistics to the view.