Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel You may determine if a template inheritance section has content using the @hasSection directive:

@hasSection('navigation')
    <div class="pull-right">
        @yield('navigation')
    </div>
 
    <div class="clearfix"></div>
@endif
 
PREVIOUS NEXT
Tagged: #Laravel #You #determine #template #inheritance #section #content
ADD COMMENT
Topic
Name
2+9 =