X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java new file mode 100644 index 0000000..2949a27 --- /dev/null +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/phpeditor/php/PHPFunction.java @@ -0,0 +1,29 @@ +package net.sourceforge.phpeclipse.phpeditor.php; + +/** + * @author Choochter + * + * To change this generated comment edit the template variable "typecomment": + * 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 fDescription; + + public void setDescription(String description) { + this.fDescription = description; + } + + public String getDescription() { + return this.fDescription; + } + + public String getHoverText() { + return super.getHoverText() + "
" + getDescription(); + } + + public PHPFunction(String Name, String usage, String description) { + super(Name, usage); + setDescription(description); + } +}