\n" ) { $attribs['name'] = $id; if (!array_key_exists('id', $attribs)) { $attribs['id'] = $id; } $attribs = $this->_prepareDijit($attribs, $params, 'element'); if (is_array($options) && $this->_useProgrammatic() && !$this->_useProgrammaticNoScript()) { $baseId = $id; if (array_key_exists('id', $attribs)) { $baseId = $attribs['id']; } #require_once 'Zend/Filter/Alnum.php'; $filter = new Zend_Filter_Alnum(); foreach (array_keys($options) as $key) { $optId = $baseId . '-' . $filter->filter($key); $this->_createDijit($this->_dijit, $optId, array()); } } return $this->view->formRadio($id, $value, $attribs, $options, $listsep); } }