Class html_inputfield

Description

Class to create an HTML input field

Located in /lib/Roundcube/html.php (line 356)

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','autocapitalize',
'autocomplete','checked','onchange','onclick','disabled','readonly',
'spellcheck','results','maxlength','src','multiple','placeholder',
'autofocus',
)
(line 360)
  • access: protected

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

Redefinition of:
html::$tagname
mixed $type = 'text' (line 359)
  • 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 372)

Object constructor

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

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

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::parse_attrib_string()
 html::quote()
 html::script()
 html::show()
 html::span()
 html::tag()

Documentation generated on Fri, 03 May 2013 12:44:54 +0200 by phpDocumentor 1.4.4