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}";
66 <template name="<html" description="html page with head,title,body" context="html" enabled="true">
69 <title>${title}</title>
71 <body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99">
76 <template name="<title" description="title" context="html" enabled="true">
77 <title>${cursor}</title>
80 <template name="<table" description="3x3 table" context="html" enabled="true">
83 <td>${t00}</td><td>${t01}</td><td>${t02}</td>
86 <td>${t10}</td><td>${t11}</td><td>${t12}</td>
89 <td>${t20}</td><td>${t21}</td><td>${t22}</td>
94 <template name="<table" description="3x3 table with header" context="html" enabled="true">
97 <th>${header0}</th><th>${header1}</th><th>${header2}</th>
100 <td>${t00}</td><td>${t01}</td><td>${t02}</td>
103 <td>${t10}</td><td>${t11}</td><td>${t12}</td>
106 <td>${t20}</td><td>${t21}</td><td>${t22}</td>
112 <template name="<a" description="hyperlink (href)" context="html" enabled="true">
113 <a href="${link}">${description}</a> ${cursor}
115 <template name="<a" description="hyperlink image" context="html" enabled="true">
116 <a href="${link}"><img src="${image}"></a> ${cursor}
118 <template name="<a" description="hyperlink fragment identifier (name)" context="html" enabled="true">
119 <a name="${anchor}">${description}</a> ${cursor}
121 <template name="<p" description="paragraph" context="html" enabled="true">
122 <p>${cursor}</p>
124 <template name="<h1" description="heading 1" context="html" enabled="true">
125 <h1>${cursor}</h1>
127 <template name="<h2" description="heading 2" context="html" enabled="true">
128 <h2>${cursor}</h2>
130 <template name="<h3" description="heading 3" context="html" enabled="true">
131 <h3>${cursor}</h3>
133 <template name="<h4" description="heading 4" context="html" enabled="true">
134 <h4>${cursor}</h4>
136 <template name="<h5" description="heading 5" context="html" enabled="true">
137 <h5>${cursor}</h5>
139 <template name="<h6" description="heading 6" context="html" enabled="true">
140 <h6>${cursor}</h6>
142 <template name="<address" description="address" context="html" enabled="true">
143 <address>${cursor}</address>
145 <template name="<pre" description="preformat" context="html" enabled="true">
146 <pre>${cursor}</pre>
148 <template name="<code" description="code block" context="html" enabled="true">
149 <code>${cursor}</code>
151 <template name="<blockquote" description="blockquote" context="html" enabled="true">
152 <blockquote>${cursor}<br/>
155 <template name="<hr" description="horizontal line" context="html" enabled="true">
156 <hr width="100%" size="2">
159 <template name="<ul" description="bulleted list" context="html" enabled="true">
161 <li>${item1}<br/>
163 <li>${item2}<br/>
167 <template name="<ol" description="numbered list" context="html" enabled="true">
169 <li>${item1}<br/>
171 <li>${item2}<br/>
175 <template name="<dl" description="term list" context="html" enabled="true">
177 <dt>${item1}<br/>
179 <dt>${item2}<br/>
183 <template name="<dl" description="definition list" context="html" enabled="true">
185 <dd>${item1}<br/>
187 <dd>${item2}<br/>
191 <template name="<form" description="form get" context="html" enabled="true">
192 <form action="${link}" method="${get}">
196 <template name="<form" description="form post" context="html" enabled="true">
197 <form action="${link}" method="${post}" enctype="text/plain">
201 <template name="<form" description="form upload file" context="html" enabled="true">
202 <form action="${link}" method="${post}" enctype="multipart/form-data">
203 <p>${text}</p>
204 <input type="file" name="${name}" size="50" maxlength="100000" accept="text/*"/><br/>
205 <input type="submit" value="${value}"/>
209 <template name="<input" description="input type=text (form)" context="html" enabled="true">
210 <input type="text" name="${name}" value="${value}" size="40" maxlength="40"/>
213 <template name="<input" description="input type=password (form)" context="html" enabled="true">
214 <input type="password" name="${name}" size="40" maxlength="40"/>
217 <template name="<input" description="input type=radio (form)" context="html" enabled="true">
218 <input type="radio" name="${name}" value="${value}"/>
221 <template name="<input" description="input type=checkbox (form)" context="html" enabled="true">
222 <input type="checkbox" name="${name}" value="${value}"/>
225 <template name="<input" description="input type=button (form button)" context="html" enabled="true">
226 <input type="button" name="${name}" value="${value}"/>
229 <template name="<input" description="input type=submit (form button)" context="html" enabled="true">
230 <input type="submit" name="${name}" value="${value}"/>
233 <template name="<input" description="input type=reset (form button)" context="html" enabled="true">
234 <input type="reset" name="${name}" value="${value}"/>
237 <template name="<textarea" description="textarea (form)" context="html" enabled="true">
238 <textarea name="${name}" rows="10" cols="50" wrap="off">
243 <template name="<select" description="select option (form)" context="html" enabled="true">
244 <select name="${name}" size="3">
245 <option value="${value1}">${option1}</option>
246 <option value="${value2}">${option2}</option>
247 <option value="${value3}">${option3}</option>
250 <template name="<xml" description="xml version=1.0" context="html" enabled="true">
251 <?xml version="1.0"?>
254 <template name="<xml" description="xml-stylesheet type=text/xsl" context="html" enabled="true">
255 <?xml-stylesheet type="text/xsl" href="${url}">
258 <template name="<script" description="JavaScript inline" context="html" enabled="true"><script language="JavaScript" type="text/javascript">
262 <template name="<script" description="JavaScript file" context="html" enabled="true"><script language="JavaScript" type="text/javascript" src="${jsfile}.js"></script>${cursor}
264 <template name="<style" description="style text/css" context="html" enabled="true"></style type="text/css">
270 <template name="&quot" description="quot" context="html" enabled="true">&quot;</template>
271 <template name="&amp" description="ampersand" context="html" enabled="true">&amp;</template>
272 <template name="&lt" description="less than" context="html" enabled="true">&lt;</template>
273 <template name="&gt" description="greater than" context="html" enabled="true">&gt;</template>
275 <template name="&nbsp" description="no-break space" context="html" enabled="true">&nbsp;</template>
276 <template name="&iexcl" description="iexcl" context="html" enabled="true">&iexcl;</template>
277 <template name="&cent" description="cent" context="html" enabled="true">&cent;</template>
278 <template name="&pound" description="pound" context="html" enabled="true">&pound;</template>
279 <template name="&curren" description="curren" context="html" enabled="true">&curren;</template>
280 <template name="&yen" description="yen" context="html" enabled="true">&yen;</template>
281 <template name="&brvbar" description="brvbar" context="html" enabled="true">&brvbar;</template>
282 <template name="&brkbar" description="brkbar" context="html" enabled="true">&brkbar;</template>
283 <template name="&sect" description="sect" context="html" enabled="true">&sect;</template>
284 <template name="&uml" description="uml" context="html" enabled="true">&uml;</template>
285 <template name="&die" description="die" context="html" enabled="true">&die;</template>
286 <template name="&copy" description="copy" context="html" enabled="true">&copy;</template>
287 <template name="&ordf" description="ordf" context="html" enabled="true">&ordf;</template>
288 <template name="&laquo" description="laquo" context="html" enabled="true">&laquo;</template>
289 <template name="&not" description="not" context="html" enabled="true">&not;</template>
290 <template name="&shy" description="shy" context="html" enabled="true">&shy;</template>
291 <template name="&reg" description="reg" context="html" enabled="true">&reg;</template>
292 <template name="&macr" description="macr" context="html" enabled="true">&macr;</template>
293 <template name="&hibar" description="hibar" context="html" enabled="true">&hibar;</template>
294 <template name="&deg" description="deg" context="html" enabled="true">&deg;</template>
295 <template name="&plusmn" description="plusmn" context="html" enabled="true">&plusmn;</template>
296 <template name="&sup2" description="sup2" context="html" enabled="true">&sup2;</template>
297 <template name="&sup3" description="sup3" context="html" enabled="true">&sup3;</template>
298 <template name="&acute" description="acute" context="html" enabled="true">&acute;</template>
299 <template name="&micro" description="micro" context="html" enabled="true">&micro;</template>
300 <template name="&para" description="para" context="html" enabled="true">&para;</template>
301 <template name="&middot" description="middot" context="html" enabled="true">&middot;</template>
302 <template name="&cedil" description="cedil" context="html" enabled="true">&cedil;</template>
303 <template name="&sup1" description="sup1" context="html" enabled="true">&sup1;</template>
304 <template name="&ordm" description="ordm" context="html" enabled="true">&ordm;</template>
305 <template name="&raquo" description="raquo" context="html" enabled="true">&raquo;</template>
306 <template name="&frac14" description="frac14" context="html" enabled="true">&frac14;</template>
307 <template name="&frac12" description="frac12" context="html" enabled="true">&frac12;</template>
308 <template name="&frac34" description="frac34" context="html" enabled="true">&frac34;</template>
309 <template name="&iquest" description="iquest" context="html" enabled="true">&iquest;</template>
310 <template name="&Agrave" description="Agrave" context="html" enabled="true">&Agrave;</template>
311 <template name="&Aacute" description="Aacute" context="html" enabled="true">&Aacute;</template>
312 <template name="&Acirc" description="Acirc" context="html" enabled="true">&Acirc;</template>
313 <template name="&Atilde" description="Atilde" context="html" enabled="true">&Atilde;</template>
314 <template name="&Auml" description="Auml" context="html" enabled="true">&Auml;</template>
315 <template name="&Aring" description="Aring" context="html" enabled="true">&Aring;</template>
316 <template name="&AElig" description="AElig" context="html" enabled="true">&AElig;</template>
317 <template name="&Ccedil" description="Ccedil" context="html" enabled="true">&Ccedil;</template>
318 <template name="&Egrave" description="Egrave" context="html" enabled="true">&Egrave;</template>
319 <template name="&Eacute" description="Eacute" context="html" enabled="true">&Eacute;</template>
320 <template name="&Ecirc" description="Ecirc" context="html" enabled="true">&Ecirc;</template>
321 <template name="&Euml" description="Euml" context="html" enabled="true">&Euml;</template>
322 <template name="&lgrave" description="lgrave" context="html" enabled="true">&lgrave;</template>
323 <template name="&lacute" description="lacute" context="html" enabled="true">&lacute;</template>
324 <template name="&lcirc" description="lcirc" context="html" enabled="true">&lcirc;</template>
325 <template name="&luml" description="luml" context="html" enabled="true">&luml;</template>
326 <template name="&ETH" description="ETH" context="html" enabled="true">&ETH;</template>
327 <template name="&Ntilde" description="Ntilde" context="html" enabled="true">&Ntilde;</template>
328 <template name="&Ograve" description="Ograve" context="html" enabled="true">&Ograve;</template>
329 <template name="&Oacute" description="Oacute" context="html" enabled="true">&Oacute;</template>
330 <template name="&Ocirc" description="Ocirc" context="html" enabled="true">&Ocirc;</template>
331 <template name="&Otilde" description="Otilde" context="html" enabled="true">&Otilde;</template>
332 <template name="&Ouml" description="Ouml" context="html" enabled="true">&Ouml;</template>
333 <template name="&times" description="times" context="html" enabled="true">&times;</template>
334 <template name="&Oslash" description="Oslash" context="html" enabled="true">&Oslash;</template>
335 <template name="&Ugrave" description="Ugrave" context="html" enabled="true">&Ugrave;</template>
336 <template name="&Uacute" description="Uacute" context="html" enabled="true">&Uacute;</template>
337 <template name="&Ucirc" description="Ucirc" context="html" enabled="true">&Ucirc;</template>
338 <template name="&Uuml" description="Uuml" context="html" enabled="true">&Uuml;</template>
339 <template name="&Yacute" description="Yacute" context="html" enabled="true">&Yacute;</template>
340 <template name="&THORN" description="THORN" context="html" enabled="true">&THORN;</template>
341 <template name="&szlig" description="szlig" context="html" enabled="true">&szlig;</template>
342 <template name="&agrave" description="agrave" context="html" enabled="true">&agrave;</template>
343 <template name="&aacute" description="aacute" context="html" enabled="true">&aacute;</template>
344 <template name="&acirc" description="acirc" context="html" enabled="true">&acirc;</template>
345 <template name="&atilde" description="atilde" context="html" enabled="true">&atilde;</template>
346 <template name="&auml" description="auml" context="html" enabled="true">&auml;</template>
347 <template name="&aring" description="aring" context="html" enabled="true">&aring;</template>
348 <template name="&aelig" description="aelig" context="html" enabled="true">&aelig;</template>
349 <template name="&ccedil" description="ccedil" context="html" enabled="true">&ccedil;</template>
350 <template name="&egrave" description="egrave" context="html" enabled="true">&egrave;</template>
351 <template name="&eacute" description="eacute" context="html" enabled="true">&eacute;</template>
352 <template name="&ecirc" description="ecirc" context="html" enabled="true">&ecirc;</template>
353 <template name="&euml" description="euml" context="html" enabled="true">&euml;</template>
354 <template name="&igrave" description="igrave" context="html" enabled="true">&igrave;</template>
355 <template name="&iacute" description="iacute" context="html" enabled="true">&iacute;</template>
356 <template name="&icirc" description="icirc" context="html" enabled="true">&icirc;</template>
357 <template name="&iuml" description="iuml" context="html" enabled="true">&iuml;</template>
358 <template name="&eth" description="eth" context="html" enabled="true">&eth;</template>
359 <template name="&ntilde" description="ntilde" context="html" enabled="true">&ntilde;</template>
360 <template name="&ograve" description="ograve" context="html" enabled="true">&ograve;</template>
361 <template name="&oacute" description="oacute" context="html" enabled="true">&oacute;</template>
362 <template name="&ocirc" description="ocirc" context="html" enabled="true">&ocirc;</template>
363 <template name="&otilde" description="otilde" context="html" enabled="true">&otilde;</template>
364 <template name="&ouml" description="ouml" context="html" enabled="true">&ouml;</template>
365 <template name="&divide" description="divide" context="html" enabled="true">&divide;</template>
366 <template name="&oslash" description="oslash" context="html" enabled="true">&oslash;</template>
367 <template name="&ugrave" description="ugrave" context="html" enabled="true">&ugrave;</template>
368 <template name="&uacute" description="uacute" context="html" enabled="true">&uacute;</template>
369 <template name="&ucirc" description="ucirc" context="html" enabled="true">&ucirc;</template>
370 <template name="&uuml" description="uuml" context="html" enabled="true">&uuml;</template>
371 <template name="&yacute" description="yacute" context="html" enabled="true">&yacute;</template>
372 <template name="&thorn" description="thorn" context="html" enabled="true">&thorn;</template>
373 <template name="&yuml" description="yuml" context="html" enabled="true">&yuml;</template>
377 <template name="#000000" description="Black (Color Code)" context="html" enabled="true">#000000</template>
378 <template name="#0000FF" description="Blue (Color Code)" context="html" enabled="true">#0000FF</template>
379 <template name="#A52A2A" description="Brown (Color Code)" context="html" enabled="true">#A52A2A</template>
380 <template name="#00FFFF" description="Cyan (Color Code)" context="html" enabled="true">#00FFFF</template>
381 <template name="#FFD700" description="Gold (Color Code)" context="html" enabled="true">#FFD700</template>
382 <template name="#808080" description="Grey (Color Code)" context="html" enabled="true">#808080</template>
383 <template name="#008000" description="Green (Color Code)" context="html" enabled="true">#008000</template>
384 <template name="#FF00FF" description="Magenta (Color Code)" context="html" enabled="true">#FF00FF</template>
385 <template name="#FFA500" description="Orange (Color Code)" context="html" enabled="true">#FFA500</template>
386 <template name="#FFC0CB" description="Pink (Color Code)" context="html" enabled="true">#FFC0CB</template>
387 <template name="#800080" description="Purple (Color Code)" context="html" enabled="true">#800080</template>
388 <template name="#FF0000" description="Red (Color Code)" context="html" enabled="true">#FF0000</template>
389 <template name="#C0C0C0" description="Silver (Color Code)" context="html" enabled="true">#C0C0C0</template>
390 <template name="#FFFFFF" description="White (Color Code)" context="html" enabled="true">#FFFFFF</template>
391 <template name="#FFFF00" description="Yellow (Color Code)" context="html" enabled="true">#FFFF00</template>
393 <template name="Black" description="Black (Color Code)" context="html" enabled="true">#000000</template>
394 <template name="Blue" description="Blue (Color Code)" context="html" enabled="true">#0000FF</template>
395 <template name="Brown" description="Brown (Color Code)" context="html" enabled="true">#A52A2A</template>
396 <template name="Cyan" description="Cyan (Color Code)" context="html" enabled="true">#00FFFF</template>
397 <template name="Gold" description="Gold (Color Code)" context="html" enabled="true">#FFD700</template>
398 <template name="Grey" description="Grey (Color Code)" context="html" enabled="true">#808080</template>
399 <template name="Green" description="Green (Color Code)" context="html" enabled="true">#008000</template>
400 <template name="Magenta" description="Magenta (Color Code)" context="html" enabled="true">#FF00FF</template>
401 <template name="Orange" description="Orange (Color Code)" context="html" enabled="true">#FFA500</template>
402 <template name="Pink" description="Pink (Color Code)" context="html" enabled="true">#FFC0CB</template>
403 <template name="Purple" description="Purple (Color Code)" context="html" enabled="true">#800080</template>
404 <template name="Red" description="Red (Color Code)" context="html" enabled="true">#FF0000</template>
405 <template name="Silver" description="Silver (Color Code)" context="html" enabled="true">#C0C0C0</template>
406 <template name="White" description="White (Color Code)" context="html" enabled="true">#FFFFFF</template>
407 <template name="Yelow" description="Yellow (Color Code)" context="html" enabled="true">#FFFF00</template>