title: how to call a function inside a controller in opencart
body: <p>i have a controller that have with in let's say <code>thingy/stuff</code> directory</p>
  
  <pre><code>&lt;?php public function index() { /*thingy stuff */ }
  
  public function anotherfunction() {/*other thingy stuff*/} ?&gt;
  </code></pre>
  
  <p>i see tthe url like <code>index.php?route=thingy/stuff&amp;var=dd</code></p>
  
  <p>what i want is to call an $.post to this function inside that controller </p>
  
  <p>so it uses another template file <code>thingy.tpl</code> and return html to use</p>
  
  <p>what the URL should like ??</p>
  
  <p>i searched for hours ans it sounds like there is no development documentation for open-cart out there </p>