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

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

Shows the create volume page.

Parameters

Request $request

Return Value

Response

at line45
Response index(Request$request,int$id)

Shows the volume index page.

Parameters

Request $request
int $id volume ID

Return Value

Response

at line85
Response edit(Request$request,int$id)

Shows the volume edit page.

Parameters

Request $request
int $id volume ID

Return Value

Response

at line109
protectedCollection 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