PHP Classes

File: examples/views/Test/switch.blade.php

Recommend this page to a friend!
  Classes of Jorge Castro   BladeOne   examples/views/Test/switch.blade.php   Download  
File: examples/views/Test/switch.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: Update of examples/views/Test/switch.blade.php
Date: 3 years ago
Size: 800 bytes
 

Contents

Class file image Download
<h1>test switch where $i={!! $i !!}, $j={!! $j !!}</h1>
@switch($i)
    @case(0)
    Zero case for i...
        @switch ($j)
            @case (1)
                First case for j...
            @break
            @default
                Default case for j...
            @break
        @endswitch
    @break

    @case(1)
    First case...
    @break

    @case(2)
    Second case...
    @break

    @default
    Default case...
@endswitch

<h1>test switch</h1>
@switch($i)
    @case(1)
    First case...
    @break

    @case(44)
    44 case...
    @break

    @default
    Default case...
@endswitch
<h1>test switch</h1>
@switch($j)
    @case(1)
    First case...
    @break
    @case(44)
    44 case...
    @break
    @case(0)
    0 case...
    @break
    @default
    Default case...
@endswitch