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

RedirectResponse
fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Collection
index(Request $request)

Shows all volumes the user has access to.

show(Request $request, int $id)

Displays the specified volume.

RedirectResponse|null
update(UpdateVolume $request)

Updates the attributes of the specified volume.

Volume|RedirectResponse
clone(CloneVolume $request)

Clones volume to destination project.

object
getFileIdsSortedByAnnotationTimestamps(int $id)

Return file ids which are sorted by annotations.created_at

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

in Controller at line 15
protected RedirectResponse fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Return Value

RedirectResponse

at line 49
Collection index(Request $request)

Shows all volumes the user has access to.

Parameters

Request $request

Return Value

Collection

at line 98
Volume show(Request $request, int $id)

Displays the specified volume.

Parameters

Request $request
int $id

Return Value

Volume

at line 128
RedirectResponse|null update(UpdateVolume $request)

Updates the attributes of the specified volume.

Parameters

UpdateVolume $request

Return Value

RedirectResponse|null

at line 184
Volume|RedirectResponse clone(CloneVolume $request)

Clones volume to destination project.

Parameters

CloneVolume $request

Return Value

Volume|RedirectResponse

at line 237
object getFileIdsSortedByAnnotationTimestamps(int $id)

Return file ids which are sorted by annotations.created_at

Parameters

int $id

Return Value

object