public function html($current, $orig, $params)
{
$data = $this->_format($current['value'], $current['rule']);
$rData = $this->get($current['rule']);
$result = str_replace(array('%v', '%s'), array('<span class="simpleType-value">' . $data['value'] . '</span>', '<span class="simpleType-symbol">' . $rData['symbol'] . '</span>'), $data['template']);
return '<span ' . $this->htmlAttributes(array('class' => array('simpleType', 'simpleType-block', 'simpleType-' . $this->_type), 'data-simpleType-id' => $params['id'], 'data-simpleType-value' => $current['value'], 'data-simpleType-rule' => $current['rule'], 'data-simpleType-orig-value' => $orig['value'], 'data-simpleType-orig-rule' => $orig['rule'])) . '>' . $result . '</span>';
}