/** * Fügt dem Container ein Feld hinzu. * @param object rexFormField-Objekt des hinzugefügt werden soll * @param object rexFormSection-Objekt, mit dem das Feld verknüpft werden soll * @access protected */ function addField(&$field, &$section) { if (!rexFormField::isValid($field)) { trigger_error('rexForm: Unexpected type "' . gettype($field) . '" for $field! Expecting "rexformfield"-object.', E_USER_ERROR); } $field->rexsection =& $section; $this->fields[] =& $field; }