Nats get reward categories
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_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.