[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/pear/HTML/QuickForm/ -> hiddenselect.php (summary)

(no description)

File Size: 117 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTML_QuickForm_hiddenselect:: (4 methods):
  __construct()
  HTML_QuickForm_hiddenselect()
  toHtml()
  accept()


Class: HTML_QuickForm_hiddenselect  - X-Ref

This class takes the same arguments as a select element, but instead
of creating a select ring it creates hidden elements for all values
already selected with setDefault or setConstant.  This is useful if
you have a select ring that you don't want visible, but you need all
selected values to be passed.

__construct($elementName=null, $elementLabel=null, $options=null, $attributes=null)   X-Ref
Class constructor

param: string    Select name attribute
param: mixed     Label(s) for the select (not used)
param: mixed     Data to be used to populate options
param: mixed     Either a typical HTML attribute string or an associative array (not used)
return: void

HTML_QuickForm_hiddenselect($elementName=null, $elementLabel=null, $options=null, $attributes=null)   X-Ref
Old syntax of class constructor. Deprecated in PHP7.


toHtml()   X-Ref
Returns the SELECT in HTML

return: string

accept(&$renderer, $required=false, $error=null)   X-Ref
This is essentially a hidden element and should be rendered as one




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1