Omg.
Multi array:
$this->context->smarty->assign( array( 'myArray' => array( 'myValue' => $myValue, 'myValue2' => $myValue2 ), ) ); /* twig: {{ myArray.myValue }} and {{ myArray.myValue2 }} */
Simple array:
$this->context->smarty->assign('myValue', $myValue); /* twig {{ myValue }} */
or
$this->context->smarty->assign(array('myValue' => $myValue, 'myValue2' => $myValue2)); /* twig {{ myValue }} and {{ myValue2 }} */
quote:
You need to use smarty just like with the tpl template, only with the difference of two brackets and without the dollar sign.