class LabelTreeController 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>
index(Request $request)

Shows all label trees the user has access to.

show($id)

Shows a label tree.

LabelTree|RedirectResponse
store(StoreLabelTree $request)

Creates a new label tree.

RedirectResponse|null
update(UpdateLabelTree $request)

Updates the attributes of the specified label tree.

RedirectResponse|null
destroy(DestroyLabelTree $request)

Removes 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 39
LabelTree> index(Request $request)

Shows all label trees the user has access to.

Parameters

Request $request

Return Value

LabelTree>

at line 99
LabelTree show($id)

Shows a label tree.

Parameters

$id

Return Value

LabelTree

at line 139
LabelTree|RedirectResponse store(StoreLabelTree $request)

Creates a new label tree.

Parameters

StoreLabelTree $request

Return Value

LabelTree|RedirectResponse

at line 191
RedirectResponse|null update(UpdateLabelTree $request)

Updates the attributes of the specified label tree.

Parameters

UpdateLabelTree $request

Return Value

RedirectResponse|null

at line 243
RedirectResponse|null destroy(DestroyLabelTree $request)

Removes the specified label tree.

Parameters

DestroyLabelTree $request

Return Value

RedirectResponse|null