SearchController
class SearchController 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).
from
Controller
array
searchLabelTrees(User $user, string $query, string $type, bool $includeFederatedSearch)
Add label tree results to the search view.
array
searchProjects(User $user, string $query, string $type, bool $includeFederatedSearch)
Add project results to the search view.
array
searchVolumes(User $user, string $query, string $type, bool $includeFederatedSearch)
Add volume results to the search view.
array
array
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).
at line 25
index(Guard $auth, Request $request, Modules $modules)
Shows the search page.
at line 65
protected array
searchLabelTrees(User $user, string $query, string $type, bool $includeFederatedSearch)
Add label tree results to the search view.
at line 134
protected array
searchProjects(User $user, string $query, string $type, bool $includeFederatedSearch)
Add project results to the search view.
at line 207
protected array
searchVolumes(User $user, string $query, string $type, bool $includeFederatedSearch)
Add volume results to the search view.
at line 273
protected array
searchAnnotations(User $user, string $query, string $type)
Add image results to the search view.
at line 314
protected array
searchVideos(User $user, string $query, string $type)
Add video results to the search view.