/** * Return the contents of the field 'id' as HTML. * Text values have to have characters properly escaped before inserting them into text inputs or areas. * @param FIELD $field * @param string $quote_style Can be "ENT_NOQUOTES" or "ENT_QUOTES", which * translates quotes or not, respectively. * @return string * @access private */ protected function _to_html($field, $quote_style) { if (isset($this->_num_controls[$field->id])) { return $field->as_html($this->_form, $quote_style, $this->_num_controls[$field->id]); } return $field->as_html($this->_form, $quote_style); }