mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #11184 from lekoala/patch-54
ENH Add Nice to DBField
This commit is contained in:
commit
46c5f6d9ed
@ -516,6 +516,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 ''
|
||||
|
Loading…
Reference in New Issue
Block a user