mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merged revisions 47487 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq ........ r47487 | ischommer | 2007-12-21 16:02:50 +1300 (Fri, 21 Dec 2007) | 1 line added URLATT() ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52185 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e0f6e50c82
commit
15b388640d
@ -62,6 +62,9 @@ abstract class DBField extends ViewableData {
|
|||||||
function HTMLATT() {
|
function HTMLATT() {
|
||||||
return Convert::raw2htmlatt($this->value);
|
return Convert::raw2htmlatt($this->value);
|
||||||
}
|
}
|
||||||
|
function URLATT() {
|
||||||
|
return urlencode($this->value);
|
||||||
|
}
|
||||||
function ATT() {
|
function ATT() {
|
||||||
return Convert::raw2att($this->value);
|
return Convert::raw2att($this->value);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user