$simpleRender = new \MickaelBaudoin\SimpleRender\Render\SimpleRender(); $simpleRender->setPathLayouts(PATH_APP . "layouts/"); $simpleRender->setPathViews(PATH_APP . "views/"); //Recherche le layout default.html et la vue home.html $simpleRender->setNameLayout("default"); $simpleRender->render("home", array('helloWorld' => 'Hello world'));
mickaelbaudoin/simple-render
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|