1 package net.sourceforge.phpeclipse.phpeditor.php;
3 import net.sourceforge.phpdt.internal.ui.text.SubstitutionTextReader;
8 * To change this generated comment edit the template variable "typecomment":
9 * Window>Preferences>Java>ObfuscatorIgnores.
10 * To enable and disable the creation of type comments go to
11 * Window>Preferences>Java>Code Generation.
13 public class PHPConstant extends PHPElement {
14 private String fDescription;
16 public void setDescription(String description) {
17 this.fDescription = description;
19 public String getDescription() {
20 return this.fDescription;
23 public String getHoverText() {
24 return super.getHoverText()+"<br>"+getDescription();
27 public PHPConstant(String Name, String usage, String description) {
29 setDescription(description);