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

Response
create(Request $request)

Shows the create volume page.

Response
index(Request $request, int $id)

Shows the volume index page.

Response
edit(Request $request, int $id)

Shows the volume edit page.

Collection
getProjects(User $user, Volume $volume)

Get all projects that belong to a volume and that the user can access.

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 25
Response create(Request $request)

Shows the create volume page.

Parameters

Request $request

Return Value

Response

at line 70
Response index(Request $request, int $id)

Shows the volume index page.

Parameters

Request $request
int $id

volume ID

Return Value

Response

at line 115
Response edit(Request $request, int $id)

Shows the volume edit page.

Parameters

Request $request
int $id

volume ID

Return Value

Response

at line 141
protected Collection getProjects(User $user, Volume $volume)

Get all projects that belong to a volume and that the user can access.

Parameters

User $user
Volume $volume

Return Value

Collection