Function CMSStatsProvider->convert_month_range_filter_to_pair

Definitions

sources/stats.php

  • Convert a month range filter array to a range pair if it only specifies one value.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$_range_value mixed No No required parameter N/A N/A The value of the $bucket . __month_range filter property

Returns

  • An array pair of start, end indicating the month range; start and end are the number of months since epoch (1970)
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert a month range filter array to a range pair if it only specifies one value.
 *
 * @param  mixed $_range_value The value of the $bucket . __month_range filter property
 * @return array An array pair of start, end indicating the month range; start and end are the number of months since epoch (1970)
 */

protected function convert_month_range_filter_to_pair($_range_value) : array