Class reset_button

Description

Reset button A standard form reset button appearing as the standard grey widget.

Located in /button-defs.php (line 467)

button_object
   |
   --button
      |
      --reset_button
Method Summary
 reset_button reset_button (string $action, [string $label = ""], [string $parms = ""], [string $onclick = ""])
 string html ()
Variables
Methods
Constructor reset_button (line 476)

Constructor

reset_button reset_button (string $action, [string $label = ""], [string $parms = ""], [string $onclick = ""])
  • string $action: The name of the button control in the form
  • string $label: The label which might be attached to the button
  • string $parms: Optional parameters
  • string $onclick: Optional javascript for onclick event
html (line 487)

Use render() to render this element in your page.

Renders the reset button as HTML.

  • return: HTML rendering of button
  • see: render()
string html ()

Redefinition of:
button::html()
Use render() to render this element in your page.

Inherited Methods

Inherited From button

 button::button()
 button::html()
 button::set_confirmation()
 button::set_onclick()

Documentation generated by phpDocumentor 1.3.0RC3