If you've used other frameworks then one thing that might be a little confusing is how things are passed though the MVC design in Joomla.
It may make things much easier to get your head around once you appreciate the page /view/view_html.php is basically a mini-controller page.
I for example had been putting controller in the Components controller and then calling it up with something like.
ProductMapperController::sendToFile($xmlOutput);
by putting it in the view_html.php then I can call it up with
$this->sendToFile($xmlOutput);
There's a bit more on this at Joomla MVC differences
No comments:
Post a Comment