PHP Classes

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

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


Class file image Download
<h1>Test for version 2.4 and higher</h1>


<h2>test of isset</h2>
$name is defined
<h2>test of include when</h2>
<h2>Test of includefirst</h2>
@includeFirst(['Test2.nope', 'Test2.include'], ['v1' => 'hello'])


    This will be second...

This will be first...


<h2>empty test</h2>

@forelse ($records as $rec)
    <li>{{ $rec }}</li>
    <p>No record</p>

@forelse ($emptyArray as $user)
    <li>{{ $john->name }}</li>
    <p>No users</p>

<h2> empty($value) test</h2>

    $emptyArray is empty

<h2> Test append</h2>