Function __global->_get_next_leader_board_timeframe
Definitions
sources/leader_board.php
- Determine the start and end times for the next result set that needs generating for a leader-board.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$row | array | required parameter | N/A | N/A | The leader-board row |
$forced_time | ?TIME | Null | N/A | N/A | Pretend the current time is the provided timestamp (null: use the current time in the site's timezone) |
$forced_period_start | ?TIME | Null | N/A | N/A | Pretend the most recent result set was generated on the provided timestamp (null: use the actual most recent timestamp) |
Return
- A ?TIME duple containing start and end; both will be null if this leader-board should not generate a result set at this time
- Type: array
- Set: N/A
- Range: N/A