public final void setName(String ElementName) {
this.ElementName = ElementName;
}
- public final void setUsage(String ElementDescription) {
- this.ElementUsage = ElementDescription;
+ public final void setUsage(String usage) {
+ this.ElementUsage = usage;
}
//Getters
}
public String getHoverText() {
- return getUsage();
+ return "<b>"+getUsage()+"</b>";
}
public PHPElement() {
}
- public PHPElement(String Name, String Usage) {
- setName(Name);
- if ((Usage == null) || (Usage.equals(""))) {
- setUsage(Name + " - ");
+ public PHPElement(String name, String usage) {
+ setName(name);
+ if ((usage == null) || (usage.equals(""))) {
+ setUsage(name + " - ");
} else {
- setUsage(Usage);
+ setUsage(usage);
}
}