Difference between revisions of "Nats get reward categories"
From TMM Wiki
Jump to navigationJump to searchm |
TMMStephenY (talk | contribs) m |
||
Line 38: | Line 38: | ||
== Notes == | == Notes == | ||
None. | None. | ||
+ | |||
+ | [[Category:NATS4 Template Functions]] |
Latest revision as of 16:40, 20 May 2011
Applies to NATS 4.0.25 and greater.
nats_get_reward_categories
Puts a list of the reward categories into the Smarty array $reward_categories.
Alias: get_reward_categories
Parameters
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
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" |
Output
None. Output stored in the multidimensional array, $reward_categories, with the following format:
Array (1) 1 => Array (3) id => "1" name => "test" total => "1"
Notes
None.