mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API CHANGE Deprecated Varchar->Attr(), use Varchar->ATT_val() instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63176 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
fabf01d076
commit
e7f3e3487d
@ -28,6 +28,9 @@ class Varchar extends DBField {
|
||||
if($this->value) return $this->value[0] . '.';
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 2.3 Use ATT_val()
|
||||
*/
|
||||
function Attr() {
|
||||
return Convert::raw2att($this->value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user