Search moodle.org's
Developer Documentation

Long Term Support Release

  • Bug fixes for general core bugs in 3.5.x ended May 2019 (12 months).
  • Bug fixes for security issues in 3.5.x will end 10 May 2021 (36 months) - Support has ended.
  • minimum PHP 7.0.0 Note: minimum PHP version has increased since Moodle 3.3. PHP 7.1.x and 7.2.x are supported too. PHP 7.x could have some engine limitations.
  • A Moodle form base class for editing local filter settings.

    License: http://www.gnu.org/copyleft/gpl.html GNU Public License
    File Size: 85 lines (3 kb)
    Included or required:0 times
    Referenced: 0 times
    Includes or requires: 0 files

    Defines 1 class

    filter_local_settings_form:: (3 methods):
      __construct()
      definition()
      save_changes()


    Class: filter_local_settings_form  - X-Ref

    __construct($submiturl, $filter, $context)   X-Ref
    No description

    definition()   X-Ref
    Build the form definition. Rather than overriding this method, you
    should probably override definition_inner instead.

    This method adds the necessary hidden fields and submit buttons,
    and calls definition_inner to insert the custom controls in the appropriate place.

    save_changes($data)   X-Ref
    Override this method to save the settings to the database. The default
    implementation will probably be sufficient for most simple cases.

    param: object $data the form data that was submitted.