+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<templates>
-<template name="class" description="class template with constructor" context="php" enabled="true">class ${class_name} {
- function ${class_name}() {
- ${cursor}
- }
-}</template>
-<template name="class" description="class with attribute" context="php" enabled="true">class ${class_name} {
- var $$${attribute};
- function ${class_name}() {
- ${cursor}
- }
-
- function set_${attribute}( $$${attr} ) {
- $$this->${attribute} = $$${attr};
- }
-
- function get_${attribute}() {
- return $$this->${attribute};
- }
-}</template>
-<template name="for" description="iterate over array" context="php" enabled="true">for ($$${index} = 0; $$${index} < sizeof($$${array}); $$${index}++) {
- ${cursor}
-}</template>
-<template name="for" description="iterate over array w/ temporary variable" context="php" enabled="true">for ($$${index} = 0; $$${index} < sizeof($$${array}); $$${index}++) {
- $$${array_element} = $$${array}[$$${index}];
- ${cursor}
-}</template>
-<template name="function" description="function template" context="php" enabled="true">function ${function_name} () {
- ${cursor}
-}</template>
-<template name="function" description="function template with return" context="php" enabled="true">function ${function_name} () {
- return (${cursor});
-}</template>
-<template name="while" description="while iteration" context="php" enabled="true">while (${condition}) {
- ${cursor}
-}</template>
-<template name="switch" description="switch case statement" context="php" enabled="true">switch (${key}) {
- case ${value}:
- ${cursor}
- break;
-
- default:
- break;
-}</template><template name="if" description="if statement" context="php" enabled="true">if (${condition}) {
- ${cursor}
-}</template><template name="ifelse" description="if else statement" context="php" enabled="true">if (${condition}) {
- ${cursor}
-} else {
-
-}</template><template name="elseif" description="else if block" context="php" enabled="true">elseif (${condition}) {
- ${cursor}
-}</template><template name="else" description="else block" context="php" enabled="true">else {
- ${cursor}
-}</template>
-<template name="filecomment" description="file comment used by the class and interface wizards" context="php" enabled="true">/**
- * Created on ${date} by ${user}
- *
- */</template><template name="functioncomment" description="function comment" context="php" enabled="true">/**
- * @author ${user}
- *
- */</template>
- <template name="echo" description="echo a string" context="php" enabled="true">echo "${string}";
- ${cursor}</template>
-
-
- <template name="&nbsp" description="no-break space " context="html" enabled="true">&nbsp
- </template>
-
- <template name="<html" description="html page with head,title,body" context="html" enabled="true">
- <html>
- <head>
- <title>${title}</title>
- </head>
- <body>
- ${cursor}
- </body>
- </html>
- </template>
- <template name="<title" description="title" context="html" enabled="true">
- <title>${cursor}</title>
- </template>
-
- <template name="<table" description="3x3 table" context="html" enabled="true">
- <table>
- <tr>
- <td>${t00}</td><td>${t01}</td><td>${t02}</td>
- </tr>
- <tr>
- <td>${t10}</td><td>${t11}</td><td>${t12}</td>
- </tr>
- <tr>
- <td>${t20}</td><td>${t21}</td><td>${t22}</td>
- </tr>
- </table>
- ${cursor}
- </template>
- <template name="<table" description="3x3 table with header" context="html" enabled="true">
- <table>
- <tr>
- <th>${header0}</th><th>${header1}</th><th>${header2}</th>
- </tr>
- <tr>
- <td>${t00}</td><td>${t01}</td><td>${t02}</td>
- </tr>
- <tr>
- <td>${t10}</td><td>${t11}</td><td>${t12}</td>
- </tr>
- <tr>
- <td>${t20}</td><td>${t21}</td><td>${t22}</td>
- </tr>
- </table>
- ${cursor}
- </template>
-
- <template name="<a" description="hyperlink (href)" context="html" enabled="true">
- <a href="${link}">${description}</a> ${cursor}
- </template>
- <template name="<a" description="hyperlink image" context="html" enabled="true">
- <a href="${link}"><img src="${image}"></a> ${cursor}
- </template>
- <template name="<a" description="hyperlink fragment identifier (name)" context="html" enabled="true">
- <a name="${anchor}">${description}</a> ${cursor}
- </template>
- <template name="<p" description="paragraph" context="html" enabled="true">
- <p>${cursor}</p>
- </template>
- <template name="<pre" description="preformated text" context="html" enabled="true">
- <pre>${cursor}</pre>
- </template>
- <template name="<blockquote" description="blockquoted text" context="html" enabled="true">
- <blockquote>${cursor}</blockquote>
- </template>
- </templates>
\ No newline at end of file