1 package net.sourceforge.phpeclipse.phpeditor.php;
6 * To change this generated comment edit the template variable "typecomment":
7 * Window>Preferences>Java>ObfuscatorIgnores.
8 * To enable and disable the creation of type comments go to
9 * Window>Preferences>Java>Code Generation.
11 public class PHPFunction extends PHPElement {
12 private String FunctionUsage;
14 public void setDescription(String Usage) {
15 this.FunctionUsage = Usage;
17 public String getDescription() {
18 return this.FunctionUsage;
21 public String getHoverText() {
22 return super.getHoverText()+"\n\n"+getDescription();
25 public PHPFunction(String Name, String Description, String Usage) {
26 super(Name, Description);
27 setDescription(Usage);