public class PHPFunction extends PHPElement {
private String FunctionUsage;
- public void setUsage(String Usage) {
+ public void setDescription(String Usage) {
this.FunctionUsage = Usage;
}
- public String getUsage() {
+ public String getDescription() {
return this.FunctionUsage;
}
+ public String getHoverText() {
+ return super.getHoverText()+"\n\n"+getDescription();
+ }
+
public PHPFunction(String Name, String Description, String Usage) {
super(Name, Description);
- setUsage(Usage);
+ setDescription(Usage);
}
}