Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Manifest Class. More...
Public Member Functions | |
__construct ($ccver=cc_version::v1, $activemanifest=null, $parentmanifest=null, $parentparentmanifest=null) | |
add_metadata_file (cc_i_metadata_file $met, $identifier, $filename) | |
Add Metadata For File. More... | |
add_metadata_manifest (cc_i_metadata_manifest $met) | |
Add Metadata For Manifest. More... | |
add_metadata_resource (cc_i_metadata_resource $met, $identifier) | |
Add Metadata For Resource. More... | |
add_new_organization (cc_i_organization &$org) | |
Add a new organization. More... | |
add_resource (cc_i_resource $res, $identifier=null, $type='webcontent') | |
Add a resource to the manifest. More... | |
get_cc_namespace_path ($nsname) | |
get_manifest_namespaces () | |
get_relative_base_path () | |
get_resource_list ($searchspecific='') | |
get_resource_list () | |
get_resources ($searchspecific='') | |
get_resources () | |
manifestID () | |
on_create () | |
on_load () | |
on_save () | |
parent_manifest () | |
put_nodes () | |
Append the resources nodes in the Manifest. More... | |
register_namespaces_for_xpath () | |
Register Namespace for use XPATH. | |
root_manifest () | |
update_instructoronly ($identifier, $value=false) | |
Manifest Class.
cc_manifest::add_metadata_file | ( | cc_i_metadata_file | $met, |
$identifier, | |||
$filename | |||
) |
Add Metadata For File.
cc_i_metadata_file | $met | |
string | $identifier | |
string | $filename |
Implements cc_i_manifest.
cc_manifest::add_metadata_manifest | ( | cc_i_metadata_manifest | $met | ) |
cc_manifest::add_metadata_resource | ( | cc_i_metadata_resource | $met, |
$identifier | |||
) |
Add Metadata For Resource.
cc_i_metadata_resource | $met | |
string | $identifier |
Implements cc_i_manifest.
cc_manifest::add_new_organization | ( | cc_i_organization & | $org | ) |
cc_manifest::add_resource | ( | cc_i_resource | $res, |
$identifier = null , |
|||
$type = 'webcontent' |
|||
) |
Add a resource to the manifest.
cc_i_resource | $res | |
string | $identifier | |
string | $type |
array |
Implements cc_i_manifest.
cc_manifest::on_create | ( | ) |
Implements cc_i_manifest.
cc_manifest::on_load | ( | ) |
Implements cc_i_manifest.
cc_manifest::on_save | ( | ) |
Implements cc_i_manifest.
cc_manifest::put_nodes | ( | ) |