Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Framework selector field.

Copyright: 2016 Frédéric Massart - FMCorz.net
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 121 lines (4 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

framework_autocomplete:: (2 methods):
  __construct()
  setValue()


Class: framework_autocomplete  - X-Ref

Form field type for choosing a framework.

__construct($elementName = null, $elementLabel = null, $options = array()   X-Ref
Constructor.

param: string $elementName Element name
param: mixed $elementLabel Label(s) for an element
param: array $options Options to control the element's display

setValue($value)   X-Ref
Set the value of this element.

return: boolean
param: string|array $value The value to set.