Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
core_form

Files

file  advcheckbox.php
 Advanced checkbox type form element.
 
file  autocomplete.php
 autocomplete type form element
 
file  behat_core_form.php
 Steps definitions related to mod_quiz.
 
file  behat_form_autocomplete.php
 Auto complete form field class.
 
file  behat_form_availability.php
 Availability form field class.
 
file  behat_form_checkbox.php
 Single checkbox form element.
 
file  behat_form_date_selector.php
 Date form field class.
 
file  behat_form_date_time_selector.php
 Date time form field class.
 
file  behat_form_editor.php
 Moodle editor field.
 
file  behat_form_field.php
 Generic moodleforms field.
 
file  behat_form_filemanager.php
 File manager form element.
 
file  behat_form_group.php
 Generic group field class.
 
file  behat_form_modvisible.php
 Silly behat_form_select extension.
 
file  behat_form_passwordunmask.php
 Silly behat_form_select extension.
 
file  behat_form_radio.php
 Radio input form element.
 
file  behat_form_select.php
 Single select form field class.
 
file  behat_form_selectyesno.php
 Silly behat_form_select extension.
 
file  behat_form_text.php
 Text field class.
 
file  behat_form_textarea.php
 Textarea field class.
 
file  button.php
 Button form element.
 
file  cancel.php
 Button form element.
 
file  checkbox.php
 checkbox form element
 
file  cohort.php
 Course selector field.
 
file  course.php
 Course selector field.
 
file  dateselector.php
 Group of date input element.
 
file  datetimeselector.php
 Group of date and time input element.
 
file  defaultcustom.php
 Creates an element with a dropdown Default/Custom and an input for the value (text or date_selector)
 
file  duration.php
 Duration form element.
 
file  editor.php
 Editor input element.
 
file  external.php
 Provides the core_form\external class.
 
file  filemanager.php
 FileManager form element.
 
file  filepicker.php
 Filepicker form element.
 
file  filetypes.php
 Provides the MoodleQuickForm_filetypes class.
 
file  filetypes_util.php
 Provides the core_form\filetypes_util class.
 
file  float.php
 Float type form element.
 
file  formslib.php
 formslib.php - library of classes for creating forms in Moodle, based on PEAR QuickForms.
 
file  grading.php
 Advance grading form element.
 
file  group.php
 Form element group.
 
file  header.php
 Header form element.
 
file  hidden.php
 Hidden type form element.
 
file  htmleditor.php
 htmleditor type form element
 
file  listing.php
 Listing form element.
 
file  modgrade.php
 Drop down form element to select the grade.
 
file  modvisible.php
 Drop down form element to select visibility in an activity mod update form.
 
file  password.php
 Password type form element.
 
file  passwordunmask.php
 Password type form element with unmask option.
 
file  provider.php
 Provides core_form\privacy\provider class.
 
file  questioncategory.php
 Drop down for question categories.
 
file  radio.php
 radio type form element
 
file  recaptcha.php
 recaptcha type form element
 
file  searchableselector.php
 Searchable selector field (alias for autocomplete).
 
file  select.php
 select type form element
 
file  selectgroups.php
 select type form element
 
 
file  selectyesno.php
 Yes/No drop down type form element.
 
file  static.php
 Text type form element.
 
file  submit.php
 submit type form element
 
file  tags.php
 Tag autocomplete field.
 
file  templatable_form_element.php
 Adds export_for_template behaviour to an mform element in a consistent and predictable way.
 
file  text.php
 Text type form element.
 
file  textarea.php
 Textarea type form element.
 
file  url.php
 url type form element
 
file  util.php
 Provides the core_form\util class.
 
file  warning.php
 static warning element
 

Namespaces

 core_form
  
 
 core_form\privacy
  
 

Classes

class  behat_core_form
 Steps definitions related to core_form. More...
 
class  behat_form_autocomplete
 
class  behat_form_availability
 
class  behat_form_checkbox
 
class  behat_form_date_selector
 
class  behat_form_date_time_selector
 
class  behat_form_editor
 
class  behat_form_field
 
class  behat_form_filemanager
 
class  behat_form_group
 
class  behat_form_modvisible
 
class  behat_form_passwordunmask
 
class  behat_form_radio
 
class  behat_form_select
 
class  behat_form_selectyesno
 
class  behat_form_text
 
class  behat_form_textarea
 
