# nats\_get\_reward\_categories

Alias: get\_reward\_categories

## Parameters

| Parameter                                                                                                                                 | Description                                                      | Possible Values                | Default Value               | Example                |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------ | --------------------------- | ---------------------- |
| [assign\_prefix](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/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"
```
