Class : Template
File : phplib2Smarty.inc
An extension of PHPLib template system that uses Smarty Templates compiling
features. Just a drop-in replacement class.
Copyright (C) 2003 SANIsoft
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Vinay Kumar (vinayRas) <vinay@sanisoft.com>
http://www.sanisoft.com/phplib2smarty/
What is it?
-----------
A drop-in replacement extension of Smarty class for PHPLib template class.
Even though the syntax is like those of PHPLib template but the compiling
technique of Smarty has been used. Several advantages of Smarty that
PHPLib lacked can now be utilised even more conviniently.
What do I need to use this?
----------------------------
- This requires that you have PHPlib installed and working.
- Smarty classes are also need.
How do I install?
-----------------
- Just copy this file into PHPLib's directory.
- Copy the Smarty classes into PHPLib directory.
- Include this files wherever Template.inc was included.
- Replace /path-to-Smarty-folder/ (in phplib2Smarty) with actual path of
Smarty's templates
How do I Use the Class?
-------------------------
Coding is done in the usual PHPLib's template method.
Bugs and suggestion to
------------------------
Vinay Kumar <vinay@sanisoft.com>
|