Nats display stats calendar
From TMM Wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Applies to NATS 4.0.25 and greater.
nats_display_stats_calendar
Displays a calendar; each day on the calendar links to statistics for that day.
Alias: display_stats_calendar
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
tpl | Template used to display output | Any valid template | The template, function_display_stats_calendar | tpl="mytemplate" |
date | Displays calendar for the date this many seconds since the epoch | Any whole number greater than zero or zero | The current number of seconds since the epoch; i.e., the current date | date="1219723200" |
assign_prefix | Prefix output variables with this word. (Click link for details) | Any valid Smarty variable name | None. (No prefix is used) | assign_prefix="myvar" |
data_only | Set variables but don't display the template | 1 | None. The template is displayed. | data_only=1 |
Output
A calendar; each day on the calendar links to the statistics breakdown for that day.
Notes
The epoch is midnight 1 January 1970 not counting leap seconds.
See Also
- nats_display_stats -- Display Affiliate Statistics