mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Added FormField->getDescription() to complement FormField->describe()
This commit is contained in:
parent
454b89f2bb
commit
ad8fe82b37
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user