*/ class Mage_XmlConnect_Block_Customer_Form_Renderer_Multiselect extends Enterprise_Customer_Block_Form_Renderer_Multiselect { /** * Field type * * @var string */ protected $_filedType = 'multiselect'; /** * Add select field to fieldset xml object * * @param Mage_XmlConnect_Model_Simplexml_Form_Element_Fieldset $fieldsetXmlObj * @return Mage_XmlConnect_Block_Customer_Form_Renderer_Select */ public function addFieldToXmlObj(Mage_XmlConnect_Model_Simplexml_Form_Element_Fieldset $fieldsetXmlObj) { $attributes = array( 'label' => $this->getLabel(), 'name' => $this->getFieldName(''), 'value' => $this->getValues(), 'options' => $this->getOptions() ); $attributes += Mage::helper('xmlconnect/customer_form_renderer') ->addTitleAndRequiredAttr($fieldsetXmlObj, $this); $fieldsetXmlObj->addField($this->getHtmlId(), $this->_filedType, $attributes); return $this; } }