[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/form/ -> radio.php (summary)

radio type form element Contains HTML class for a radio type element

Copyright: 2006 Jamie Pratt <[email protected]>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 106 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MoodleQuickForm_radio:: (5 methods):
  MoodleQuickForm_radio()
  getHelpButton()
  getElementTemplateType()
  getFrozenHtml()
  toHtml()


Class: MoodleQuickForm_radio  - X-Ref

radio type form element

HTML class for a radio type element

MoodleQuickForm_radio($elementName=null, $elementLabel=null, $text=null, $value=null, $attributes=null)   X-Ref
constructor

param: string $elementName (optional) name of the radio element
param: string $elementLabel (optional) label for radio element
param: string $text (optional) Text to put after the radio element
param: string $value (optional) default value
param: mixed $attributes (optional) Either a typical HTML attribute string

getHelpButton()   X-Ref
get html for help button

return: string html for help button

getElementTemplateType()   X-Ref
Slightly different container template when frozen.

return: string

getFrozenHtml()   X-Ref
Returns the disabled field. Accessibility: the return "( )" from parent
class is not acceptable for screenreader users, and we DO want a label.

return: string

toHtml()   X-Ref
Returns HTML for advchecbox form element.

return: string



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1