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

Response
show(Request$request,int$id)

Show the label tree page.

Response
index()deprecated

Show the label tree list.

Response
admin()

Show the label tree admin page.

Response
create(Request$request)

Show the create label tree page.

Response
tutorial(string$name)

Show a tutorials article.

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

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

at line24
Response show(Request$request,int$id)

Show the label tree page.

Parameters

Request $request
int $id Label tree ID

Return Value

Response

at line44
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 line54
Response admin()

Show the label tree admin page.

Return Value

Response

at line69
Response create(Request$request)

Show the create label tree page.

Parameters

Request $request

Return Value

Response

at line108
Response tutorial(string$name)

Show a tutorials article.

Parameters

string $name Article name

Return Value

Response

at line125
protectedResponse showMasterLabelTree(LabelTree$tree,User$user)

Show the label tree page of a master label tree.

Parameters

LabelTree $tree
User $user

Return Value

Response

at line192
protectedResponse showVersionedLabelTree(LabelTree$tree,User$user)

Show the label tree page of a versioned label tree.

Parameters

LabelTree $tree
User $user

Return Value

Response