|
|
|
Warning: This package management website is not protected with a password, this is a MAJOR security risk. Please read the README.
|
|
About HTML_Template_IT-1.2.1
|
|
Provides
|
Classes: HTML_Template_IT, HTML_Template_ITX, IT_Error
|
|
Package
|
HTML_Template_IT
|
|
Summary
|
Integrated Templates
|
|
Description
|
HTML_Template_IT:
Simple template API.
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 )
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.
|
|
Maintainers
|
Ulf Wendel <ulf.wendel@phpdoc.de> (developer)
Pierre-Alain Joye <pajoye@php.net> (lead)
David Soria Parra <dsp@php.net> (lead)
|
|
Version
|
1.2.1
|
|
Release Date
|
2006-08-25
|
|
Release License
|
Modified BSD license
|
|
Release State
|
stable
|
|
Release Notes
|
- Deprecate $callbackobject parameter in setCallbackFunction
- Introduce $expandCallbackParameters parameter to setCallbackFunction to support
callbacks that expect to get the parameters in a regular way, not as an array
- #7651, allow dots in placeholder and block names
- #7611, wrong array initialized, the same object cannot be
used for multiple templates
|
|
Package.xml Version
|
1.0
|
|
Packaged With PEAR Version
|
1.4.9
|
|
Previous Installed Version
|
- None -
|
|
Last Modified
|
2008-04-16
|
|
More
|
Package Documentation ./.. List Files
Extended Package Information
pear.php.net Developer Documentation
pear.php.net Package Manual
|
|
|