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

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

Shows the project statistics page.

Parameters

Request $request
int $id

project ID

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