PHP Classes

File: examples/views/embed/embed.blade.php

Recommend this page to a friend!
  Classes of Jorge Castro   BladeOne   examples/views/embed/embed.blade.php   Download  
File: examples/views/embed/embed.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change:
Date: 3 years ago
Size: 393 bytes
 

Contents

Class file image Download
--- calling embed ---
@embed('embed.component')
    @section('title', 'Warning panel 1')
    @section('content')
        <hr>
        <strong>Warning panel content 1</strong>
        <hr>
    @stop
@endembed

--- calling embed 2---
@embed('embed.component')
@section('title', 'Warning panel 2')
@section('content')
    <hr>
    <strong>Warning panel content 2</strong>
    <hr>
@stop
@endembed