pass array from module to render in template
Place the array into the variables. like.

function mysite_preprocess_panels_pane(&amp;$variables) {  
 $variables['ar'] = array('arg1'=&gt; 'car', 'arg2'=&gt; 'truck');
}