When rendering a view using Liten’s view object, there are two parameters that can be passed to the display() method.



You can create a layout (template) that other files (children) can extend. The show() method displays a section of content defined by the child view extending it.


Create a view that extends the layout and provides content for the show() section in the layout.


A somewhat alternative to default layouts is partial views which allows you to separate templates for headers and footers.


Last Modified: Mar 31, 2015 @ 1:55 PM

Liten Framework Forums View

  • You must be logged in to reply to this topic.