[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Form element group Contains HTML class for group form element

Copyright: 2007 Jamie Pratt <me@jamiep.org>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 110 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MoodleQuickForm_group:: (5 methods):
  __construct()
  MoodleQuickForm_group()
  getHelpButton()
  getElementTemplateType()
  setElements()


Class: MoodleQuickForm_group  - X-Ref

HTML class for a form element group

Overloaded {@link HTML_QuickForm_group} with default behavior modified for Moodle.

__construct($elementName=null, $elementLabel=null, $elements=null, $separator=null, $appendName = true)   X-Ref
constructor

param: string $elementName (optional) name of the group
param: string $elementLabel (optional) group label
param: array $elements (optional) array of HTML_QuickForm_element elements to group
param: string $separator (optional) string to seperate elements.
param: string $appendName (optional) string to appened to grouped elements.

MoodleQuickForm_group($elementName=null, $elementLabel=null, $elements=null, $separator=null, $appendName = true)   X-Ref
Old syntax of class constructor. Deprecated in PHP7.


getHelpButton()   X-Ref
set html for help button


getElementTemplateType()   X-Ref
Returns element template, nodisplay/static/fieldset

return: string

setElements($elements)   X-Ref
Sets the grouped elements and hides label

param: array $elements



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