Class Input

Description

Class supports the construction of hidden form tags.

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

Located in /Form.inc (line 45)

HTML
   |
   --Input
Method Summary
Input Input (string $input, [array $hash = array()])
Variables

Inherited Variables

Inherited from HTML

HTML::$attr
HTML::$noEndTag
HTML::$tag
HTML::$tagType
Methods
Constructor Input (line 76)

Constructs an input tag

Input Input (string $input, [array $hash = array()])
  • string $input: The type attribute for the tab:
    • button - construct a button
    • checkbox - construct a check box
    • file - construct a file upload box
    • hidden - construct a hidden tag
    • image - requires src attribute
    • password - construct a password text box
    • radio - construct a radio button
    • reset - construct a reset button
    • submit - construct a submt button
    • text - construct a text box
  • array $hash: Hash table of attributes
    • accept => list_of_mime_types
    • align => left | right | top | texttop | middle | absmiddle | baseline | bottom | absbottom
    • alt => "text" used only with type image
    • checked => "" used with checkboxes and radio buttons
    • disabled => "" Cannot be used with type hidden
    • maxlength => number
    • name => field_name
    • readonly => ""
    • size => number_of_char
    • src => URL required for type image
    • value => value

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