\Ceo\View\FunctionsDelayRenderFunction

DelayRender allows you to force rendered Twig code to the footer of the site. Helpful for javascript.

DelayRender will not all for duplicate code bits.

{% set javascript %}
<script>console.log('hello world');</script>
{% endset %}
{% do delayRender(javascript) %}

Summary

Methods
Properties
Constants
__construct()
getFunctionOptions()
getDI()
getStack()
getFunctionName()
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$stack
$keyStack
N/A

Properties

$stack

$stack : 

Type

$keyStack

$keyStack : 

Type

Methods

__construct()

__construct() 

getFunctionOptions()

getFunctionOptions() 

getDI()

getDI() 

getStack()

getStack() : array

Return the remaining items in the render stack if anything exists.

Returns

array

getFunctionName()

getFunctionName() 

handle()

handle(  $block = 'global',   $val = null) : array

Delay render handle

Parameters

$block
$val

Returns

array —

of existing partials