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 <title>${title}</title>
91 <body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99">
96 <template name="<title" description="title" context="html" enabled="true">
97 <title>${cursor}</title>
100 <template name="<table" description="3x3 table" context="html" enabled="true">
103 <td>${t00}</td><td>${t01}</td><td>${t02}</td>
106 <td>${t10}</td><td>${t11}</td><td>${t12}</td>
109 <td>${t20}</td><td>${t21}</td><td>${t22}</td>
114 <template name="<table" description="3x3 table with header" context="html" enabled="true">
117 <th>${header0}</th><th>${header1}</th><th>${header2}</th>
120 <td>${t00}</td><td>${t01}</td><td>${t02}</td>
123 <td>${t10}</td><td>${t11}</td><td>${t12}</td>
126 <td>${t20}</td><td>${t21}</td><td>${t22}</td>
132 <template name="<a" description="hyperlink (href)" context="html" enabled="true">
133 <a href="${link}">${description}</a> ${cursor}
135 <template name="<a" description="hyperlink image" context="html" enabled="true">
136 <a href="${link}"><img src="${image}"></a> ${cursor}
138 <template name="<a" description="hyperlink fragment identifier (name)" context="html" enabled="true">
139 <a name="${anchor}">${description}</a> ${cursor}
141 <template name="<p" description="paragraph" context="html" enabled="true">
142 <p>${cursor}</p>
144 <template name="<h1" description="heading 1" context="html" enabled="true">
145 <h1>${cursor}</h1>
147 <template name="<h2" description="heading 2" context="html" enabled="true">
148 <h2>${cursor}</h2>
150 <template name="<h3" description="heading 3" context="html" enabled="true">
151 <h3>${cursor}</h3>
153 <template name="<h4" description="heading 4" context="html" enabled="true">
154 <h4>${cursor}</h4>
156 <template name="<h5" description="heading 5" context="html" enabled="true">
157 <h5>${cursor}</h5>
159 <template name="<h6" description="heading 6" context="html" enabled="true">
160 <h6>${cursor}</h6>
162 <template name="<address" description="address" context="html" enabled="true">
163 <address>${cursor}</address>
165 <template name="<pre" description="preformat" context="html" enabled="true">
166 <pre>${cursor}</pre>
168 <template name="<code" description="code block" context="html" enabled="true">
169 <code>${cursor}</code>
171 <template name="<blockquote" description="blockquote" context="html" enabled="true">
172 <blockquote>${cursor}<br/>
175 <template name="<hr" description="horizontal line" context="html" enabled="true">
176 <hr width="100%" size="2">
179 <template name="<ul" description="bulleted list" context="html" enabled="true">
181 <li>${item1}<br/>
183 <li>${item2}<br/>
187 <template name="<ol" description="numbered list" context="html" enabled="true">
189 <li>${item1}<br/>
191 <li>${item2}<br/>
195 <template name="<dl" description="term list" context="html" enabled="true">
197 <dt>${item1}<br/>
199 <dt>${item2}<br/>
203 <template name="<dl" description="definition list" context="html" enabled="true">
205 <dd>${item1}<br/>
207 <dd>${item2}<br/>
211 <template name="<form" description="form get" context="html" enabled="true">
212 <form action="${link}" method="${get}">
216 <template name="<form" description="form post" context="html" enabled="true">
217 <form action="${link}" method="${post}" enctype="text/plain">
221 <template name="<form" description="form upload file" context="html" enabled="true">
222 <form action="${link}" method="${post}" enctype="multipart/form-data">
223 <p>${text}</p>
224 <input type="file" name="${name}" size="50" maxlength="100000" accept="text/*"/><br/>
225 <input type="submit" value="${value}"/>
229 <template name="<input" description="input type=text (form)" context="html" enabled="true">
230 <input type="text" name="${name}" value="${value}" size="40" maxlength="40"/>
233 <template name="<input" description="input type=password (form)" context="html" enabled="true">
234 <input type="password" name="${name}" size="40" maxlength="40"/>
237 <template name="<input" description="input type=radio (form)" context="html" enabled="true">
238 <input type="radio" name="${name}" value="${value}"/>
241 <template name="<input" description="input type=checkbox (form)" context="html" enabled="true">
242 <input type="checkbox" name="${name}" value="${value}"/>
245 <template name="<input" description="input type=button (form button)" context="html" enabled="true">
246 <input type="button" name="${name}" value="${value}"/>
249 <template name="<input" description="input type=submit (form button)" context="html" enabled="true">
250 <input type="submit" name="${name}" value="${value}"/>
253 <template name="<input" description="input type=reset (form button)" context="html" enabled="true">
254 <input type="reset" name="${name}" value="${value}"/>
257 <template name="<textarea" description="textarea (form)" context="html" enabled="true">
258 <textarea name="${name}" rows="10" cols="50" wrap="off">
263 <template name="<select" description="select option (form)" context="html" enabled="true">
264 <select name="${name}" size="3">
265 <option value="${value1}">${option1}</option>
266 <option value="${value2}">${option2}</option>
267 <option value="${value3}">${option3}</option>
270 <template name="<xml" description="xml version=1.0" context="html" enabled="true">
271 <?xml version="1.0"?>
274 <template name="<xml" description="xml-stylesheet type=text/xsl" context="html" enabled="true">
275 <?xml-stylesheet type="text/xsl" href="${url}">
278 <template name="<script" description="JavaScript inline" context="html" enabled="true"><script language="JavaScript" type="text/javascript">
282 <template name="<script" description="JavaScript file" context="html" enabled="true"><script language="JavaScript" type="text/javascript" src="${jsfile}.js"></script>${cursor}
284 <template name="<style" description="style text/css" context="html" enabled="true"></style type="text/css">
290 <template name="&quot" description="quot" context="html" enabled="true">&quot;</template>
291 <template name="&amp" description="ampersand" context="html" enabled="true">&amp;</template>
292 <template name="&lt" description="less than" context="html" enabled="true">&lt;</template>
293 <template name="&gt" description="greater than" context="html" enabled="true">&gt;</template>
295 <template name="&nbsp" description="no-break space" context="html" enabled="true">&nbsp;</template>
296 <template name="&iexcl" description="iexcl" context="html" enabled="true">&iexcl;</template>
297 <template name="&cent" description="cent" context="html" enabled="true">&cent;</template>
298 <template name="&pound" description="pound" context="html" enabled="true">&pound;</template>
299 <template name="&curren" description="curren" context="html" enabled="true">&curren;</template>
300 <template name="&yen" description="yen" context="html" enabled="true">&yen;</template>
301 <template name="&brvbar" description="brvbar" context="html" enabled="true">&brvbar;</template>
302 <template name="&brkbar" description="brkbar" context="html" enabled="true">&brkbar;</template>
303 <template name="&sect" description="sect" context="html" enabled="true">&sect;</template>
304 <template name="&uml" description="uml" context="html" enabled="true">&uml;</template>
305 <template name="&die" description="die" context="html" enabled="true">&die;</template>
306 <template name="&copy" description="copy" context="html" enabled="true">&copy;</template>
307 <template name="&ordf" description="ordf" context="html" enabled="true">&ordf;</template>
308 <template name="&laquo" description="laquo" context="html" enabled="true">&laquo;</template>
309 <template name="&not" description="not" context="html" enabled="true">&not;</template>
310 <template name="&shy" description="shy" context="html" enabled="true">&shy;</template>
311 <template name="&reg" description="reg" context="html" enabled="true">&reg;</template>
312 <template name="&macr" description="macr" context="html" enabled="true">&macr;</template>
313 <template name="&hibar" description="hibar" context="html" enabled="true">&hibar;</template>
314 <template name="&deg" description="deg" context="html" enabled="true">&deg;</template>
315 <template name="&plusmn" description="plusmn" context="html" enabled="true">&plusmn;</template>
316 <template name="&sup2" description="sup2" context="html" enabled="true">&sup2;</template>
317 <template name="&sup3" description="sup3" context="html" enabled="true">&sup3;</template>
318 <template name="&acute" description="acute" context="html" enabled="true">&acute;</template>
319 <template name="&micro" description="micro" context="html" enabled="true">&micro;</template>
320 <template name="&para" description="para" context="html" enabled="true">&para;</template>
321 <template name="&middot" description="middot" context="html" enabled="true">&middot;</template>
322 <template name="&cedil" description="cedil" context="html" enabled="true">&cedil;</template>
323 <template name="&sup1" description="sup1" context="html" enabled="true">&sup1;</template>
324 <template name="&ordm" description="ordm" context="html" enabled="true">&ordm;</template>
325 <template name="&raquo" description="raquo" context="html" enabled="true">&raquo;</template>
326 <template name="&frac14" description="frac14" context="html" enabled="true">&frac14;</template>
327 <template name="&frac12" description="frac12" context="html" enabled="true">&frac12;</template>
328 <template name="&frac34" description="frac34" context="html" enabled="true">&frac34;</template>
329 <template name="&iquest" description="iquest" context="html" enabled="true">&iquest;</template>
330 <template name="&Agrave" description="Agrave" context="html" enabled="true">&Agrave;</template>
331 <template name="&Aacute" description="Aacute" context="html" enabled="true">&Aacute;</template>
332 <template name="&Acirc" description="Acirc" context="html" enabled="true">&Acirc;</template>
333 <template name="&Atilde" description="Atilde" context="html" enabled="true">&Atilde;</template>
334 <template name="&Auml" description="Auml" context="html" enabled="true">&Auml;</template>
335 <template name="&Aring" description="Aring" context="html" enabled="true">&Aring;</template>
336 <template name="&AElig" description="AElig" context="html" enabled="true">&AElig;</template>
337 <template name="&Ccedil" description="Ccedil" context="html" enabled="true">&Ccedil;</template>
338 <template name="&Egrave" description="Egrave" context="html" enabled="true">&Egrave;</template>
339 <template name="&Eacute" description="Eacute" context="html" enabled="true">&Eacute;</template>
340 <template name="&Ecirc" description="Ecirc" context="html" enabled="true">&Ecirc;</template>
341 <template name="&Euml" description="Euml" context="html" enabled="true">&Euml;</template>
342 <template name="&lgrave" description="lgrave" context="html" enabled="true">&lgrave;</template>
343 <template name="&lacute" description="lacute" context="html" enabled="true">&lacute;</template>
344 <template name="&lcirc" description="lcirc" context="html" enabled="true">&lcirc;</template>
345 <template name="&luml" description="luml" context="html" enabled="true">&luml;</template>
346 <template name="&ETH" description="ETH" context="html" enabled="true">&ETH;</template>
347 <template name="&Ntilde" description="Ntilde" context="html" enabled="true">&Ntilde;</template>
348 <template name="&Ograve" description="Ograve" context="html" enabled="true">&Ograve;</template>
349 <template name="&Oacute" description="Oacute" context="html" enabled="true">&Oacute;</template>
350 <template name="&Ocirc" description="Ocirc" context="html" enabled="true">&Ocirc;</template>
351 <template name="&Otilde" description="Otilde" context="html" enabled="true">&Otilde;</template>
352 <template name="&Ouml" description="Ouml" context="html" enabled="true">&Ouml;</template>
353 <template name="&times" description="times" context="html" enabled="true">&times;</template>
354 <template name="&Oslash" description="Oslash" context="html" enabled="true">&Oslash;</template>
355 <template name="&Ugrave" description="Ugrave" context="html" enabled="true">&Ugrave;</template>
356 <template name="&Uacute" description="Uacute" context="html" enabled="true">&Uacute;</template>
357 <template name="&Ucirc" description="Ucirc" context="html" enabled="true">&Ucirc;</template>
358 <template name="&Uuml" description="Uuml" context="html" enabled="true">&Uuml;</template>
359 <template name="&Yacute" description="Yacute" context="html" enabled="true">&Yacute;</template>
360 <template name="&THORN" description="THORN" context="html" enabled="true">&THORN;</template>
361 <template name="&szlig" description="szlig" context="html" enabled="true">&szlig;</template>
362 <template name="&agrave" description="agrave" context="html" enabled="true">&agrave;</template>
363 <template name="&aacute" description="aacute" context="html" enabled="true">&aacute;</template>
364 <template name="&acirc" description="acirc" context="html" enabled="true">&acirc;</template>
365 <template name="&atilde" description="atilde" context="html" enabled="true">&atilde;</template>
366 <template name="&auml" description="auml" context="html" enabled="true">&auml;</template>
367 <template name="&aring" description="aring" context="html" enabled="true">&aring;</template>
368 <template name="&aelig" description="aelig" context="html" enabled="true">&aelig;</template>
369 <template name="&ccedil" description="ccedil" context="html" enabled="true">&ccedil;</template>
370 <template name="&egrave" description="egrave" context="html" enabled="true">&egrave;</template>
371 <template name="&eacute" description="eacute" context="html" enabled="true">&eacute;</template>
372 <template name="&ecirc" description="ecirc" context="html" enabled="true">&ecirc;</template>
373 <template name="&euml" description="euml" context="html" enabled="true">&euml;</template>
374 <template name="&igrave" description="igrave" context="html" enabled="true">&igrave;</template>
375 <template name="&iacute" description="iacute" context="html" enabled="true">&iacute;</template>
376 <template name="&icirc" description="icirc" context="html" enabled="true">&icirc;</template>
377 <template name="&iuml" description="iuml" context="html" enabled="true">&iuml;</template>
378 <template name="&eth" description="eth" context="html" enabled="true">&eth;</template>
379 <template name="&ntilde" description="ntilde" context="html" enabled="true">&ntilde;</template>
380 <template name="&ograve" description="ograve" context="html" enabled="true">&ograve;</template>
381 <template name="&oacute" description="oacute" context="html" enabled="true">&oacute;</template>
382 <template name="&ocirc" description="ocirc" context="html" enabled="true">&ocirc;</template>
383 <template name="&otilde" description="otilde" context="html" enabled="true">&otilde;</template>
384 <template name="&ouml" description="ouml" context="html" enabled="true">&ouml;</template>
385 <template name="&divide" description="divide" context="html" enabled="true">&divide;</template>
386 <template name="&oslash" description="oslash" context="html" enabled="true">&oslash;</template>
387 <template name="&ugrave" description="ugrave" context="html" enabled="true">&ugrave;</template>
388 <template name="&uacute" description="uacute" context="html" enabled="true">&uacute;</template>
389 <template name="&ucirc" description="ucirc" context="html" enabled="true">&ucirc;</template>
390 <template name="&uuml" description="uuml" context="html" enabled="true">&uuml;</template>
391 <template name="&yacute" description="yacute" context="html" enabled="true">&yacute;</template>
392 <template name="&thorn" description="thorn" context="html" enabled="true">&thorn;</template>
393 <template name="&yuml" description="yuml" context="html" enabled="true">&yuml;</template>
397 <template name="#000000" description="Black (Color Code)" context="html" enabled="true">#000000</template>
398 <template name="#0000FF" description="Blue (Color Code)" context="html" enabled="true">#0000FF</template>
399 <template name="#A52A2A" description="Brown (Color Code)" context="html" enabled="true">#A52A2A</template>
400 <template name="#00FFFF" description="Cyan (Color Code)" context="html" enabled="true">#00FFFF</template>
401 <template name="#FFD700" description="Gold (Color Code)" context="html" enabled="true">#FFD700</template>
402 <template name="#808080" description="Grey (Color Code)" context="html" enabled="true">#808080</template>
403 <template name="#008000" description="Green (Color Code)" context="html" enabled="true">#008000</template>
404 <template name="#FF00FF" description="Magenta (Color Code)" context="html" enabled="true">#FF00FF</template>
405 <template name="#FFA500" description="Orange (Color Code)" context="html" enabled="true">#FFA500</template>
406 <template name="#FFC0CB" description="Pink (Color Code)" context="html" enabled="true">#FFC0CB</template>
407 <template name="#800080" description="Purple (Color Code)" context="html" enabled="true">#800080</template>
408 <template name="#FF0000" description="Red (Color Code)" context="html" enabled="true">#FF0000</template>
409 <template name="#C0C0C0" description="Silver (Color Code)" context="html" enabled="true">#C0C0C0</template>
410 <template name="#FFFFFF" description="White (Color Code)" context="html" enabled="true">#FFFFFF</template>
411 <template name="#FFFF00" description="Yellow (Color Code)" context="html" enabled="true">#FFFF00</template>
413 <template name="Black" description="Black (Color Code)" context="html" enabled="true">#000000</template>
414 <template name="Blue" description="Blue (Color Code)" context="html" enabled="true">#0000FF</template>
415 <template name="Brown" description="Brown (Color Code)" context="html" enabled="true">#A52A2A</template>
416 <template name="Cyan" description="Cyan (Color Code)" context="html" enabled="true">#00FFFF</template>
417 <template name="Gold" description="Gold (Color Code)" context="html" enabled="true">#FFD700</template>
418 <template name="Grey" description="Grey (Color Code)" context="html" enabled="true">#808080</template>
419 <template name="Green" description="Green (Color Code)" context="html" enabled="true">#008000</template>
420 <template name="Magenta" description="Magenta (Color Code)" context="html" enabled="true">#FF00FF</template>
421 <template name="Orange" description="Orange (Color Code)" context="html" enabled="true">#FFA500</template>
422 <template name="Pink" description="Pink (Color Code)" context="html" enabled="true">#FFC0CB</template>
423 <template name="Purple" description="Purple (Color Code)" context="html" enabled="true">#800080</template>
424 <template name="Red" description="Red (Color Code)" context="html" enabled="true">#FF0000</template>
425 <template name="Silver" description="Silver (Color Code)" context="html" enabled="true">#C0C0C0</template>
426 <template name="White" description="White (Color Code)" context="html" enabled="true">#FFFFFF</template>
427 <template name="Yelow" description="Yellow (Color Code)" context="html" enabled="true">#FFFF00</template>