Switched to Eclipse 2.1 development; eliminated JTidy package => now standalone plugin
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / phphelp / actions / PHPFunctionHelpResource.java
1 /**********************************************************************
2 Copyright (c) 2000, 2002 IBM Corp. and others.
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Common Public License v1.0
5 which accompanies this distribution, and is available at
6 http://www.eclipse.org/legal/cpl-v10.html
7
8 Contributors:
9     IBM Corporation - Initial implementation
10     Klaus Hartlage - www.eclipseproject.de
11 **********************************************************************/
12 package net.sourceforge.phpdt.phphelp.actions;
13
14 import org.eclipse.help.IHelpResource;
15
16 /**
17  * 
18  */
19 public class PHPFunctionHelpResource implements IHelpResource {
20
21   private String word;
22
23   public PHPFunctionHelpResource(String word) {
24     this.word = word;
25   }
26
27   public String getHref() {
28     return "/net.sourceforge.phpeclipse.phphelp/doc/function." + word + ".html";
29   }
30
31   public String getLabel() {
32     return "PHP Context Help";
33   }
34
35 }