Function __global->get_realtime_events

Definitions

sources/realtime_rain.php

  • Get all the events within a timestamp range.
  • 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 From time (inclusive)
$to TIME No No required parameter N/A N/A To time (inclusive)

Returns

  • List of template parameter sets (perfect for use in a Tempcode LOOP)
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get all the events within a timestamp range.
 *
 * @param  TIME $from From time (inclusive)
 * @param  TIME $to To time (inclusive)
 * @return array List of template parameter sets (perfect for use in a Tempcode LOOP)
 */

function get_realtime_events(int $from, int $to) : array