title: How to use multiple models in joomla MVC Component
body: <p>I am using different model in joomla than view's own model that is similar to its name by assigning it from controller, like:</p>
  
  <pre><code>         $view-&gt;setModel($this-&gt;getModel('user'));
  </code></pre>
  
  <p>Now how can I use its method getSingleUser($user_id) in view. In an example in joomla documentation , it is using is some thing like this:</p>
  
  <pre><code>$this-&gt;get("data1","model2");
  </code></pre>
  
  <p>So I assume data1 is name of method in model2? If so then how can I pass argument that is userid in my case. I know this is easy thing that many of joomla developers have done but I am sort of jack of all sort of developer and new to joomla so I am expecting you guys to tell me .</p>