mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ENH Add Nice to DBField
Fixes https://github.com/silverstripe/silverstripe-framework/issues/11169 (cherry picked from commit 2c35b8d84a1a2f50cd363af270c8da2c3eb7f897)
This commit is contained in:
parent
1c2e1f86a5
commit
b167f470d7
@ -518,6 +518,14 @@ abstract class DBField extends ViewableData implements DBIndexable
|
|||||||
return $this->XML();
|
return $this->XML();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function Nice()
|
||||||
|
{
|
||||||
|
return $this->XML();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the value to be set in the database to blank this field.
|
* Returns the value to be set in the database to blank this field.
|
||||||
* Usually it's a choice between null, 0, and ''
|
* Usually it's a choice between null, 0, and ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user