Пример #1
0
 /**
  * Prints a radio input inside a table row
  *
  * @param string $name      the string used in the 'name' attribute
  * @param string $title     the string used as the label
  * @param string $value     the string used for the item's value
  * @param bool   $default   a bool indicating if item should be checked
  * @param string $attr      a string of additional attributes to be put
  *                           in the element (example: 'id="foo"')
  * @param string $thattr    a string of additional attributes to be put
  *                           in the <th> element (example: 'class="foo"')
  * @param string $tdattr    a string of additional attributes to be put
  *                           in the <td> element (example: 'class="foo"')
  * @return void
  *
  * @access public
  * @static
  * @see HTML_Form::displayRadio(), HTML_Form::addRadio(),
  *      HTML_Form::returnRadio(), HTML_Form::returnRadioRow()
  */
 function displayRadioRow($name, $title, $value, $default = false, $attr = '', $thattr = HTML_FORM_TH_ATTR, $tdattr = HTML_FORM_TD_ATTR)
 {
     print HTML_Form::returnRadioRow($name, $title, $value, $default, $attr, $thattr, $tdattr);
 }