Change visibility to private for net.sourceforge.phpeclipse.xdebug.php.model.XDebugEl...
[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. To enable and disable the creation
8  * of type comments go to Window>Preferences>Java>Code Generation.
9  */
10 public class PHPFunction extends PHPElement {
11         private String fDescription;
12
13         public void setDescription(String description) {
14                 this.fDescription = description;
15         }
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 }