|  | 
|  | __construct ($path_to_manifest) | 
|  | 
|  | convert_to_moodle_type ($cc_type) | 
|  | 
|  | count_instances ($type) | 
|  | 
|  | generate_moodle_xml () | 
|  | 
|  | get_item_cc_type ($identifier) | 
|  | 
|  | get_nodes_by_criteria ($key, $value) | 
|  | 
|  | is_auth () | 
|  | 
|  | 
| static | get_manifest ($folder) | 
|  | 
| static | getforumns () | 
|  | 
| static | getquizns () | 
|  | 
| static | getresourcens () | 
|  | 
| static | loadsheet ($file) | 
|  | 
| static | log_action ($text, $critical_error=false) | 
|  | 
| static | log_file () | 
|  | 
| static | newx_path (DOMDocument $manifest, $namespaces='') | 
|  | 
|  | 
| const | CC_TYPE_ASSOCIATED_CONTENT = 'associatedcontent/imscc_xmlv1p0/learning-application-resource' | 
|  | 
| const | CC_TYPE_EMPTY = '' | 
|  | 
| const | CC_TYPE_FORUM = 'imsdt_xmlv1p0' | 
|  | 
| const | CC_TYPE_QUESTION_BANK = 'imsqti_xmlv1p2/imscc_xmlv1p0/question-bank' | 
|  | 
| const | CC_TYPE_QUIZ = 'imsqti_xmlv1p2/imscc_xmlv1p0/assessment' | 
|  | 
| const | CC_TYPE_WEBCONTENT = 'webcontent' | 
|  | 
| const | CC_TYPE_WEBLINK = 'imswl_xmlv1p0' | 
|  | 
|  | 
| static | $forumns = array('dt' => 'http://www.imsglobal.org/xsd/imsdt_v1p0') | 
|  | 
| static | $instances = array() | 
|  | 
| static | $manifest | 
|  | 
| static | $namespaces | 
|  | 
| static | $path_to_manifest_folder | 
|  | 
| static | $quizns = array('xmlns' => 'http://www.imsglobal.org/xsd/ims_qtiasiv1p2') | 
|  | 
| static | $resourcens = array('wl' => 'http://www.imsglobal.org/xsd/imswl_v1p0') | 
|  | 
| static | $restypes = array('associatedcontent/imscc_xmlv1p0/learning-application-resource', 'webcontent') | 
|  | 
|  | 
|  | create_code_info_details_mod () | 
|  | 
|  | create_course_code ($title) | 
|  | 
|  | create_instances ($items, $level=0, &$array_index=0, $index_root=0) | 
|  | 
|  | create_mod_info_details_mod ($mod_type, $node_info_details_mod_instances_instance) | 
|  | 
|  | create_mod_info_details_mod_instances_instance ($sheet, $instances_quantity, $instances) | 
|  | 
|  | create_node_course_blocks_block () | 
|  | 
|  | create_node_course_header () | 
|  | 
|  | create_node_course_modules_mod () | 
|  | 
|  | create_node_course_sections_section () | 
|  | 
|  | create_node_course_sections_section_mods_mod ($root_parent) | 
|  | 
|  | create_node_question_categories () | 
|  | 
|  | get_metadata ($section, $key) | 
|  | 
|  | get_module_visible ($identifier) | 
|  | Is activity visible or not. 
 | 
|  | 
|  | get_sections_numbers ($instances) | 
|  | 
|  | 
| static | critical_error ($text) | 
|  | 
◆ get_module_visible()
  
  | 
        
          | cc2moodle::get_module_visible | ( |  | $identifier | ) |  |  | protected | 
 
Is activity visible or not. 
- Parameters
- 
  
  
- Return values
- 
  
  
Reimplemented in cc112moodle.
 
 
◆ getforumns()
  
  | 
        
          | static cc2moodle::getforumns | ( |  | ) |  |  | static | 
 
 
◆ getquizns()
  
  | 
        
          | static cc2moodle::getquizns | ( |  | ) |  |  | static | 
 
 
◆ getresourcens()
  
  | 
        
          | static cc2moodle::getresourcens | ( |  | ) |  |  | static | 
 
 
◆ $namespaces
Initial value:= 
array(
'imscc'    => 
'http://www.imsglobal.org/xsd/imscc/imscp_v1p1',
                                      'lomimscc' => 'http://ltsc.ieee.org/xsd/imscc/LOM',
                                      'lom'      => 'http://ltsc.ieee.org/xsd/LOM',
                                      'voc'      => 'http://ltsc.ieee.org/xsd/LOM/vocab',
                                      'xsi'      => 'http://www.w3.org/2001/XMLSchema-instance',
                                      'cc'       => 'http://www.imsglobal.org/xsd/imsccauth_v1p0')
 
 
The documentation for this class was generated from the following file: