Class html_inputfield

Description

Class to create an HTML input field

Located in /html.php (line 316)

html
   |
   --html_inputfield
Direct descendents
Class Description
 class html_passwordfield Class to create an HTML password field
 class html_radiobutton Class to create HTML radio buttons
 class html_checkbox Class to create HTML checkboxes
Variable Summary
 mixed $allowed
 mixed $tagname
 mixed $type
Method Summary
 html_inputfield __construct ([array $attrib = array()])
 string show ([string $value = null], [array $attrib = null])
Variables
mixed $allowed = array('type','name','value','size','tabindex',
'autocomplete','checked','onchange','onclick','disabled','readonly',
'spellcheck','results','maxlength','src','multiple','placeholder')
(line 320)
  • access: protected

Redefinition of:
html::$allowed
mixed $tagname = 'input' (line 318)
  • access: protected

Redefinition of:
html::$tagname
mixed $type = 'text' (line 319)
  • access: protected

Redefined in descendants as:

Inherited Variables

Inherited from html

html::$attrib
html::$common_attrib
html::$containers
html::$content
html::$doctype
html::$lc_tags
Methods
Constructor __construct (line 329)

Object constructor

  • access: public
html_inputfield __construct ([array $attrib = array()])
  • array $attrib: Associative array with tag attributes

Redefinition of:
html::__construct()
Constructor
show (line 347)

Compose input tag

  • return: HTML output
  • access: public
string show ([string $value = null], [array $attrib = null])
  • string $value: Field value
  • array $attrib: Additional attributes to override

Redefinition of:
html::show()
Return the tag code

Redefined in descendants as:

Inherited Methods

Inherited From html

 html::__construct()
 html::a()
 html::attrib_string()
 html::br()
 html::div()
 html::doctype()
 html::iframe()
 html::img()
 html::label()
 html::p()
 html::script()
 html::show()
 html::span()
 html::tag()

Documentation generated on Wed, 23 May 2012 16:40:46 +0200 by phpDocumentor 1.4.4