class LabelTreeUserController 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).

RedirectResponse
fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

LabelTree|RedirectResponse
store(StoreLabelTreeUser $request)

Add a member to a label tree.

RedirectResponse|null
update(UpdateLabelTreeUser $request)

Updates a member of a label tree.

RedirectResponse|null
destroy(DestroyLabelTreeUser $request)

Removes the specified member from the specified label tree.

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).

Parameters

Request $request

Return Value

bool

in Controller at line 15
protected RedirectResponse fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Return Value

RedirectResponse

at line 27
LabelTree|RedirectResponse store(StoreLabelTreeUser $request)

Add a member to a label tree.

Parameters

StoreLabelTreeUser $request

Return Value

LabelTree|RedirectResponse

at line 55
RedirectResponse|null update(UpdateLabelTreeUser $request)

Updates a member of a label tree.

Parameters

UpdateLabelTreeUser $request

Return Value

RedirectResponse|null

at line 82
RedirectResponse|null destroy(DestroyLabelTreeUser $request)

Removes the specified member from the specified label tree.

Parameters

DestroyLabelTreeUser $request

Return Value

RedirectResponse|null