Nats display stats subscription details
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.
nats_display_stats_subscription_details
Displays information about a member's subscription to a site.
Alias: display_stats_subscription_details
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_subscription_details | tpl="mytemplate" |
subscriptionid | The subscription ID number to get details of | Any valid subscription ID | None. | subscriptionid="123" |
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 table of information about the subscription. Two arrays are filled with data from the table: $trans_types and $details.
Notes
If the parameter, subscriptionid is not set, the tpl parameter is always set to the template, function_display_stats_join_details.