Jump to content

auFormButtons: Difference between revisions

From auWiki
New page: {{RightTOC}} FormButtons Category:Class Category:PHP The auFormButtons class is part of the auLib package. It is defined in the auForm.php file. ;Hierarchy ...
(No difference)

Revision as of 14:40, 22 April 2008

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

Hierarchy

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.

Public Functions

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'.

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.