Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Version 1.1 class of Common Cartridge. More...
Public Member Functions | |
create_manifest (DOMDocument &$doc, $rootmanifestnode=null) | |
create_metadata_educational ($met, DOMDocument &$doc, $xmlnode) | |
Create Education Metadata (How To) | |
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) | |
valid ($type) | |
Validate if the type are valid or not. | |
Static Public Attributes | |
static | $checker |
Protected Member Functions | |
create_item_folder (cc_i_organization &$org, DOMDocument &$doc, DOMElement &$xmlnode=null) | |
Create an Item Folder (How To) | |
create_metadata_file (cc_i_metadata_file $met, DOMDocument &$doc, $xmlnode=null) | |
Create Metadata For File (How To) | |
create_metadata_general ($met, DOMDocument &$doc, $xmlnode) | |
Create General Metadata (How To) | |
create_metadata_lifecycle ($met, DOMDocument &$doc, $xmlnode) | |
Create Lifecycle Metadata (How To) | |
create_metadata_manifest (cc_i_metadata_manifest $met, DOMDocument &$doc, $xmlnode=null) | |
Create Metadata For Manifest (How To) | |
create_metadata_resource (cc_i_metadata_resource $met, DOMDocument &$doc, $xmlnode=null) | |
Create Metadata For Resource (How To) | |
create_metadata_rights ($met, DOMDocument &$doc, $xmlnode) | |
Create Rights Metadata (How To) | |
create_metadata_technical ($met, DOMDocument &$doc, $xmlnode) | |
Create Technical Metadata (How To) | |
create_organization (cc_i_organization &$org, DOMDocument &$doc, $xmlnode=null) | |
Create an Organization (How To) | |
create_resource (cc_i_resource &$res, DOMDocument &$doc, $xmlnode=null) | |
Create a Resource (How to) | |
get_child_node (DOMDocument &$doc, $itemname, DOMElement &$node) | |
on_create (DOMDocument &$doc, $rootmanifestnode=null, $nmanifestID=null) | |
update_attribute (DOMDocument &$doc, $attrname, $attrvalue, DOMElement &$node) | |
update_attribute_ns (DOMDocument &$doc, $attrname, $attrnamespace, $attrvalue, DOMElement &$node) | |
update_child_item (DOMDocument &$doc, $itemname, $itemvalue, DOMElement &$node, $attrtostore=null) | |
update_items ($items, DOMDocument &$doc, DOMElement &$xmlnode) | |
Protected Attributes | |
$_generator = null | |
$base = null | |
$ccnamespaces = array() | |
array | $ccnsnames = [] |
CC URL profiles. | |
$isrootmanifest = false | |
$manifestID = null | |
$metadata = null | |
$organizationid = null | |
Version 1.1 class of Common Cartridge.
cc_version11::__construct | ( | ) |
Reimplemented from cc_version1.
|
protectedinherited |
Create an Item Folder (How To)
cc_i_organization | $org | |
DOMDocument | $doc | |
DOMElement | $xmlnode |
cc_version11::create_metadata_educational | ( | $met, | |
DOMDocument & | $doc, | ||
$xmlnode ) |
Create Education Metadata (How To)
object | $met | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
Reimplemented from cc_version1.
|
protectedinherited |
Create Metadata For File (How To)
cc_i_metadata_file | $met | |
DOMDocument | $doc | |
Object | $xmlnode |
DOMNode |
Reimplemented from cc_version_base.
|
protectedinherited |
Create General Metadata (How To)
object | $met | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
|
protectedinherited |
Create Lifecycle Metadata (How To)
object | $met | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
|
protectedinherited |
Create Metadata For Manifest (How To)
cc_i_metadata_manifest | $met | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
Reimplemented from cc_version_base.
|
protectedinherited |
Create Metadata For Resource (How To)
cc_i_metadata_resource | $met | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
Reimplemented from cc_version_base.
|
protectedinherited |
Create Rights Metadata (How To)
object | $met | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
|
protectedinherited |
Create Technical Metadata (How To)
object | $met | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
|
protectedinherited |
Create an Organization (How To)
cc_i_organization | $org | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
Reimplemented from cc_version_base.
|
protectedinherited |
Create a Resource (How to)
cc_i_resource | $res | |
DOMDocument | $doc | |
object | $xmlnode |
DOMNode |
Reimplemented from cc_version_base.
|
protectedinherited |
Reimplemented from cc_version_base.
|
protected |
Reimplemented from cc_version1.
cc_version11::valid | ( | $type | ) |
Validate if the type are valid or not.
string | $type |
bool |
Reimplemented from cc_version1.
|
static |