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

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"

Last updated

Was this helpful?