diff --git a/src/ORM/FieldType/DBField.php b/src/ORM/FieldType/DBField.php index 520ce73d8..a840fc7f5 100644 --- a/src/ORM/FieldType/DBField.php +++ b/src/ORM/FieldType/DBField.php @@ -518,6 +518,14 @@ abstract class DBField extends ViewableData implements DBIndexable return $this->XML(); } + /** + * @return string + */ + public function Nice() + { + return $this->XML(); + } + /** * Returns the value to be set in the database to blank this field. * Usually it's a choice between null, 0, and ''