Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
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. | |
add_metadata_manifest (cc_i_metadata_manifest $met) | |
Add Metadata For Manifest. | |
add_metadata_resource (cc_i_metadata_resource $met, $identifier) | |
Add Metadata For Resource. | |
add_new_organization (cc_i_organization &$org) | |
Add a new organization. | |
add_resource (cc_i_resource $res, $identifier=null, $type='webcontent') | |
Add a resource to the manifest. | |
get_cc_namespace_path ($nsname) | |
get_manifest_namespaces () | |
get_relative_base_path () | |
get_resource_list () | |
get_resource_list ($searchspecific='') | |
get_resources () | |
get_resources ($searchspecific='') | |
manifestID () | |
on_create () | |
on_load () | |
on_save () | |
parent_manifest () | |
put_nodes () | |
Append the resources nodes in the Manifest. | |
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 | ( | ) |