Пример #1
0
 /**
  * Prints a checkbox 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 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::displayCheckboxRow(), HTML_Form::addCheckbox(),
  *      HTML_Form::returnCheckbox(), HTML_Form::returnCheckboxRow()
  */
 function displayCheckboxRow($name, $title, $default = false, $attr = '', $thattr = HTML_FORM_TH_ATTR, $tdattr = HTML_FORM_TD_ATTR)
 {
     print HTML_Form::returnCheckboxRow($name, $title, $default, $attr, $thattr, $tdattr);
 }