PHP Classes

File: test/template/page_sections.stl.php

Recommend this page to a friend!
  Classes of Mohamed Nabil   PHP Style Template Engine   test/template/page_sections.stl.php   Download  
File: test/template/page_sections.stl.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Style Template Engine
Process templates compiling them into PHP scripts
Author: By
Last change:
Date: 1 year ago
Size: 406 bytes
 

Contents

Class file image Download
@spread('lay')

@section('content')

[comment]define var[/comment]

{%name='hallo'}

[comment]hard compiling another view[/comment]

@hardcompile(test[] within h1:title data:"echo mt_rand(1,1000)")

[comment]if statment[/comment]

{%if $name%}
 {$name}
  {%print_r($_SERVER)%}
{%endif%}

~ob
[comment]
testing new role function it will replace word (~ob) with predified callback
[/comment]

@endsection