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

show(Request $request, int $id)

Show the label tree page.

RedirectResponse
index() deprecated

Show the label tree list.

create(Request $request)

Show the create label tree page.

showMasterLabelTree(LabelTree $tree, User $user)

Show the label tree page of a master label tree.

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 21
show(Request $request, int $id)

Show the label tree page.

Parameters

Request $request
int $id

Label tree ID

at line 41
RedirectResponse index() deprecated

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

Show the label tree list.

Return Value

RedirectResponse

at line 51
create(Request $request)

Show the create label tree page.

Parameters

Request $request

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

Show the label tree page of a master label tree.

Parameters

LabelTree $tree
User $user

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

Show the label tree page of a versioned label tree.

Parameters

LabelTree $tree
User $user