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 = "<b>"+usage+"</b>";
}
//Getters
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);
}
}