Layout - dknx01/micromvc GitHub Wiki

Layout files

You need at least one default Layout file.

Application/Layout/Layout.phtml

This file is used to build the whole HTML-File. It includes the doctype, the header, body with content (from the view file), the footer and the closing tags.

The DOCTYPE can be set during a bootstrap process (file: Application/Config/Bootstrap.php) and is normally HTML 5. For ajax request the system will look for the layout file Application/Layout/Ajax.phtml.