Пример #1
0
 /**
  * Prints a reset button inside a table row
  *
  * NOTE: Unusual parameter order.
  *
  * @param string $title     a string that appears on the button
  * @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::displayReset(), HTML_Form::addReset(),
  *      HTML_Form::returnReset(), HTML_Form::returnResetRow()
  */
 function displayResetRow($title = 'Clear contents', $attr = '', $thattr = HTML_FORM_TH_ATTR, $tdattr = HTML_FORM_TD_ATTR)
 {
     print HTML_Form::returnResetRow($title, $attr, $thattr, $tdattr);
 }