I am using different model in joomla than view's own model that is similar to its name by assigning it from controller, like:
$view->setModel($this->getModel('user'));
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:
$this->get("data1","model2");
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 .