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

Response
show(Request $request, int $id)

Show the label tree page.

Response
index() deprecated

Show the label tree list.

Response
create(Request $request)

Show the create label tree page.

Response
showMasterLabelTree(LabelTree $tree, User $user)

Show the label tree page of a master label tree.

Response
showVersionedLabelTree(LabelTree $tree, User $user)

Show the label tree page of a versioned 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

at line 24
Response show(Request $request, int $id)

Show the label tree page.

Parameters

Request $request
int $id

Label tree ID

Return Value

Response

at line 44
Response index() deprecated

deprecated This is a legacy route and got replaced by the global search.

Show the label tree list.

Return Value

Response

at line 55
Response create(Request $request)

Show the create label tree page.

Parameters

Request $request

Return Value

Response

at line 96
protected Response showMasterLabelTree(LabelTree $tree, User $user)

Show the label tree page of a master label tree.

Parameters

LabelTree $tree
User $user

Return Value

Response

at line 125
protected Response showVersionedLabelTree(LabelTree $tree, User $user)

Show the label tree page of a versioned label tree.

Parameters

LabelTree $tree
User $user

Return Value

Response