Class submit_button

Description

Submit button

A standard form submit button appearing as the standard grey widget.

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

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

Constructor

submit_button submit_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 450)

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

Renders the submit 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