diff --git a/core/model/fieldtypes/DBField.php b/core/model/fieldtypes/DBField.php index cb27fe49d..16748ccd8 100644 --- a/core/model/fieldtypes/DBField.php +++ b/core/model/fieldtypes/DBField.php @@ -71,6 +71,14 @@ abstract class DBField extends ViewableData { return $this->name; } + /** + * Returns the value of this field. + * @return mixed + */ + function getValue() { + return $this->value; + } + /** * Set the value on the field. * Optionally takes the whole record as an argument,