Atomik::renderLayout()
Atomik::Renderlayout
Fired at the beginning of a call to Atomik::renderLayout().
-
string &$layout
The layout name
-
string &$content
The content for the layout
-
array &$vars
Variables for the layout
-
boolean &$triggerError
Whether to throw an exception when the layout file is missing
-
array &$dirs
Directories where to find layouts
function myAtomikRenderlayoutHandler(&$layout, &$content, &$vars, &$triggerError, &$dirs)
{
// your code
}
Atomik::listenEvent('Atomik::Renderlayout', 'myAtomikRenderlayoutHandler');

