/** * Add a single element to the form * * @param $element iPhorm_Element The element to add */ public function addElement(iPhorm_Element $element) { $element->setForm($this); $this->_elements[$element->getName()] = $element; }