PHP Classes

File: cache/4e7a1bbe08787b7c42e2f75f78c90270_42478d2decfe2ca01cc717267fb57b5c.php

Recommend this page to a friend!
  Classes of bassam alessawi   lezaz   cache/4e7a1bbe08787b7c42e2f75f78c90270_42478d2decfe2ca01cc717267fb57b5c.php   Download  
File: cache/4e7a1bbe08787b7c42e2f75f78c90270_42478d2decfe2ca01cc717267fb57b5c.php
Role: Sample output
Content type: text/plain
Description: adding readme file!
Class: lezaz
Template engine that compiles tags into PHP code
Author: By
Last change:
Date: 8 years ago
Size: 929 bytes
 

Contents

Class file image Download
<?php global $lezaz;?>this is index.inc template , its default template !<br> you can found this template in http://fw.cms/template/sample/ its theme template , you can change it from conf.php file. <br> in plugin/test_plugin/index.php we add router <a href='/test/1/'>/@str/@num/</a> when you change str or number this str= <?php echo $lezaz->set( "str" ); ?> and number= <?php echo $lezaz->set( "num" ); ?><br> b you can add router to include other index.inc template , just use <code> $lezaz->main_template='doc.inc'; </code> <br> see our <a href='/documentation/'>documentation</a><br> <br> <?php $lezaz_bassam="no"; if ($lezaz->get( "m" )) { $lezaz_bassam="yes"; ?> you send <code> GET </code> var , m= <b><?php echo $lezaz->get( "m" ); ?></b> <?php echo $lezaz_bassam; ?> <?php }else{ ?> try add /?m=your_name in URL <?php echo $lezaz_bassam; ?> <?php } ?>