auFormFile

From auWiki
Revision as of 11:20, 1 May 2008 by Misterhaan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Hierarchy

Usage

This class is used to add a file input field to a form. Create an object from this class and add it to an auFormContainer object.

Public Functions

new auFormFile

new auFormFile($name, $label, $tooltip, $required, $width)

Creates a new file input form field.

  • $name = Name to submit the field as.
  • $label = Label to display with the field. Default is blank.
  • $tooltip = Tooltip text to display when the mouse is over the label. Default is none.
  • $required = Whether a value is required in this field. Default is not required.
  • $width = Width of the field in characters. Default is browser default.