Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
cc_version_base Class Reference

Abstract Version Base class. More...

Inheritance diagram for cc_version_base:
cc_version1 cc_version11

Public Member Functions

 create_manifest (DOMDocument &$doc, $rootmanifestnode=null)
 
 create_metadata_file_node (&$met, DOMDocument &$doc, $xmlnode=null)
 
 create_metadata_node (&$met, DOMDocument &$doc, $xmlnode=null)
 
 create_metadata_resource_node (&$met, DOMDocument &$doc, $xmlnode=null)
 
 create_organization_node (cc_i_organization &$org, DOMDocument &$doc, $xmlnode=null)
 
 create_resource_node (cc_i_resource &$res, DOMDocument &$doc, $xmlnode=null)
 
 get_base ()
 
 get_cc_namespaces ()
 
 import_organization_items (DOMElement &$node, cc_i_manifest &$doc)
 
 import_resources (DOMElement &$node, cc_i_manifest &$doc)
 
 manifestID ()
 
 set_base ($baseval)
 
 set_generator ($value)
 
 set_manifestID ($id)
 

Public Attributes

 $camversion = null
 
 $ccversion = null
 
 $organizations = null
 
 $resources = null
 
 $resources_ind = null
 

Protected Member Functions

 create_metadata_file (cc_i_metadata_file $met, DOMDocument &$doc, $xmlnode=null)
 
 create_metadata_manifest (cc_i_metadata_manifest $met, DOMDocument &$doc, $xmlnode=null)
 
 create_metadata_resource (cc_i_metadata_resource $met, DOMDocument &$doc, $xmlnode=null)
 
 create_organization (cc_i_organization &$org, DOMDocument &$doc, $xmlnode=null)
 
 create_resource (cc_i_resource &$res, DOMDocument &$doc, $xmlnode=null)
 
 on_create (DOMDocument &$doc, $rootmanifestnode=null, $nmanifestID=null)
 

Protected Attributes

 $_generator = null
 
 $base = null
 
 $ccnamespaces = array()
 
 $isrootmanifest = false
 
 $manifestID = null
 
 $metadata = null
 
 $organizationid = null
 

Detailed Description

Abstract Version Base class.

Member Function Documentation

◆ create_metadata_file()

cc_version_base::create_metadata_file ( cc_i_metadata_file  $met,
DOMDocument &  $doc,
  $xmlnode = null 
)
abstractprotected

Reimplemented in cc_version1.

◆ create_metadata_manifest()

cc_version_base::create_metadata_manifest ( cc_i_metadata_manifest  $met,
DOMDocument &  $doc,
  $xmlnode = null 
)
abstractprotected

Reimplemented in cc_version1.

◆ create_metadata_resource()

cc_version_base::create_metadata_resource ( cc_i_metadata_resource  $met,
DOMDocument &  $doc,
  $xmlnode = null 
)
abstractprotected

Reimplemented in cc_version1.

◆ create_organization()

cc_version_base::create_organization ( cc_i_organization $org,
DOMDocument &  $doc,
  $xmlnode = null 
)
abstractprotected

Reimplemented in cc_version1.

◆ create_resource()

cc_version_base::create_resource ( cc_i_resource $res,
DOMDocument &  $doc,
  $xmlnode = null 
)
abstractprotected

Reimplemented in cc_version1.


The documentation for this class was generated from the following file: