get_realtime_events
rain_get_country_image
rain_get_special_icons
rain_truncate_for_title
realtime_rain_script
get_realtime_events(\TIME $from, \TIME $to) : array
package | realtime_rain |
---|
\TIME
From time (inclusive).
\TIME
To time (inclusive).
array
List of template parameter sets (perfect for use in a Tempcode LOOP).rain_get_country_image(\IP $ip_address) : \URLPATH
package | realtime_rain |
---|
\IP
An IP address.
\URLPATH
Country flag image (blank: could not find one).rain_get_special_icons(\?IP $ip_address, \TIME $timestamp, \?string $user_agent= null
, \?string $news= null
) : array
package | realtime_rain |
---|
\?IP
An IP address (used to check against bots) (null: no IP).
\TIME
A timestamp (used to check for logged sent emails).
\?string
A user agent (used to check against phones) (null: no user agent).
\?string
News ticker news (null: no news ticker news).
array
Map with an icon and multiplicity parameter.rain_truncate_for_title(string $text) : string
package | realtime_rain |
---|
string
Idealised title.
string
Cropped title, with tooltip for full title.