Nats display code info
From TMM Wiki
Revision as of 15:58, 20 May 2011 by TMMStephenY (talk | contribs)
Applies to NATS 4.0.25 and greater.
nats_display_code_info
Displays information about a linkcode and includes information about the linkcode's payout.
Alias: display_code_info
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_code_info | tpl="mytemplate" |
natscode | The linkcode to decode. May be a unqualified linkcode or a fully-qualified URL | Any valid linkcode | None. | natscode="http://nats4.example.com/track/OC4xLjEuMS4wLjAuMC4w" |
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
Information about the linkcode and affiliate payout details.
Notes
None.
See Also
- nats decode -- Decodes a linkcode into a Smarty array. (Does not include affiliate payout details.)