Simple template api

Edit Package php5-pear-HTML_Template_IT
http://pear.php.net/package/HTML_Template_IT

The Isotemplate API is somewhat tricky for a beginner although it is the best
one you can build. template::parse() [phplib template = Isotemplate] requests
you to name a source and a target where the current block gets parsed into.
Source and target can be block names or even handler names. This API gives you
a maximum of fexibility but you always have to know what you do which is
quite unusual for php skripter like me.

I noticed that I do not any control on which block gets parsed into which one.
If all blocks are within one file, the script knows how they are nested and in
which way you have to parse them. IT knows that inner1 is a child of block2,
there`s no need to tell him about this.
Features :
* Nested blocks
* Include external file
* Custom tags format (default {mytag})

HTML_Template_ITX :
With this class you get the full power of the phplib template class.
You may have one file with blocks in it but you have as well one main file
and multiple files one for each block. This is quite usefull when you have
user configurable websites. Using blocks not in the main template allows
you to modify some parts of your layout easily.

Maintainer:
Ulf Wendel
Pierre-Alain Joye

Refresh
Refresh
Source Files
Filename Size Changed
HTML_Template_IT-1.2.1.tgz 0000021565 21.1 KB
php5-pear-HTML_Template_IT.spec 0000006665 6.51 KB
Latest Revision
Christian Wittmer's avatar Christian Wittmer (computersalat) committed (revision 1)
Comments 0
openSUSE Build Service is sponsored by