PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of bassam alessawi  >  Sfhati PHP engine  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/plain
Description: Auxiliary data
Class: Sfhati PHP engine
Template engine that generates PHP compiled files
Author: By
Last change:
Date: 7 years ago
Size: 750 bytes
 

Contents

Class file image Download
# engein
template php engein
/**
 * 25 March 2015. version 1.0
 * 
 * Template engine for PHP,
 * 
 * License: http://creativecommons.org/licenses/LGPL/2.1/
 * 
 * ----------------------------------------------------------------------
 * 
$syntaxcode = new __SYNTAX();
$export_filename = $syntaxcode->openfile('template.inc');
echo $export_filename;

Template.inc code like this : 
 [var:"variable"end var] 
 
 output php file in cache folder contain this code 
 <?php echo $variable;?>
 * 
 * 
 * The __SYNTAX( ) method return output php code, as a string.
 * 
 * see http://sfhati.com/fw/syntax/ for more information.
 * 
 * Notes :
 * # need PHP 5+
 * @author Bassam al-essawi <bassam.a.a.r@gmail.com>
 * @package sfhati
 * @subpackage fw
 * 
 */
For more information send a message to info at phpclasses dot org.