Skip to content

Commit

Permalink
MINOR Added FormField->getDescription() to complement FormField->desc…
Browse files Browse the repository at this point in the history
…ribe()
  • Loading branch information
chillu committed Feb 17, 2012
1 parent 454b89f commit ad8fe82
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions forms/FormField.php
Expand Up @@ -700,6 +700,13 @@ function describe($description) {
$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";
Expand Down

0 comments on commit ad8fe82

Please sign in to comment.