Misc
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / PHPFunction.java
1 package net.sourceforge.phpeclipse.phpeditor.php;
2
3 /**
4  * @author Choochter
5  *
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.
10  */
11 public class PHPFunction extends PHPElement {
12   private String fDescription;
13   
14   public void setDescription(String description) {
15     this.fDescription = description;
16   }
17   public String getDescription() {
18     return this.fDescription;
19   }
20
21   public String getHoverText() {
22     return super.getHoverText()+"<br>"+getDescription();
23   }
24   
25   public PHPFunction(String Name, String usage, String description) {
26     super(Name, usage);
27     setDescription(description);
28   }
29 }