public function setItems(array $items) { foreach ($items as $key => $value) { $control = new Miao_Form_Control_Radio($this->getName(), $this->getAttributes()); $control->setValue($key); $control->setLabel($value); $this->_items[] = $control; } }