API CHANGE Removed Text->Att(), use Text->ATT_val() instead

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63177 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-09-28 13:14:03 +00:00
parent e7f3e3487d
commit 3f3346fd93
2 changed files with 0 additions and 18 deletions

View File

@ -39,10 +39,6 @@ class Text extends DBField {
return str_replace(array('&','<','>','"'), array('&amp;','&lt;','&gt;','&quot;'), $this->value);
}
function Att() {
return Convert::raw2att($this->value);
}
function AbsoluteLinks() {
return HTTP::absoluteURLs($this->value);
}

View File

@ -69,20 +69,6 @@ define('ASSETS_PATH', BASE_PATH . '/' . ASSETS_DIR);
*/
require_once("core/Core.php");
/**
* Define the temporary folder if it wasn't defined yet
*/
if(!defined('TEMP_FOLDER')) {
define('TEMP_FOLDER', getTempFolder());
}
/**
* Priorities definition. These constants are used in calls to _t() as an optional argument
*/
define('PR_HIGH',100);
define('PR_MEDIUM',50);
define('PR_LOW',10);
header("Content-type: text/html; charset=\"utf-8\"");
if (function_exists('mb_http_output')) {
mb_http_output('UTF-8');