class LabelTreeProjectsController 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)

Shows the label tree projects page.

showMasterLabelTree(LabelTree $tree, User $user)

Show the label tree projects page of a master label tree.

showVersionedLabelTree(LabelTree $tree, User $user)

Show the label tree page projects 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 20
show(Request $request, int $id)

Shows the label tree projects page.

Parameters

Request $request
int $id

project ID

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

Show the label tree projects page of a master label tree.

Parameters

LabelTree $tree
User $user

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

Show the label tree page projects of a versioned label tree.

Parameters

LabelTree $tree
User $user