auFormButtons

From auWiki

Jump to: navigation, search

Contents

The auFormButtons class is part of the auLib package. It is defined in the auForm.php file.

Hierarchy

[edit] Usage

This class is used to add a submit button or multiple submit buttons to a form. Create an object from this class and add it to an auFormContainer object.

[edit] Public Functions

[edit] new auFormButtons

new auFormButtons($text, $tooltip, $name)

Creates a new form submit button or form submit buttons.

  • $text = Text to display on the button. Pass an array to have multiple buttons on one line.
  • $tooltip = Tooltip text to display when the mouse is over the button. Pass an array parallel to $text if $text was an array. Default is none.
  • $name = Name that should be used for the button. Must be the same for all buttons. Default is 'submit'.

[edit] GetSubmit

GetSubmit()

Gets the name that submit buttons are sent to the server as.

  • @return = Name that submit buttons are sent to the server as.
Personal tools