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

Response
show(Request $request, int $id)

Shows the label tree projects page.

Response
showMasterLabelTree(LabelTree $tree, User $user)

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

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

Shows the label tree projects page.

Parameters

Request $request
int $id

project ID

Return Value

Response

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

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

Parameters

LabelTree $tree
User $user

Return Value

Response

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

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

Parameters

LabelTree $tree
User $user

Return Value

Response