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.

Response
index(Request $request)

Shows all label trees the user has access to.

Response
show($id)

Shows a label tree.

Response
store(StoreLabelTree $request)

Creates a new label tree.

Response
update(UpdateLabelTree $request)

Updates the attributes of the specified label tree.

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

Shows all label trees the user has access to.

Parameters

Request $request

Return Value

Response

at line 99
Response show($id)

Shows a label tree.

Parameters

$id

Return Value

Response

at line 137
Response store(StoreLabelTree $request)

Creates a new label tree.

Parameters

StoreLabelTree $request

Return Value

Response

at line 189
Response update(UpdateLabelTree $request)

Updates the attributes of the specified label tree.

Parameters

UpdateLabelTree $request

Return Value

Response

at line 241
Response destroy(DestroyLabelTree $request)

Removes the specified label tree.

Parameters

DestroyLabelTree $request

Return Value

Response