X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java index fe1e11e..76bd20a 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java @@ -4,22 +4,26 @@ package net.sourceforge.phpeclipse.phpeditor.php; * @author Choochter * * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. + * Window>Preferences>Java>ObfuscatorIgnores. * To enable and disable the creation of type comments go to * Window>Preferences>Java>Code Generation. */ public class PHPFunction extends PHPElement { - private String FunctionUsage; + private String fDescription; - public void setUsage(String Usage) { - this.FunctionUsage = Usage; + public void setDescription(String description) { + this.fDescription = description; } - public String getUsage() { - return this.FunctionUsage; + public String getDescription() { + return this.fDescription; } - public PHPFunction(String Name, String Description, String Usage) { - super(Name, Description); - setUsage(Usage); + public String getHoverText() { + return super.getHoverText()+"
"+getDescription(); + } + + public PHPFunction(String Name, String usage, String description) { + super(Name, usage); + setDescription(description); } }