class ProjectStatisticsController 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
show(Request $request, int $id)

Shows the project statistics page.

array
getVolumeStatistics(Project $project, string $type)

Get the statistics of volumes with a certain media type.

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
Response show(Request $request, int $id)

Shows the project statistics page.

Parameters

Request $request
int $id

project ID

Return Value

Response

at line 100
protected array getVolumeStatistics(Project $project, string $type)

Get the statistics of volumes with a certain media type.

Parameters

Project $project
string $type

Return Value

array