value rows * the row will contain one text field for "key" and the other for "value" */ namespace Ppb\Form\Element; use Cube\Form\Element; class MultiKeyValue extends Element { const FIELD_KEY = 'key'; const FIELD_VALUE = 'value'; /** * * type of element - override the variable from the parent class * * @var string */ protected $_element = 'multiKeyValue'; /** * * class constructor * * @param string $name */ public function __construct($name) { parent::__construct($this->_element, $name); $translate = $this->getTranslate(); $this->setBodyCode( ""); } /** * * render the form element * * @return string */ public function render() { $output = null; $values = $this->getValue(); $output .= '