UserController
class UserController extendsController
Traits
Methods
Determines if the request was done by an automated script (with API token or ajax).
Redirects to the _redirect URL, to a route or else back.
Creates a new UserController instance.
Finds all users with firstnames or lastnames like $pattern
.
Shows a list of all users.
Details
inControllerat line21
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
inControllerat line15
protectedRedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
at line21
__construct()
Creates a new UserController instance.
at line62
Response
find(string$pattern)
Finds all users with firstnames or lastnames like $pattern
.
Returns the first 10 results.
at line101
Response
index(Request$request)
Shows a list of all users.
at line133
User
show(int$id)
Shows the specified user.
at line167
User
showOwn(Request$request)
Shows the requesting user.
at line202
Response
update(UpdateUser$request)
Updates the attributes of the specified user.
at line258
Response
updateOwn(UpdateOwnUser$request)
Updates the attributes of the own user.
at line372
Response
destroy(DestroyUser$request)
Removes the specified user.
at line401
Response
destroyOwn(DestroyOwnUser$request)
Removes the own user.