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>
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="<pre" description="preformated text" context="html" enabled="true">
125 <pre>${cursor}</pre>
127 <template name="<blockquote" description="blockquoted text" context="html" enabled="true">
128 <blockquote>${cursor}</blockquote>
130 <template name="<xml" description="xml version=1.0" context="html" enabled="true">
131 <?xml version="1.0"?>
134 <template name="<xml" description="xml-stylesheet type=text/xsl" context="html" enabled="true">
135 <?xml-stylesheet type="text/xsl" href="${url}">
138 <template name="<script" description="JavaScript inline" context="html" enabled="true"><script language="JavaScript" type="text/javascript">
142 <template name="<script" description="JavaScript file" context="html" enabled="true"><script language="JavaScript" type="text/javascript" src="${jsfile}.js"></script>${cursor}
144 <template name="<style" description="style text/css" context="html" enabled="true"></style type="text/css">
150 <template name="&quot" description="quot" context="html" enabled="true">&quot;</template>
151 <template name="&amp" description="ampersand" context="html" enabled="true">&amp;</template>
152 <template name="&lt" description="less than" context="html" enabled="true">&lt;</template>
153 <template name="&gt" description="greater than" context="html" enabled="true">&gt;</template>
155 <template name="&nbsp" description="no-break space" context="html" enabled="true">&nbsp;</template>
156 <template name="&iexcl" description="iexcl" context="html" enabled="true">&iexcl;</template>
157 <template name="&cent" description="cent" context="html" enabled="true">&cent;</template>
158 <template name="&pound" description="pound" context="html" enabled="true">&pound;</template>
159 <template name="&curren" description="curren" context="html" enabled="true">&curren;</template>
160 <template name="&yen" description="yen" context="html" enabled="true">&yen;</template>
161 <template name="&brvbar" description="brvbar" context="html" enabled="true">&brvbar;</template>
162 <template name="&brkbar" description="brkbar" context="html" enabled="true">&brkbar;</template>
163 <template name="&sect" description="sect" context="html" enabled="true">&sect;</template>
164 <template name="&uml" description="uml" context="html" enabled="true">&uml;</template>
165 <template name="&die" description="die" context="html" enabled="true">&die;</template>
166 <template name="&copy" description="copy" context="html" enabled="true">&copy;</template>
167 <template name="&ordf" description="ordf" context="html" enabled="true">&ordf;</template>
168 <template name="&laquo" description="laquo" context="html" enabled="true">&laquo;</template>
169 <template name="&not" description="not" context="html" enabled="true">&not;</template>
170 <template name="&shy" description="shy" context="html" enabled="true">&shy;</template>
171 <template name="&reg" description="reg" context="html" enabled="true">&reg;</template>
172 <template name="&macr" description="macr" context="html" enabled="true">&macr;</template>
173 <template name="&hibar" description="hibar" context="html" enabled="true">&hibar;</template>
174 <template name="&deg" description="deg" context="html" enabled="true">&deg;</template>
175 <template name="&plusmn" description="plusmn" context="html" enabled="true">&plusmn;</template>
176 <template name="&sup2" description="sup2" context="html" enabled="true">&sup2;</template>
177 <template name="&sup3" description="sup3" context="html" enabled="true">&sup3;</template>
178 <template name="&acute" description="acute" context="html" enabled="true">&acute;</template>
179 <template name="&micro" description="micro" context="html" enabled="true">&micro;</template>
180 <template name="&para" description="para" context="html" enabled="true">&para;</template>
181 <template name="&middot" description="middot" context="html" enabled="true">&middot;</template>
182 <template name="&cedil" description="cedil" context="html" enabled="true">&cedil;</template>
183 <template name="&sup1" description="sup1" context="html" enabled="true">&sup1;</template>
184 <template name="&ordm" description="ordm" context="html" enabled="true">&ordm;</template>
185 <template name="&raquo" description="raquo" context="html" enabled="true">&raquo;</template>
186 <template name="&frac14" description="frac14" context="html" enabled="true">&frac14;</template>
187 <template name="&frac12" description="frac12" context="html" enabled="true">&frac12;</template>
188 <template name="&frac34" description="frac34" context="html" enabled="true">&frac34;</template>
189 <template name="&iquest" description="iquest" context="html" enabled="true">&iquest;</template>
190 <template name="&Agrave" description="Agrave" context="html" enabled="true">&Agrave;</template>
191 <template name="&Aacute" description="Aacute" context="html" enabled="true">&Aacute;</template>
192 <template name="&Acirc" description="Acirc" context="html" enabled="true">&Acirc;</template>
193 <template name="&Atilde" description="Atilde" context="html" enabled="true">&Atilde;</template>
194 <template name="&Auml" description="Auml" context="html" enabled="true">&Auml;</template>
195 <template name="&Aring" description="Aring" context="html" enabled="true">&Aring;</template>
196 <template name="&AElig" description="AElig" context="html" enabled="true">&AElig;</template>
197 <template name="&Ccedil" description="Ccedil" context="html" enabled="true">&Ccedil;</template>
198 <template name="&Egrave" description="Egrave" context="html" enabled="true">&Egrave;</template>
199 <template name="&Eacute" description="Eacute" context="html" enabled="true">&Eacute;</template>
200 <template name="&Ecirc" description="Ecirc" context="html" enabled="true">&Ecirc;</template>
201 <template name="&Euml" description="Euml" context="html" enabled="true">&Euml;</template>
202 <template name="&lgrave" description="lgrave" context="html" enabled="true">&lgrave;</template>
203 <template name="&lacute" description="lacute" context="html" enabled="true">&lacute;</template>
204 <template name="&lcirc" description="lcirc" context="html" enabled="true">&lcirc;</template>
205 <template name="&luml" description="luml" context="html" enabled="true">&luml;</template>
206 <template name="&ETH" description="ETH" context="html" enabled="true">&ETH;</template>
207 <template name="&Ntilde" description="Ntilde" context="html" enabled="true">&Ntilde;</template>
208 <template name="&Ograve" description="Ograve" context="html" enabled="true">&Ograve;</template>
209 <template name="&Oacute" description="Oacute" context="html" enabled="true">&Oacute;</template>
210 <template name="&Ocirc" description="Ocirc" context="html" enabled="true">&Ocirc;</template>
211 <template name="&Otilde" description="Otilde" context="html" enabled="true">&Otilde;</template>
212 <template name="&Ouml" description="Ouml" context="html" enabled="true">&Ouml;</template>
213 <template name="&times" description="times" context="html" enabled="true">&times;</template>
214 <template name="&Oslash" description="Oslash" context="html" enabled="true">&Oslash;</template>
215 <template name="&Ugrave" description="Ugrave" context="html" enabled="true">&Ugrave;</template>
216 <template name="&Uacute" description="Uacute" context="html" enabled="true">&Uacute;</template>
217 <template name="&Ucirc" description="Ucirc" context="html" enabled="true">&Ucirc;</template>
218 <template name="&Uuml" description="Uuml" context="html" enabled="true">&Uuml;</template>
219 <template name="&Yacute" description="Yacute" context="html" enabled="true">&Yacute;</template>
220 <template name="&THORN" description="THORN" context="html" enabled="true">&THORN;</template>
221 <template name="&szlig" description="szlig" context="html" enabled="true">&szlig;</template>
222 <template name="&agrave" description="agrave" context="html" enabled="true">&agrave;</template>
223 <template name="&aacute" description="aacute" context="html" enabled="true">&aacute;</template>
224 <template name="&acirc" description="acirc" context="html" enabled="true">&acirc;</template>
225 <template name="&atilde" description="atilde" context="html" enabled="true">&atilde;</template>
226 <template name="&auml" description="auml" context="html" enabled="true">&auml;</template>
227 <template name="&aring" description="aring" context="html" enabled="true">&aring;</template>
228 <template name="&aelig" description="aelig" context="html" enabled="true">&aelig;</template>
229 <template name="&ccedil" description="ccedil" context="html" enabled="true">&ccedil;</template>
230 <template name="&egrave" description="egrave" context="html" enabled="true">&egrave;</template>
231 <template name="&eacute" description="eacute" context="html" enabled="true">&eacute;</template>
232 <template name="&ecirc" description="ecirc" context="html" enabled="true">&ecirc;</template>
233 <template name="&euml" description="euml" context="html" enabled="true">&euml;</template>
234 <template name="&igrave" description="igrave" context="html" enabled="true">&igrave;</template>
235 <template name="&iacute" description="iacute" context="html" enabled="true">&iacute;</template>
236 <template name="&icirc" description="icirc" context="html" enabled="true">&icirc;</template>
237 <template name="&iuml" description="iuml" context="html" enabled="true">&iuml;</template>
238 <template name="&eth" description="eth" context="html" enabled="true">&eth;</template>
239 <template name="&ntilde" description="ntilde" context="html" enabled="true">&ntilde;</template>
240 <template name="&ograve" description="ograve" context="html" enabled="true">&ograve;</template>
241 <template name="&oacute" description="oacute" context="html" enabled="true">&oacute;</template>
242 <template name="&ocirc" description="ocirc" context="html" enabled="true">&ocirc;</template>
243 <template name="&otilde" description="otilde" context="html" enabled="true">&otilde;</template>
244 <template name="&ouml" description="ouml" context="html" enabled="true">&ouml;</template>
245 <template name="&divide" description="divide" context="html" enabled="true">&divide;</template>
246 <template name="&oslash" description="oslash" context="html" enabled="true">&oslash;</template>
247 <template name="&ugrave" description="ugrave" context="html" enabled="true">&ugrave;</template>
248 <template name="&uacute" description="uacute" context="html" enabled="true">&uacute;</template>
249 <template name="&ucirc" description="ucirc" context="html" enabled="true">&ucirc;</template>
250 <template name="&uuml" description="uuml" context="html" enabled="true">&uuml;</template>
251 <template name="&yacute" description="yacute" context="html" enabled="true">&yacute;</template>
252 <template name="&thorn" description="thorn" context="html" enabled="true">&thorn;</template>
253 <template name="&yuml" description="yuml" context="html" enabled="true">&yuml;</template>
257 <template name="#000000" description="Black (Color Code)" context="html" enabled="true">#000000</template>
258 <template name="#0000FF" description="Blue (Color Code)" context="html" enabled="true">#0000FF</template>
259 <template name="#A52A2A" description="Brown (Color Code)" context="html" enabled="true">#A52A2A</template>
260 <template name="#00FFFF" description="Cyan (Color Code)" context="html" enabled="true">#00FFFF</template>
261 <template name="#FFD700" description="Gold (Color Code)" context="html" enabled="true">#FFD700</template>
262 <template name="#808080" description="Grey (Color Code)" context="html" enabled="true">#808080</template>
263 <template name="#008000" description="Green (Color Code)" context="html" enabled="true">#008000</template>
264 <template name="#FF00FF" description="Magenta (Color Code)" context="html" enabled="true">#FF00FF</template>
265 <template name="#FFA500" description="Orange (Color Code)" context="html" enabled="true">#FFA500</template>
266 <template name="#FFC0CB" description="Pink (Color Code)" context="html" enabled="true">#FFC0CB</template>
267 <template name="#800080" description="Purple (Color Code)" context="html" enabled="true">#800080</template>
268 <template name="#FF0000" description="Red (Color Code)" context="html" enabled="true">#FF0000</template>
269 <template name="#C0C0C0" description="Silver (Color Code)" context="html" enabled="true">#C0C0C0</template>
270 <template name="#FFFFFF" description="White (Color Code)" context="html" enabled="true">#FFFFFF</template>
271 <template name="#FFFF00" description="Yellow (Color Code)" context="html" enabled="true">#FFFF00</template>
273 <template name="Black" description="Black (Color Code)" context="html" enabled="true">#000000</template>
274 <template name="Blue" description="Blue (Color Code)" context="html" enabled="true">#0000FF</template>
275 <template name="Brown" description="Brown (Color Code)" context="html" enabled="true">#A52A2A</template>
276 <template name="Cyan" description="Cyan (Color Code)" context="html" enabled="true">#00FFFF</template>
277 <template name="Gold" description="Gold (Color Code)" context="html" enabled="true">#FFD700</template>
278 <template name="Grey" description="Grey (Color Code)" context="html" enabled="true">#808080</template>
279 <template name="Green" description="Green (Color Code)" context="html" enabled="true">#008000</template>
280 <template name="Magenta" description="Magenta (Color Code)" context="html" enabled="true">#FF00FF</template>
281 <template name="Orange" description="Orange (Color Code)" context="html" enabled="true">#FFA500</template>
282 <template name="Pink" description="Pink (Color Code)" context="html" enabled="true">#FFC0CB</template>
283 <template name="Purple" description="Purple (Color Code)" context="html" enabled="true">#800080</template>
284 <template name="Red" description="Red (Color Code)" context="html" enabled="true">#FF0000</template>
285 <template name="Silver" description="Silver (Color Code)" context="html" enabled="true">#C0C0C0</template>
286 <template name="White" description="White (Color Code)" context="html" enabled="true">#FFFFFF</template>
287 <template name="Yelow" description="Yellow (Color Code)" context="html" enabled="true">#FFFF00</template>