Plugin Framework Function twigFramework()

protected final function twigFramework(
$vars = array(), $return = false, $fromString = false


Calls the Twig template engine to output a Twig framework.

Where You Can Use It

From in your plugin's showSlot() method. From Zenario 7.0 onwards.


If you have created a Twig framework for your Module - e.g. frameworks/standard/framework.twig.html - then you can call it by calling this function.



An array of data to pass to your Twig framework.


If this is set to true, this function will return the html generated.

By default the html generated will be output to the screen.