Class SelectMenu

Description

Super class that other classes extend.

This class contains the basic resources for class construction:

  • TagType - The tag's name
  • The attribute hash
  • The content array

  • copyright: 2004, 2005, The University of Scranton, Computing Sciences, John Beidler

Located in /Form.inc (line 114)

HTML
   |
   --SelectMenu
Method Summary
SelectMenu SelectMenu (array $choices, array $values, [array $hash = array()], int $default, [int $size = 1])
Variables

Inherited Variables

Inherited from HTML

HTML::$attr
HTML::$noEndTag
HTML::$tag
HTML::$tagType
Methods
Constructor SelectMenu (line 125)

Constructs a select menu

SelectMenu SelectMenu (array $choices, array $values, [array $hash = array()], int $default, [int $size = 1])
  • array $choices: The set of select menu choices.
  • array $values: The set of select menu values that correspond to the choices.
  • array $hash: The set of select menu attributes.
  • int $default: Optional default choice.
  • int $size: The number of choices that are displayed at one time on the form.

Inherited Methods

Inherited From HTML

HTML::addAttributes()
HTML::insert()
HTML::toString()

Documentation generated on Sun, 01 Jan 2006 22:59:03 -0500 by phpDocumentor 1.3.0RC3