core_customfield/form

Description:
  • Custom Field interaction management for Moodle.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Custom Field interaction management for Moodle.

Members

(static, constant) init

Description:
  • Initialise the custom fields manager.

Source:

Initialise the custom fields manager.

Methods

(inner) confirmDelete(id, type, component, area, itemid)

Description:
  • Display confirmation dialogue

Source:
Parameters:
Name Type Description
id Number
type String
component String
area String
itemid Number

(inner) createNewCategory(component, area, itemid)

Description:
  • Creates a new custom fields category with default name and updates the list

Source:
Parameters:
Name Type Description
component String
area String
itemid Number

(inner) createNewField(element, component, area, itemid)

Description:
  • Create new custom field

Source:
Parameters:
Name Type Description
element HTMLElement
component String
area String
itemid Number

(inner) editField(element, component, area, itemid)

Description:
  • Edit custom field

Source:
Parameters:
Name Type Description
element HTMLElement
component String
area String
itemid Number

(inner) getCategoryNameFor(nodeElement) → {String}

Description:
  • Fetch the category name from an inplace editable, given a child node of that field.

Source:
Parameters:
Name Type Description
nodeElement NodeElement
Returns:
Type
String