' . DOKU_LF;
return $form;
}
/**
* Print the assembled form
*
* wraps around getForm()
*/
public function printForm()
{
echo $this->getForm();
}
/**
* Add a radio set
*
* This function adds a set of radio buttons to the form. If $_POST[$name]
* is set, this radio is preselected, else the first radio button.
*
* @param string $name The HTML field name
* @param array $entries An array of entries $value => $caption
*
* @author Adrian Lang