You are here

public function AcquiaLiftAPI::getTotalRuntimeCallsForMonthToDate in Acquia Lift Connector 7

Returns the total number of runtimeAPI calls for the month prior to the date provided.

Parameters

$timestamp: The timestamp representing the date from which to calculate the previous month's API calls.

Return value

int

File

includes/acquia_lift.classes.inc, line 1375
Provides an agent type for Acquia Lift

Class

AcquiaLiftAPI
@file Provides an agent type for Acquia Lift

Code

public function getTotalRuntimeCallsForMonthToDate($timestamp) {
  $calls_last_month = $this
    ->getCallsForMonthToDate($timestamp);
  return $this
    ->convertCallCountsToTotalCount($calls_last_month);
}