value) {
$val = Convert::raw2xml($this->value);
$val = _t('CurrencyField.CURRENCYSYMBOL', '$') . number_format(preg_replace('/[^0-9.]/', "", $val), 2);
$valforInput = Convert::raw2att($val);
} else {
$val = '' . _t('CurrencyField.CURRENCYSYMBOL', '$') . '0.00';
$valforInput = '';
}
return "extraClass() . "\" id=\"" . $this->ID() . "\">$val"
. "name . "\" value=\"" . $valforInput . "\" />";
}
/**
* This already is a readonly field.
*/
public function performReadonlyTransformation()
{
return clone $this;
}
}