Function CMSStatsProvider->get_date_pivots

Definitions

sources/stats.php

  • Get a list of all the standard date pivot types.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$include_of_types boolean No No True N/A N/A Whether to include non-series pivots

Returns

  • List of standardised date pivot names
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a list of all the standard date pivot types.
 *
 * @param  boolean $include_of_types Whether to include non-series pivots
 * @return array List of standardised date pivot names
 */

protected function get_date_pivots(bool $include_of_types = true) : array