Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:17Length:2.4 hours
Crs 87595
  • Overview
  • Transcript

4.2 Understanding loadLayout() and renderLayout() Methods

Let’s continue our exploration on controllers. The most important thing that you should remember is that unlike many other frameworks and systems, with Magento’s MVC approach it’s not the responsibility of the controller to set variables for the view. Controllers set some values on Models, and then tell the system its layout loading and rendering time by calling loadLayout() and renderLayout() methods.