MINOR Added FormField->getDescription() to complement FormField->describe()

This commit is contained in:
Ingo Schommer 2012-02-16 21:47:33 +01:00
parent 454b89f2bb
commit ad8fe82b37

View File

@ -700,6 +700,13 @@ class FormField extends RequestHandler {
$this->description = $description;
return $this;
}
/**
* @return String
*/
function getDescription() {
return $this->description;
}
function debug() {
return "$this->class ($this->name: $this->title : <font style='color:red;'>$this->message</font>) = $this->value";