Function Hook_realtime_rain_stats->run

Definitions

sources/hooks/systems/realtime_rain/stats.php

  • Run function for realtime-rain hooks.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$from TIME No No required parameter N/A N/A Start of time range
$to TIME No No required parameter N/A N/A End of time range

Returns

  • A list of template parameter sets for rendering a 'drop'
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Run function for realtime-rain hooks.
 *
 * @param  TIME $from Start of time range
 * @param  TIME $to End of time range
 * @return array A list of template parameter sets for rendering a 'drop'
 */

public function run(int $from, int $to) : array