[ad_1]
To get this product on 50 p.c low cost contact me on this link
With PHP template class you possibly can fully separate your PHP code out of your HTML with out sacrificing efficiency or coping with dozens of extra information to take action.
Features:
- Easy to put in
- Lightweight single PHP file (12kb)
- PHP 5 OOP makes it simple to increase
- Caches compiled templates till they’re modified
- Combines css and javascript information into single information
- Compresses css and javascript information utilizing YUI Compressor
- Supports if, elseif, else, and embrace from inside template
- Supports looped knowledge inside template
Requirements
- Supports PHP 5.x or later.
- Ability to execute .jar information through PHP’s
exec()
perform is required for compressing css and javascript information.
Updates
11/04/11 v1.5
- Updated the code by which the cache file’s validity is checked.
10/21/11 v1.4
- Added one other optionally available parameter to the show() perform that lets you mix css and js information right into a single file. (Caches mixed file till any of the person information are modified).
// Will mix css and javascript information to 'mixed.css' and 'mixed.js'
$css = array('international.css', 'fashion.css');
$template->show('Page Title', 'template-file.html', $css, 'jquery.js', 'mixed');
- Added the choice to compress css and js information utilizing the YUI Compressor when the above parameter is used. (Falls again to uncompressed model if compression fails).
6/29/11 v1.3
- Added capability to go css and javascript information by means of the template class through the show() perform by both string or array.
$css = array('international.css', 'fashion.css');
$template->show('Page Title', 'template-file.html', $css, 'jquery.js');
<!-- EMBED CSS -->
<!-- EMBED JS -->
08/13/10 v1.2
- Cache folder is now created if it doesn’t exist
08/08/10 v1.1
-
Configuration settings can now be handed to class when referred to as:
$config = array('root' => 'template/', 'cache' => 'cache/');
$template = new template($config);
[ad_2]
To get this product on 50 p.c low cost contact me on this link