de_linkm_events_helpers_getarticleids (line
60)
Helper function for getting a sorted and filtered array of event articles
array
de_linkm_events_helpers_getarticleids
(object $topic, array $config, [boolean $latest = false], [booleam $upcoming = false])
-
object
$topic: The current Midgard topic object.
-
array
$config: A key=>value array with the current component configuration.
-
boolean
$latest: A control variable to determine component behaviour. Used for listing.
-
booleam
$upcoming: A control variable to determine component behaviour. Used for listing.
de_linkm_events_helpers_timelabel (line
23)
Function for creating nicer time labels for events
Compares start and end times and produces as short time string as possible using locale output. I.e. 21. - 25.02.2005
Note: Originally copied from TownPortal snippet /TownPortal/functions
void
de_linkm_events_helpers_timelabel
(timestamp $start, timestamp $end, [boolean $withtime = false])
-
timestamp
$start: Event starting timestamp.
-
timestamp
$end: Event ending timestamp.
-
boolean
$withtime: A control variable to determine whether to add time to the string.