Follow this link to define php array to use this widget