UsersController
class UsersController extends Controller
Traits
AuthorizesRequests
ValidatesRequests
Methods
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
from
Controller
get(Request $request)
Shows the admin users page.
newUser()
Shows the admin new user page.
edit($id)
Shows the admin edit user page.
delete($id)
Shows the admin delete user page.
string|array
roleClassMap(int $id = null)
Determines the Boostrap label class for a role label.
array
array
array
array
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 23
get(Request $request)
Shows the admin users page.
at line 65
newUser()
Shows the admin new user page.
at line 73
edit($id)
Shows the admin edit user page.
at line 87
delete($id)
Shows the admin delete user page.
at line 99
show(Modules $modules, int $id)
Shows the user information page.
at line 122
protected string|array
roleClassMap(int $id = null)
Determines the Boostrap label class for a role label.
at line 144
protected array
showProject(User $user)
Add project statistics to the view.
at line 173
protected array
showVolume(User $user)
Add volume statistics to the view.
at line 200
protected array
showAnnotations(User $user)
Add annotation statistics to the view.
at line 230
array
showVideos(User $user)
Add project statistics to the view.