<?php
 class selectField extends baseField { function edit($addConf,$R) { $A = array(); foreach($addConf['opt'] as $y => $z) { $v = $z['attr']['name']; $A[$z['attr']['value']] = $v; } $R = $R+$this->Mizu->_Helper->getJsSelect($R['name'],$A,$R['value']); unset($R['name']); $R['width'] = 250; return parent::edit($addConf,$R); } } ?>