1 <?xml version="1.0" encoding="UTF-8"?>
4 /*******************************************************************************
5 * Copyright (c) 2000, 2004 IBM Corporation and others.
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Common Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/cpl-v10.html
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
19 <template name="gettercomment" id="net.sourceforge.phpdt.ui.text.codetemplates.gettercomment" description="%CodeTemplates.gettercomment" context="php_gettercomment_context" enabled="true">/**
20 * @return %CodeTemplates.gettercomment.returntagcontent
23 <template name="settercomment" id="net.sourceforge.phpdt.ui.text.codetemplates.settercomment" description="%CodeTemplates.settercomment" context="php_settercomment_context" enabled="true">/**
24 * @param ${param} %CodeTemplates.settercomment.paramtagcontent
27 <template name="constructorcomment" id="net.sourceforge.phpdt.ui.text.codetemplates.constructorcomment" description="%CodeTemplates.constructorcomment" context="php_constructorcomment_context" enabled="true">/**
31 <template name="typecomment" id="net.sourceforge.phpdt.ui.text.codetemplates.typecomment" description="%CodeTemplates.typecomment" context="php_typecomment_context" enabled="true">/**
34 * ${todo} %CodeTemplates.typecomment.content1
35 * %CodeTemplates.typecomment.content2
38 <template name="fieldcomment" id="net.sourceforge.phpdt.ui.text.codetemplates.fieldcomment" description="%CodeTemplates.fieldcomment" context="php_fieldcomment_context" enabled="true">/**
39 * %CodeTemplates.fieldcomment.content
42 <template name="methodcomment" id="net.sourceforge.phpdt.ui.text.codetemplates.methodcomment" description="%CodeTemplates.nonoverridingcomment" context="php_methodcomment_context" enabled="true">/**
46 <template name="overridecomment" id="net.sourceforge.phpdt.ui.text.codetemplates.overridecomment" description="%CodeTemplates.overridecomment" context="php_overridecomment_context" enabled="true">/* %CodeTemplates.overridecomment.nonjd
47 * ${see_to_overridden}
50 <template name="newtype" id="net.sourceforge.phpdt.ui.text.codetemplates.newtype" description="%CodeTemplates.newfile" context="php_newtype_context" enabled="true"><?php
52 * %CodeTemplates.newfile.content1
54 * %CodeTemplates.newfile.content2
55 * %CodeTemplates.newfile.content3
60 <template name="newhtml" id="net.sourceforge.phpdt.ui.text.codetemplates.newhtml" description="%CodeTemplates.newhtml" context="php_newhtml_context" enabled="true"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
61 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
63 <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">
65 * %CodeTemplates.newhtml.content1
67 * %CodeTemplates.newhtml.content2
68 * %CodeTemplates.newhtml.content3
71 <title> </title>
80 <template name="catchblock" id="net.sourceforge.phpdt.ui.text.codetemplates.catchblock" description="%CodeTemplates.catchblock" context="php_catchblock_context" enabled="true">// ${todo} %CodeTemplates.catchblock.tododesc
81 ${exception_var}.printStackTrace();</template>
83 <template name="methodbody" id="net.sourceforge.phpdt.ui.text.codetemplates.methodbody" description="%CodeTemplates.methodstub" context="php_methodbody_context" enabled="true">// ${todo} %CodeTemplates.methodstub.tododesc
84 ${body_statement}</template>
86 <template name="constructorbody" id="net.sourceforge.phpdt.ui.text.codetemplates.constructorbody" description="%CodeTemplates.constructorstub" context="constructorbody_context" enabled="true">${body_statement}
87 // ${todo} %CodeTemplates.constructorstub.tododesc</template>
89 <template name="getterbody" id="net.sourceforge.phpdt.ui.text.codetemplates.getterbody" description="%CodeTemplates.getterstub" context="php_getterbody_context" enabled="true">return ${field};</template>
91 <template name="setterbody" id="net.sourceforge.phpdt.ui.text.codetemplates.setterbody" description="%CodeTemplates.setterstub" context="php_setterbody_context" enabled="true">${field} = ${param};</template>