Difference between revisions of "Nats display stats subscription details"
From TMM Wiki
Jump to navigationJump to searchm |
TMMStephenY (talk | contribs) m |
||
Line 51: | Line 51: | ||
If the parameter, ''subscriptionid'' is not set, the ''tpl'' parameter | If the parameter, ''subscriptionid'' is not set, the ''tpl'' parameter | ||
is always set to the template, ''function_display_stats_join_details''. | is always set to the template, ''function_display_stats_join_details''. | ||
+ | |||
+ | [[Category:NATS4 Template Functions]] |
Latest revision as of 16:35, 20 May 2011
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.