Package

ViewHelpers

ViewHelper Documentation

section

A Section view helper

== Examples ==

<f:section name="someSection">This is a section. {foo}</f:section> <f:render section="someSection" arguments="{foo: someVariable}" /> the content of the section "someSection". The content of the variable {someVariable} will be available in the partial as {foo}

<f:section name="mySection">

</f:section> <f:render section="mySection" arguments="{myMenu: menu}" />
  • menu1

    <ul>
      <li>menu1a</li>
      <li>menu1b</li>
    </ul>
    

  • [...] (depending on the value of {menu})

Arguments

name string, required

Name of the section

ViewHelper Resources

Schema Resources