Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Class: cc2moodle  - X-Ref


getquizns()   X-Ref

return: array

getforumns()   X-Ref

return: array

getresourcens()   X-Ref

return: array

get_manifest($folder)   X-Ref
No description

__construct($path_to_manifest)   X-Ref
No description

is_auth()   X-Ref
No description

get_metadata($section, $key)   X-Ref
No description

generate_moodle_xml()   X-Ref
No description

get_sections_numbers($instances)   X-Ref
No description

create_node_course_header()   X-Ref
No description

create_node_question_categories()   X-Ref
No description

create_node_course_modules_mod()   X-Ref
No description

create_node_course_sections_section()   X-Ref
No description

create_node_course_blocks_block()   X-Ref
No description

get_module_visible($identifier)   X-Ref
Is activity visible or not

param: string $identifier
return: number

create_node_course_sections_section_mods_mod($root_parent)   X-Ref
No description

get_nodes_by_criteria($key, $value)   X-Ref
No description

create_code_info_details_mod()   X-Ref
No description

create_mod_info_details_mod($mod_type, $node_info_details_mod_instances_instance)   X-Ref
No description

create_mod_info_details_mod_instances_instance($sheet, $instances_quantity, $instances)   X-Ref
No description

create_instances($items, $level = 0, &$array_index = 0, $index_root = 0)   X-Ref
No description

count_instances($type)   X-Ref
No description

convert_to_moodle_type($cc_type)   X-Ref
No description

get_item_cc_type($identifier)   X-Ref
No description

newx_path(DOMDocument $manifest, $namespaces = '')   X-Ref
No description

loadsheet($file)   X-Ref
No description

log_file()   X-Ref
No description

log_action($text, $critical_error = false)   X-Ref
No description

critical_error($text)   X-Ref
No description

create_course_code($title)   X-Ref
No description