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

create(Request $request)

Shows the create volume page.

index(Request $request, int $id)

Shows the volume index page.

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

Shows the create volume page.

Parameters

Request $request

at line 61
index(Request $request, int $id)

Shows the volume index page.

Parameters

Request $request
int $id

volume ID

at line 104
edit(Request $request, int $id)

Shows the volume edit page.

Parameters

Request $request
int $id

volume ID

at line 140
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