class  core_form\external
 Implements the external functions provided by the core_form subsystem. More...
 
class  core_form\filetypes_util
 Utility class for handling with file types in the forms. More...
 
class  core_form\privacy\provider
 Implements the privacy API for the core_form subsystem. More...
 
class  core_form\util
 General utility class for form-related methods. More...
 
class  form_filemanager
 Data structure representing a file manager. More...
 
category  if
 Advance grading form element. More...
 
class  moodleform
 Wrapper that separates quickforms syntax from moodle code. More...
 
class  MoodleQuickForm
 
class  MoodleQuickForm_advcheckbox
 
class  MoodleQuickForm_autocomplete
 Autocomplete as you type form element. More...
 
class  MoodleQuickForm_button
 
class  MoodleQuickForm_cancel
 
class  MoodleQuickForm_checkbox
 
class  MoodleQuickForm_cohort
 Form field type for choosing a cohort. More...
 
class  MoodleQuickForm_course
 Form field type for choosing a course. More...
 
class  MoodleQuickForm_date_selector
 
class  MoodleQuickForm_date_time_selector
 
class  MoodleQuickForm_defaultcustom
 Creates an element with a dropdown Default/Custom and an input for the value (text or date_selector) More...
 
class  MoodleQuickForm_duration
 
class  MoodleQuickForm_editor
 
class  MoodleQuickForm_filemanager
 
class  MoodleQuickForm_filepicker
 
class  MoodleQuickForm_filetypes
 
class  MoodleQuickForm_float
 Float type form element. More...
 
class  MoodleQuickForm_grading
 
class  MoodleQuickForm_group
 
class  MoodleQuickForm_header
 
class  MoodleQuickForm_hidden
 
class  MoodleQuickForm_htmleditor
 
class  MoodleQuickForm_listing
 The listing element is a simple customizable "select" without the input type=select. More...
 
class  MoodleQuickForm_modgrade
 
class  MoodleQuickForm_modvisible
 
class  MoodleQuickForm_password
 
class  MoodleQuickForm_passwordunmask
 
class  MoodleQuickForm_questioncategory
 
class  MoodleQuickForm_radio
 
class  MoodleQuickForm_recaptcha
 
class  MoodleQuickForm_Renderer
 MoodleQuickForm renderer. More...
 
class  MoodleQuickForm_Rule_Required
 
class  MoodleQuickForm_searchableselector
 Form field type for selecting from a list of options. More...
 
class  MoodleQuickForm_select
 
class  MoodleQuickForm_selectgroups
 
class  MoodleQuickForm_selectwithlink
 
class  MoodleQuickForm_selectyesno
 
class  MoodleQuickForm_static
 
class  MoodleQuickForm_submit
 
class  MoodleQuickForm_tags
 Form field type for editing tags. More...
 
class  MoodleQuickForm_text
 
class  MoodleQuickForm_textarea
 
class  MoodleQuickForm_url
 
class  MoodleQuickForm_warning
 

Functions

if($CFG->debugdeveloper) moodle_page form_init_date_js ()
 Initalize javascript for date type form element. More...
 
 pear_handle_error ($error)
 Callback called when PEAR throws an error. More...
 

Variables

global $CFG
 
if(!defined('MOODLE_INTERNAL')) global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
if(!defined('MOODLE_INTERNAL')) global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
global $CFG
 
object $GLOBALS ['_HTML_QuickForm_default_renderer'] = new MoodleQuickForm_Renderer()
 $GLOBALS['_HTML_QuickForm_default_renderer']
 
const EDITOR_UNLIMITED_FILES -1
 setup.php includes our hacked pear libs first More...
 
 if (!defined( 'MOODLE_INTERNAL'))
 

Detailed Description

Function Documentation

◆ form_init_date_js()

if ( $CFG->debugdeveloper) moodle_page form_init_date_js ( )

Initalize javascript for date type form element.

@staticvar bool $done make sure it gets initalize once. $PAGE

◆ pear_handle_error()

pear_handle_error (   $error)

Callback called when PEAR throws an error.

Parameters
PEAR_Error$error

Variable Documentation

◆ EDITOR_UNLIMITED_FILES

const EDITOR_UNLIMITED_FILES -1

setup.php includes our hacked pear libs first

EDITOR_UNLIMITED_FILES - hard-coded value for the 'maxfiles' option