Moodle PHP Documentation 4.1
Moodle 4.1dev (Build: 20220512) (5e5e12e0)
Namespaces | Classes | Functions | Variables
core_form

Namespaces

namespace  core_form
  
 
namespace  core_form\external
  
 
namespace  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
 
class  behat_form_date_time
 
class  behat_form_editor
 
class  behat_form_field
 
class  behat_form_filemanager
 
class  behat_form_group
 
class  behat_form_inplaceeditable
 
class  behat_form_inplaceeditable_select
 
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\dynamic_form
 
class  core_form\external
 Implements the external functions provided by the core_form subsystem. More...
 
class  core_form\external\dynamic_form
 
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_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 core_form::$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