File: index.php

Recommend this page to a friend!
  Classes of Jorge Castro  >  Gentelella BladeOne  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 2 months ago
Size: 363 bytes
 

Contents

Class file image Download
<?php


use eftec\bladeone\BladeOne;

include
"vendor/autoload.php";


$blade=new BladeOne(__DIR__.'/views',__DIR__ . '/compiled');
define("BLADEONE_MODE",1); // (optional) 1=forced (test),2=run fast (production), 0=automatic, default value.

$values=['title'=>'Gentelella-bladeone | index ','username'=>'Hillary Trump'];

echo
$blade->run("home.index",$values);


For more information send a message to info at phpclasses dot org.