File: package.xml

package info (click to toggle)
php-html-template-it 1%3A1.2.1-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 204 kB
  • ctags: 291
  • sloc: php: 1,055; xml: 195; makefile: 50
file content (197 lines) | stat: -rw-r--r-- 10,607 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
<package version="1.0" packagerversion="1.4.9">
 <name>HTML_Template_IT</name>
 <summary>Integrated Templates</summary>
 <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&apos;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.
 </description>
 <maintainers>
  <maintainer>
   <user>uw</user>
   <name>Ulf Wendel</name>
   <email>ulf.wendel@phpdoc.de</email>
   <role>developer</role>
  </maintainer>
  <maintainer>
   <user>pajoye</user>
   <name>Pierre-Alain Joye</name>
   <email>pajoye@php.net</email>
   <role>lead</role>
  </maintainer>
  <maintainer>
   <user>dsp</user>
   <name>David Soria Parra</name>
   <email>dsp@php.net</email>
   <role>lead</role>
  </maintainer>
  </maintainers>
 <release>
  <version>1.2.1</version>
  <date>2006-08-25</date>
  <license>Modified BSD license</license>
  <state>stable</state>
  <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
  </notes>
  <provides type="class" name="HTML_Template_IT" />
  <provides type="function" name="HTML_Template_IT::setOption" />
  <provides type="function" name="HTML_Template_IT::setOptions" />
  <provides type="function" name="HTML_Template_IT::show" />
  <provides type="function" name="HTML_Template_IT::get" />
  <provides type="function" name="HTML_Template_IT::parse" />
  <provides type="function" name="HTML_Template_IT::parseCurrentBlock" />
  <provides type="function" name="HTML_Template_IT::setVariable" />
  <provides type="function" name="HTML_Template_IT::setCurrentBlock" />
  <provides type="function" name="HTML_Template_IT::touchBlock" />
  <provides type="function" name="HTML_Template_IT::init" />
  <provides type="function" name="HTML_Template_IT::free" />
  <provides type="function" name="HTML_Template_IT::setTemplate" />
  <provides type="function" name="HTML_Template_IT::loadTemplatefile" />
  <provides type="function" name="HTML_Template_IT::setRoot" />
  <provides type="function" name="HTML_Template_IT::buildBlockvariablelist" />
  <provides type="function" name="HTML_Template_IT::getGlobalvariables" />
  <provides type="function" name="HTML_Template_IT::findBlocks" />
  <provides type="function" name="HTML_Template_IT::getFile" />
  <provides type="function" name="HTML_Template_IT::errorMessage" />
  <provides type="class" name="HTML_Template_ITX" extends="HTML_Template_IT" />
  <provides type="function" name="HTML_Template_ITX::init" />
  <provides type="function" name="HTML_Template_ITX::replaceBlock" />
  <provides type="function" name="HTML_Template_ITX::replaceBlockfile" />
  <provides type="function" name="HTML_Template_ITX::addBlock" />
  <provides type="function" name="HTML_Template_ITX::addBlockfile" />
  <provides type="function" name="HTML_Template_ITX::placeholderExists" />
  <provides type="function" name="HTML_Template_ITX::performCallback" />
  <provides type="function" name="HTML_Template_ITX::getFunctioncalls" />
  <provides type="function" name="HTML_Template_ITX::setFunctioncontent" />
  <provides type="function" name="HTML_Template_ITX::setCallbackFunction" />
  <provides type="function" name="HTML_Template_ITX::setCallbackFuntiontable" />
  <provides type="function" name="HTML_Template_ITX::removeBlockData" />
  <provides type="function" name="HTML_Template_ITX::getBlocklist" />
  <provides type="function" name="HTML_Template_ITX::blockExists" />
  <provides type="function" name="HTML_Template_ITX::getBlockvariables" />
  <provides type="function" name="HTML_Template_ITX::BlockvariableExists" />
  <provides type="function" name="HTML_Template_ITX::buildFunctionlist" />
  <provides type="function" name="HTML_Template_ITX::getValue" />
  <provides type="function" name="HTML_Template_ITX::deleteFromBlockvariablelist" />
  <provides type="function" name="HTML_Template_ITX::updateBlockvariablelist" />
  <provides type="function" name="HTML_Template_ITX::findPlaceholderBlocks" />
  <provides type="function" name="HTML_Template_ITX::warning" />
  <provides type="class" name="IT_Error" extends="PEAR_Error" />
  <filelist>
   <file role="php" baseinstalldir="HTML/Template" md5sum="9139533a4473fccf3d301adc0ccc644e" name="IT.php"/>
   <file role="php" baseinstalldir="HTML/Template" md5sum="3dd802be714a2366531c89933da23a04" name="ITX.php"/>
   <file role="php" baseinstalldir="HTML/Template" md5sum="347113315197afdc4ba98815a21f14ab" name="IT_Error.php"/>
   <file role="doc" baseinstalldir="HTML/Template" md5sum="f8790e48b597dff12a643e08e9be3fab" name="LICENSE"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="e50de49b74a1d96bb77ddae2d0abdfc3" name="tests/templates/addblock.html"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="22e56437378e53d08ba07d3dd2aa4b85" name="tests/templates/blockiteration.html"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="4173bf97eec43787532e247ef9b2611a" name="tests/templates/blocks.html"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="2611d6ec574a65716f1bc2ca95cb8c63" name="tests/templates/globals.html"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="310552db4653b34dbb0f993847572fc5" name="tests/templates/__include.html"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="db5b226eff0218c831749c07042529f2" name="tests/templates/include.html"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="d9a6425eebdfc6981465b4a228dbee51" name="tests/templates/loadtemplatefile.html"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="5c7e2e9c32306db4b6667d2b57f1c0ac" name="tests/templates/replaceblock.html"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="9bd9d964363904b5026972dff0d198da" name="tests/Console_TestListener.php"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="e624be47a36948a1e44d231260de808a" name="tests/IT_api_testcase.php"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="3836b3fc1dd5a2a4d09258be575736c9" name="tests/IT_usage_testcase.php"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="8def35e6dae4a5db15ec026bc616a3d3" name="tests/ITX_api_testcase.php"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="ec630d63df8163f75c4aa3b1e3051d2d" name="tests/ITX_usage_testcase.php"/>
   <file role="test" baseinstalldir="HTML/Template" md5sum="7a2c8eab843daf1cb9acebfd7fa5913d" name="tests/test.php"/>
   <file role="doc" baseinstalldir="HTML/Template" md5sum="ba285cf25750a900690f2388ee31a103" name="examples/sample_it.php"/>
   <file role="doc" baseinstalldir="HTML/Template" md5sum="4b2a932053e321a0cf9ced5295113f09" name="examples/sample_itx_addblockfile.php"/>
   <file role="doc" baseinstalldir="HTML/Template" md5sum="834e1e6d40b2f34906aa17f9969bd891" name="examples/templates/main.tpl.htm"/>
   <file role="doc" baseinstalldir="HTML/Template" md5sum="342278cc5fe8ca6c66591cd5ee389402" name="examples/templates/addblockfile_list.tpl.htm"/>
   <file role="doc" baseinstalldir="HTML/Template" md5sum="697f694a67db6b96d247a24bdfd44f9b" name="examples/templates/addblockfile_main.tpl.htm"/>
  </filelist>
 </release>
 <changelog>
   <release>
    <version>1.2.0</version>
    <date>2006-08-17</date>
    <state>beta</state>
    <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
    </notes>
   </release>
   <release>
    <version>1.1.5</version>
    <date>2006-06-13</date>
    <state>stable</state>
    <notes>- #7611, wrong array initialized, the same object cannot be
  used for multiple templates
    </notes>
   </release>
   <release>
    <version>1.1.4</version>
    <date>2006-04-12</date>
    <state>stable</state>
    <notes>- #6084, fread raises warning when used with empty files
