_getInfo($name, $value, $attribs); extract($info); // name, value, attribs, options, listsep, disable // build the element if ($disable) { // disabled. $xhtml = $this->_hidden($name, $value) . nl2br($this->view->escape($value)); } else { // enabled. // first, make sure that there are 'rows' and 'cols' values // as required by the spec. noted by Orjan Persson. if (empty($attribs['rows'])) { $attribs['rows'] = (int) $this->rows; } if (empty($attribs['cols'])) { $attribs['cols'] = (int) $this->cols; } // now build the element. $xhtml = ''; } return $xhtml; } }