You are here

public function AcquiaLiftAPI::getTotalRuntimeCallsForPreviousMonth 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 1333
Provides an agent type for Acquia Lift

Class

AcquiaLiftAPI
@file Provides an agent type for Acquia Lift

Code

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