- #7359, remove notices when a block is not yet defined
- fix a bug introduced with some cleanup commit, in some cases,
  callbacks did not work anymore
    </notes>
   </release>
   <release>
    <version>1.1.3</version>
    <date>2005-11-01</date>
    <state>stable</state>
    <notes>- Change to the new BSD License
  (see http://www.opensource.org/licenses/bsd-license.php)
    </notes>
   </release>
   <release>
    <version>1.1.2</version>
    <date>2005-10-28</date>
    <state>stable</state>
    <notes>- Comply better with the coding standards (dufuz@php.net)
- Fixed Bug #5774 ITX-&gt;buildFunctionlist, forced to use {} as delimiters
  instead of the user defined once  (dufuz@php.net)
- Fixed Bug #5642   Undefined variable: blockname (dufuz@php.net)
    </notes>
   </release>
   <release>
    <version>1.1.1</version>
    <date>2003-08-21</date>
    <state>stable</state>
    <notes>- fix #4590, case sensitive method name getFile fix
- fix #1453, haltOnWarning fix, wrong property name called
- fix #3952, return IT_OK on success in setOptions
    </notes>
   </release>
   <release>
    <version>1.1</version>
    <date>2003-03-11</date>
    <state>stable</state>
    <notes>*BETA* release.
    </notes>
   </release>
 </changelog>
</package>