Call WIN_32 CHM files for "function help"
[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   /**
28     * Get standard PHPEclipse html help URL 
29     * @return String
30     */
31   public String getHref() {
32     return "/net.sourceforge.phpeclipse.phphelp/doc/function." + word + ".html";
33   }
34
35   public String getLabel() {
36     return "PHP Context Help";
37   }
38  
39
40 }