Added more Wikipedia configurations
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / PHPFunction.java
index 4bdbca8..76bd20a 100644 (file)
@@ -9,21 +9,21 @@ package net.sourceforge.phpeclipse.phpeditor.php;
  * Window>Preferences>Java>Code Generation.
  */
 public class PHPFunction extends PHPElement {
-  private String FunctionUsage;
+  private String fDescription;
   
-  public void setDescription(String Usage) {
-    this.FunctionUsage = Usage;
+  public void setDescription(String description) {
+    this.fDescription = description;
   }
   public String getDescription() {
-    return this.FunctionUsage;
+    return this.fDescription;
   }
 
   public String getHoverText() {
-    return super.getHoverText()+"\n\n"+getDescription();
+    return super.getHoverText()+"<br>"+getDescription();
   }
   
-  public PHPFunction(String Name, String Description, String Usage) {
-    super(Name, Description);
-    setDescription(Usage);
+  public PHPFunction(String Name, String usage, String description) {
+    super(Name, usage);
+    setDescription(description);
   }
 }