Well standard smarty array assignment works like this:
PHP Code:
$myArray = array('no' => 10, 'label' => 'Peanuts'); $smarty->assign('foo',$myArray);
In this script I made a class called Template inheriting the parent Smarty class, and the assign method still works. The template object is stored inside the mysidia object from registry, you can access it like this:
PHP Code:
$mysidia = Registry::get("mysidia");
$mysidia->template->assign('arrayname', $array);