1 <?xml version="1.0" encoding="UTF-8"?>
3 <template name="class" description="class template with constructor" context="php" enabled="true">class ${class_name} {
4 function ${class_name}() {
8 <template name="class" description="class with attribute" context="php" enabled="true">class ${class_name} {
10 function ${class_name}() {
14 function set_${attribute}( $$${attr} ) {
15 $$this->${attribute} = $$${attr};
18 function get_${attribute}() {
19 return $$this->${attribute};
22 <template name="for" description="iterate over array" context="php" enabled="true">for ($$${index} = 0; $$${index} < sizeof($$${array}); $$${index}++) {
25 <template name="for" description="iterate over array w/ temporary variable" context="php" enabled="true">for ($$${index} = 0; $$${index} < sizeof($$${array}); $$${index}++) {
26 $$${array_element} = $$${array}[$$${index}];
29 <template name="function" description="function template" context="php" enabled="true">function ${function_name} () {
32 <template name="function" description="function template with return" context="php" enabled="true">function ${function_name} () {
35 <template name="while" description="while iteration" context="php" enabled="true">while (${condition}) {
38 <template name="switch" description="switch case statement" context="php" enabled="true">switch (${key}) {
45 }</template><template name="if" description="if statement" context="php" enabled="true">if (${condition}) {
47 }</template><template name="ifelse" description="if else statement" context="php" enabled="true">if (${condition}) {
51 }</template><template name="elseif" description="else if block" context="php" enabled="true">elseif (${condition}) {
53 }</template><template name="else" description="else block" context="php" enabled="true">else {
56 <template name="filecomment" description="file comment used by the class and interface wizards" context="php" enabled="true">/**
57 * Created on ${date} by ${user}
59 */</template><template name="functioncomment" description="function comment" context="php" enabled="true">/**
63 <template name="echo" description="echo a string" context="php" enabled="true">echo "${string}";
68 <template description="<code></code>" name="<code>" context="phpdoc"
69 ><code>${cursor}</code></template>
71 <template description="<code>null</code>" name="<code>" context="phpdoc"
72 ><code>null</code></template>
74 <template description="<pre></pre>" name="<pre>" context="phpdoc"
75 ><pre>${cursor}</pre></template>
77 <template description="<b></b>" name="<b>" context="phpdoc"
78 ><b>${cursor}</b></template>
80 <template description="<i></i>" name="<i>" context="phpdoc"
81 ><i>${cursor}</i></template>
83 <template description="author name" name="@author" context="phpdoc"
84 >@author ${user}</template>
86 <template name="<html" description="html page with head,title,body" context="html" enabled="true">
89 <meta http-equiv="Content-Language" content="en" />
90 <meta name="GENERATOR" content="PHPEclipse 1.0" />
91 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
92 <title>${title}</title>
94 <body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99">
99 <template name="<title" description="title" context="html" enabled="true">
100 <title>${cursor}</title>
103 <template name="<table" description="3x3 table" context="html" enabled="true">
106 <td>${t00}</td><td>${t01}</td><td>${t02}</td>
109 <td>${t10}</td><td>${t11}</td><td>${t12}</td>
112 <td>${t20}</td><td>${t21}</td><td>${t22}</td>
117 <template name="<table" description="3x3 table with header" context="html" enabled="true">
120 <th>${header0}</th><th>${header1}</th><th>${header2}</th>
123 <td>${t00}</td><td>${t01}</td><td>${t02}</td>
126 <td>${t10}</td><td>${t11}</td><td>${t12}</td>
129 <td>${t20}</td><td>${t21}</td><td>${t22}</td>
135 <template name="<a" description="hyperlink (href)" context="html" enabled="true">
136 <a href="${link}">${description}</a> ${cursor}
138 <template name="<a" description="hyperlink image" context="html" enabled="true">
139 <a href="${link}"><img src="${image}"></a> ${cursor}
141 <template name="<a" description="hyperlink fragment identifier (name)" context="html" enabled="true">
142 <a name="${anchor}">${description}</a> ${cursor}
144 <template name="<p" description="paragraph" context="html" enabled="true">
145 <p>${cursor}</p>
147 <template name="<h1" description="heading 1" context="html" enabled="true">
148 <h1>${cursor}</h1>
150 <template name="<h2" description="heading 2" context="html" enabled="true">
151 <h2>${cursor}</h2>
153 <template name="<h3" description="heading 3" context="html" enabled="true">
154 <h3>${cursor}</h3>
156 <template name="<h4" description="heading 4" context="html" enabled="true">
157 <h4>${cursor}</h4>
159 <template name="<h5" description="heading 5" context="html" enabled="true">
160 <h5>${cursor}</h5>
162 <template name="<h6" description="heading 6" context="html" enabled="true">
163 <h6>${cursor}</h6>
165 <template name="<address" description="address" context="html" enabled="true">
166 <address>${cursor}</address>
168 <template name="<pre" description="preformat" context="html" enabled="true">
169 <pre>${cursor}</pre>
171 <template name="<code" description="code block" context="html" enabled="true">
172 <code>${cursor}</code>
174 <template name="<blockquote" description="blockquote" context="html" enabled="true">
175 <blockquote>${cursor}<br/>
178 <template name="<hr" description="horizontal line" context="html" enabled="true">
179 <hr width="100%" size="2">
182 <template name="<ul" description="bulleted list" context="html" enabled="true">
184 <li>${item1}<br/>
186 <li>${item2}<br/>
190 <template name="<ol" description="numbered list" context="html" enabled="true">
192 <li>${item1}<br/>
194 <li>${item2}<br/>
198 <template name="<dl" description="term list" context="html" enabled="true">
200 <dt>${item1}<br/>
202 <dt>${item2}<br/>
206 <template name="<dl" description="definition list" context="html" enabled="true">
208 <dd>${item1}<br/>
210 <dd>${item2}<br/>
214 <template name="<form" description="form get" context="html" enabled="true">
215 <form action="${link}" method="${get}">
219 <template name="<form" description="form post" context="html" enabled="true">
220 <form action="${link}" method="${post}" enctype="text/plain">
224 <template name="<form" description="form upload file" context="html" enabled="true">
225 <form action="${link}" method="${post}" enctype="multipart/form-data">
226 <p>${text}</p>
227 <input type="file" name="${name}" size="50" maxlength="100000" accept="text/*"/><br/>
228 <input type="submit" value="${value}"/>
232 <template name="<input" description="input type=text (form)" context="html" enabled="true">
233 <input type="text" name="${name}" value="${value}" size="40" maxlength="40"/>
236 <template name="<input" description="input type=password (form)" context="html" enabled="true">
237 <input type="password" name="${name}" size="40" maxlength="40"/>
240 <template name="<input" description="input type=radio (form)" context="html" enabled="true">
241 <input type="radio" name="${name}" value="${value}"/>
244 <template name="<input" description="input type=checkbox (form)" context="html" enabled="true">
245 <input type="checkbox" name="${name}" value="${value}"/>
248 <template name="<input" description="input type=button (form button)" context="html" enabled="true">
249 <input type="button" name="${name}" value="${value}"/>
252 <template name="<input" description="input type=submit (form button)" context="html" enabled="true">
253 <input type="submit" name="${name}" value="${value}"/>
256 <template name="<input" description="input type=reset (form button)" context="html" enabled="true">
257 <input type="reset" name="${name}" value="${value}"/>
260 <template name="<textarea" description="textarea (form)" context="html" enabled="true">
261 <textarea name="${name}" rows="10" cols="50" wrap="off">
266 <template name="<select" description="select option (form)" context="html" enabled="true">
267 <select name="${name}" size="3">
268 <option value="${value1}">${option1}</option>
269 <option value="${value2}">${option2}</option>
270 <option value="${value3}">${option3}</option>
273 <template name="<xml" description="xml version=1.0" context="html" enabled="true">
274 <?xml version="1.0"?>
277 <template name="<xml" description="xml-stylesheet type=text/xsl" context="html" enabled="true">
278 <?xml-stylesheet type="text/xsl" href="${url}">
281 <template name="<script" description="JavaScript inline" context="html" enabled="true"><script language="JavaScript" type="text/javascript">
285 <template name="<script" description="JavaScript file" context="html" enabled="true"><script language="JavaScript" type="text/javascript" src="${jsfile}.js"></script>${cursor}
287 <template name="<style" description="style text/css" context="html" enabled="true"></style type="text/css">
293 <template name="&quot" description="quot" context="html" enabled="true">&quot;</template>
294 <template name="&amp" description="ampersand" context="html" enabled="true">&amp;</template>
295 <template name="&lt" description="less than" context="html" enabled="true">&lt;</template>
296 <template name="&gt" description="greater than" context="html" enabled="true">&gt;</template>
298 <template name="&nbsp" description="no-break space" context="html" enabled="true">&nbsp;</template>
299 <template name="&iexcl" description="iexcl" context="html" enabled="true">&iexcl;</template>
300 <template name="&cent" description="cent" context="html" enabled="true">&cent;</template>
301 <template name="&pound" description="pound" context="html" enabled="true">&pound;</template>
302 <template name="&curren" description="curren" context="html" enabled="true">&curren;</template>
303 <template name="&yen" description="yen" context="html" enabled="true">&yen;</template>
304 <template name="&brvbar" description="brvbar" context="html" enabled="true">&brvbar;</template>
305 <template name="&brkbar" description="brkbar" context="html" enabled="true">&brkbar;</template>
306 <template name="&sect" description="sect" context="html" enabled="true">&sect;</template>
307 <template name="&uml" description="uml" context="html" enabled="true">&uml;</template>
308 <template name="&die" description="die" context="html" enabled="true">&die;</template>
309 <template name="&copy" description="copy" context="html" enabled="true">&copy;</template>
310 <template name="&ordf" description="ordf" context="html" enabled="true">&ordf;</template>
311 <template name="&laquo" description="laquo" context="html" enabled="true">&laquo;</template>
312 <template name="&not" description="not" context="html" enabled="true">&not;</template>
313 <template name="&shy" description="shy" context="html" enabled="true">&shy;</template>
314 <template name="&reg" description="reg" context="html" enabled="true">&reg;</template>
315 <template name="&macr" description="macr" context="html" enabled="true">&macr;</template>
316 <template name="&hibar" description="hibar" context="html" enabled="true">&hibar;</template>
317 <template name="&deg" description="deg" context="html" enabled="true">&deg;</template>
318 <template name="&plusmn" description="plusmn" context="html" enabled="true">&plusmn;</template>
319 <template name="&sup2" description="sup2" context="html" enabled="true">&sup2;</template>
320 <template name="&sup3" description="sup3" context="html" enabled="true">&sup3;</template>
321 <template name="&acute" description="acute" context="html" enabled="true">&acute;</template>
322 <template name="&micro" description="micro" context="html" enabled="true">&micro;</template>
323 <template name="&para" description="para" context="html" enabled="true">&para;</template>
324 <template name="&middot" description="middot" context="html" enabled="true">&middot;</template>
325 <template name="&cedil" description="cedil" context="html" enabled="true">&cedil;</template>
326 <template name="&sup1" description="sup1" context="html" enabled="true">&sup1;</template>
327 <template name="&ordm" description="ordm" context="html" enabled="true">&ordm;</template>
328 <template name="&raquo" description="raquo" context="html" enabled="true">&raquo;</template>
329 <template name="&frac14" description="frac14" context="html" enabled="true">&frac14;</template>
330 <template name="&frac12" description="frac12" context="html" enabled="true">&frac12;</template>
331 <template name="&frac34" description="frac34" context="html" enabled="true">&frac34;</template>
332 <template name="&iquest" description="iquest" context="html" enabled="true">&iquest;</template>
333 <template name="&Agrave" description="Agrave" context="html" enabled="true">&Agrave;</template>
334 <template name="&Aacute" description="Aacute" context="html" enabled="true">&Aacute;</template>
335 <template name="&Acirc" description="Acirc" context="html" enabled="true">&Acirc;</template>
336 <template name="&Atilde" description="Atilde" context="html" enabled="true">&Atilde;</template>
337 <template name="&Auml" description="Auml" context="html" enabled="true">&Auml;</template>
338 <template name="&Aring" description="Aring" context="html" enabled="true">&Aring;</template>
339 <template name="&AElig" description="AElig" context="html" enabled="true">&AElig;</template>
340 <template name="&Ccedil" description="Ccedil" context="html" enabled="true">&Ccedil;</template>
341 <template name="&Egrave" description="Egrave" context="html" enabled="true">&Egrave;</template>
342 <template name="&Eacute" description="Eacute" context="html" enabled="true">&Eacute;</template>
343 <template name="&Ecirc" description="Ecirc" context="html" enabled="true">&Ecirc;</template>
344 <template name="&Euml" description="Euml" context="html" enabled="true">&Euml;</template>
345 <template name="&lgrave" description="lgrave" context="html" enabled="true">&lgrave;</template>
346 <template name="&lacute" description="lacute" context="html" enabled="true">&lacute;</template>
347 <template name="&lcirc" description="lcirc" context="html" enabled="true">&lcirc;</template>
348 <template name="&luml" description="luml" context="html" enabled="true">&luml;</template>
349 <template name="&ETH" description="ETH" context="html" enabled="true">&ETH;</template>
350 <template name="&Ntilde" description="Ntilde" context="html" enabled="true">&Ntilde;</template>
351 <template name="&Ograve" description="Ograve" context="html" enabled="true">&Ograve;</template>
352 <template name="&Oacute" description="Oacute" context="html" enabled="true">&Oacute;</template>
353 <template name="&Ocirc" description="Ocirc" context="html" enabled="true">&Ocirc;</template>
354 <template name="&Otilde" description="Otilde" context="html" enabled="true">&Otilde;</template>
355 <template name="&Ouml" description="Ouml" context="html" enabled="true">&Ouml;</template>
356 <template name="&times" description="times" context="html" enabled="true">&times;</template>
357 <template name="&Oslash" description="Oslash" context="html" enabled="true">&Oslash;</template>
358 <template name="&Ugrave" description="Ugrave" context="html" enabled="true">&Ugrave;</template>
359 <template name="&Uacute" description="Uacute" context="html" enabled="true">&Uacute;</template>
360 <template name="&Ucirc" description="Ucirc" context="html" enabled="true">&Ucirc;</template>
361 <template name="&Uuml" description="Uuml" context="html" enabled="true">&Uuml;</template>
362 <template name="&Yacute" description="Yacute" context="html" enabled="true">&Yacute;</template>
363 <template name="&THORN" description="THORN" context="html" enabled="true">&THORN;</template>
364 <template name="&szlig" description="szlig" context="html" enabled="true">&szlig;</template>
365 <template name="&agrave" description="agrave" context="html" enabled="true">&agrave;</template>
366 <template name="&aacute" description="aacute" context="html" enabled="true">&aacute;</template>
367 <template name="&acirc" description="acirc" context="html" enabled="true">&acirc;</template>
368 <template name="&atilde" description="atilde" context="html" enabled="true">&atilde;</template>
369 <template name="&auml" description="auml" context="html" enabled="true">&auml;</template>
370 <template name="&aring" description="aring" context="html" enabled="true">&aring;</template>
371 <template name="&aelig" description="aelig" context="html" enabled="true">&aelig;</template>
372 <template name="&ccedil" description="ccedil" context="html" enabled="true">&ccedil;</template>
373 <template name="&egrave" description="egrave" context="html" enabled="true">&egrave;</template>
374 <template name="&eacute" description="eacute" context="html" enabled="true">&eacute;</template>
375 <template name="&ecirc" description="ecirc" context="html" enabled="true">&ecirc;</template>
376 <template name="&euml" description="euml" context="html" enabled="true">&euml;</template>
377 <template name="&igrave" description="igrave" context="html" enabled="true">&igrave;</template>
378 <template name="&iacute" description="iacute" context="html" enabled="true">&iacute;</template>
379 <template name="&icirc" description="icirc" context="html" enabled="true">&icirc;</template>
380 <template name="&iuml" description="iuml" context="html" enabled="true">&iuml;</template>
381 <template name="&eth" description="eth" context="html" enabled="true">&eth;</template>
382 <template name="&ntilde" description="ntilde" context="html" enabled="true">&ntilde;</template>
383 <template name="&ograve" description="ograve" context="html" enabled="true">&ograve;</template>
384 <template name="&oacute" description="oacute" context="html" enabled="true">&oacute;</template>
385 <template name="&ocirc" description="ocirc" context="html" enabled="true">&ocirc;</template>
386 <template name="&otilde" description="otilde" context="html" enabled="true">&otilde;</template>
387 <template name="&ouml" description="ouml" context="html" enabled="true">&ouml;</template>
388 <template name="&divide" description="divide" context="html" enabled="true">&divide;</template>
389 <template name="&oslash" description="oslash" context="html" enabled="true">&oslash;</template>
390 <template name="&ugrave" description="ugrave" context="html" enabled="true">&ugrave;</template>
391 <template name="&uacute" description="uacute" context="html" enabled="true">&uacute;</template>
392 <template name="&ucirc" description="ucirc" context="html" enabled="true">&ucirc;</template>
393 <template name="&uuml" description="uuml" context="html" enabled="true">&uuml;</template>
394 <template name="&yacute" description="yacute" context="html" enabled="true">&yacute;</template>
395 <template name="&thorn" description="thorn" context="html" enabled="true">&thorn;</template>
396 <template name="&yuml" description="yuml" context="html" enabled="true">&yuml;</template>
398 <template name="#00FFFF" description="Aqua (Color Code)" context="html" enabled="true">#00FFFF</template>
399 <template name="#000000" description="Black (Color Code)" context="html" enabled="true">#000000</template>
400 <template name="#0000FF" description="Blue (Color Code)" context="html" enabled="true">#0000FF</template>
401 <template name="#A52A2A" description="Brown (Color Code)" context="html" enabled="true">#A52A2A</template>
402 <template name="#00FFFF" description="Cyan (Color Code)" context="html" enabled="true">#00FFFF</template>
403 <template name="#FF00FF" description="Fuchsia (Color Code)" context="html" enabled="true">#FF00FF</template>
404 <template name="#FFD700" description="Gold (Color Code)" context="html" enabled="true">#FFD700</template>
405 <template name="#808080" description="Gray (Color Code)" context="html" enabled="true">#808080</template>
406 <template name="#008000" description="Green (Color Code)" context="html" enabled="true">#008000</template>
407 <template name="#00FF00" description="Lime (Color Code)" context="html" enabled="true">#00FF00</template>
408 <template name="#FF00FF" description="Magenta (Color Code)" context="html" enabled="true">#FF00FF</template>
409 <template name="#800000" description="Maroon (Color Code)" context="html" enabled="true">#800000</template>
410 <template name="#000080" description="Navy (Color Code)" context="html" enabled="true">#000080</template>
411 <template name="#808000" description="Olive (Color Code)" context="html" enabled="true">#808000</template>
412 <template name="#FFA500" description="Orange (Color Code)" context="html" enabled="true">#FFA500</template>
413 <template name="#FFC0CB" description="Pink (Color Code)" context="html" enabled="true">#FFC0CB</template>
414 <template name="#800080" description="Purple (Color Code)" context="html" enabled="true">#800080</template>
415 <template name="#FF0000" description="Red (Color Code)" context="html" enabled="true">#FF0000</template>
416 <template name="#C0C0C0" description="Silver (Color Code)" context="html" enabled="true">#C0C0C0</template>
417 <template name="#008080" description="Teal (Color Code)" context="html" enabled="true">#008080</template>
418 <template name="#FFFFFF" description="White (Color Code)" context="html" enabled="true">#FFFFFF</template>
419 <template name="#FFFF00" description="Yellow (Color Code)" context="html" enabled="true">#FFFF00</template>
421 <template name="Aqua" description="Aqua (Color Code)" context="html" enabled="true">#00FFFF</template>
422 <template name="Black" description="Black (Color Code)" context="html" enabled="true">#000000</template>
423 <template name="Blue" description="Blue (Color Code)" context="html" enabled="true">#0000FF</template>
424 <template name="Brown" description="Brown (Color Code)" context="html" enabled="true">#A52A2A</template>
425 <template name="Cyan" description="Cyan (Color Code)" context="html" enabled="true">#00FFFF</template>
426 <template name="Fuchsia" description="Fuchsia (Color Code)" context="html" enabled="true">#FF00FF</template>
427 <template name="Gold" description="Gold (Color Code)" context="html" enabled="true">#FFD700</template>
428 <template name="Gray" description="Gray (Color Code)" context="html" enabled="true">#808080</template>
429 <template name="Green" description="Green (Color Code)" context="html" enabled="true">#008000</template>
430 <template name="Lime" description="Lime (Color Code)" context="html" enabled="true">#00FF00</template>
431 <template name="Magenta" description="Magenta (Color Code)" context="html" enabled="true">#FF00FF</template>
432 <template name="Maroon" description="Maroon (Color Code)" context="html" enabled="true">#800000</template>
433 <template name="Navy" description="Mavy (Color Code)" context="html" enabled="true">#000080</template>
434 <template name="Olive" description="Olive (Color Code)" context="html" enabled="true">#808000</template>
435 <template name="Orange" description="Orange (Color Code)" context="html" enabled="true">#FFA500</template>
436 <template name="Pink" description="Pink (Color Code)" context="html" enabled="true">#FFC0CB</template>
437 <template name="Purple" description="Purple (Color Code)" context="html" enabled="true">#800080</template>
438 <template name="Red" description="Red (Color Code)" context="html" enabled="true">#FF0000</template>
439 <template name="Silver" description="Silver (Color Code)" context="html" enabled="true">#C0C0C0</template>
440 <template name="Teal" description="Teal (Color Code)" context="html" enabled="true">#008080</template>
441 <template name="White" description="White (Color Code)" context="html" enabled="true">#FFFFFF</template>
442 <template name="Yelow" description="Yellow (Color Code)" context="html" enabled="true">#FFFF00</template>
444 <template name="{" description="{* *}(Smarty comment)" context="html" enabled="true">{* ${cursor} *}</template>
445 <template name="{capture" description="{capture }{/capture}(Smarty)" context="html" enabled="true">{capture name=${name}}
449 <template name="{include" description="{include file=""}(Smarty)" context="html" enabled="true">{include file="${filename}.tpl"}
452 <template name="{if" description="{if }{/if}(Smarty)" context="html" enabled="true">{if ${cursor}}
455 <template name="{if" description="{if }{else}{/if}(Smarty)" context="html" enabled="true">{if ${cursor}}
459 <template name="{section" description="{section }{/section}(Smarty)" context="html" enabled="true">{section name=${nameAttr} loop=${loopAttr}}
463 <template name="{assign" description="{assign var= value= }(Smarty)" context="html" enabled="true">{assign var="${name}" values="${value}"}${cursor}</template>
464 <template name="{cycle" description="{cycle values= }(Smarty)" context="html" enabled="true">{cycle values="${values}"}${cursor}</template>
465 <template name="{counter" description="{counter start= skip= print= }(Smarty)" context="html" enabled="true">{counter start=${startValue} skip=${skipValue} print=false}${cursor}</template>
466 <template name="{counter" description="{counter}(Smarty)" context="html" enabled="true">{counter}${cursor}</template>