class LabelTreeController extendsController

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

inControllerat line21
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

inControllerat line15
protectedRedirectResponse fuzzyRedirect()

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

Return Value

RedirectResponse

at line39
Response index(Request$request)

Shows all label trees the user has access to.

Parameters

Request $request

Return Value

Response

at line99
Response show($id)

Shows a label tree.

Parameters

$id

Return Value

Response

at line137
Response store(StoreLabelTree$request)

Creates a new label tree.

Parameters

StoreLabelTree $request

Return Value

Response

at line189
Response update(UpdateLabelTree$request)

Updates the attributes of the specified label tree.

Parameters

UpdateLabelTree $request

Return Value

Response

at line241
Response destroy(DestroyLabelTree$request)

Removes the specified label tree.

Parameters

DestroyLabelTree $request

Return Value

Response