Atomik Event Browser

Atomik::renderLayout()

Atomik::Renderlayout

Fired at the beginning of a call to Atomik::renderLayout().

  1. string &$layout

    The layout name

  2. string &$content

    The content for the layout

  3. array &$vars

    Variables for the layout

  4. boolean &$triggerError

    Whether to throw an exception when the layout file is missing

  5. array &$dirs

    Directories where to find layouts

function myAtomikRenderlayoutHandler(&$layout, &$content, &$vars, &$triggerError, &$dirs)
{
    // your code
}

Atomik::listenEvent('Atomik::Renderlayout', 'myAtomikRenderlayoutHandler');