get('currency_symbol'); if ($this->value) { $val = Convert::raw2xml($this->value); $val = $currencySymbol . number_format(preg_replace('/[^0-9.-]/', '', $val ?? '') ?? 0.0, 2); $valforInput = Convert::raw2att($val); } else { $val = '' . $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; } }