title: Pass several variables from Smarty to PHP function
body: <p>We got a shopsystem working with Smarty. I need to pass some Smarty variables to a PHP function and get the return. </p>
  
  <p>What I know and also did so far is the following:</p>
  
  <pre><code>{$order_id|@get_order_total}
  </code></pre>
  
  <p>So this passes the Smarty Variable "<code>$order_id</code>" to a included PHP file which contains the function <code>get_order_total($order_id)</code> and shows me the return of this function.</p>
  
  <p>Now I need to pass 3 variables to a PHP function. The function would for example look like this:</p>
  
  <pre><code>handleDebit($order, $payCode, $insertId)
  </code></pre>
  
  <p>Sadly i have not found the right thing so far in smarty documentation. Anyone has ever done this?</p>