getSelectedItem(){if(!$this->areKeysUsed()){return$this->getValue();}else{$res=array();foreach($this->getValue()as$value){$res[$value]=$this->allowed[$value];}return$res;}}function getHtmlName(){return parent::getHtmlName().'[]';}function
/** * Returns HTML name of control. * @return string */ public function getHtmlName() { return parent::getHtmlName() . '[]'; }
/** * Returns HTML name of control. * @return string */ public function getHtmlName() { return parent::getHtmlName() . ($this->multiple ? '[]' : ''); }