_element, $name); $translate = $this->getTranslate(); $this->setBodyCode( ""); } /** * * render the form element * * @return string */ public function render() { $output = null; $values = $this->getValue(); $output .= '
'; foreach ((array)$values as $value) { if (!empty($value)) { $output .= $this->_renderRow(false, $value); } } $output .= '
'; $output .= $this->_renderRow(); return $output; } /** * * render a single row of the element * * @param bool $new * @param string $value * * @return string */ protected function _renderRow($new = true, $value = null) { $translate = $this->getTranslate(); $output = '
'; $output .= ' renderAttributes() . 'value="' . $value . '" ' . $this->_endTag . (($new === true) ? ' ' : ' ') . '
'; return $output; } }