Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
cc_manifest Class Reference

Manifest Class. More...

Inheritance diagram for cc_manifest:
cc_i_manifest

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)
 

Detailed Description

Manifest Class.

Member Function Documentation

◆ add_metadata_file()

cc_manifest::add_metadata_file ( cc_i_metadata_file $met,
$identifier,
$filename )

Add Metadata For File.

Parameters
cc_i_metadata_file$met
string$identifier
string$filename

Implements cc_i_manifest.

◆ add_metadata_manifest()

cc_manifest::add_metadata_manifest ( cc_i_metadata_manifest $met)

Add Metadata For Manifest.

Parameters
cc_i_metadata_manifest$met

Implements cc_i_manifest.

◆ add_metadata_resource()

cc_manifest::add_metadata_resource ( cc_i_metadata_resource $met,
$identifier )

Add Metadata For Resource.

Parameters
cc_i_metadata_resource$met
string$identifier

Implements cc_i_manifest.

◆ add_new_organization()

cc_manifest::add_new_organization ( cc_i_organization & $org)

Add a new organization.

Parameters
cc_i_organization$org

Implements cc_i_manifest.

◆ add_resource()

cc_manifest::add_resource ( cc_i_resource $res,
$identifier = null,
$type = 'webcontent' )

Add a resource to the manifest.

Parameters
cc_i_resource$res
string$identifier
string$type
Return values
array

Implements cc_i_manifest.

◆ on_create()

cc_manifest::on_create ( )

Implements cc_i_manifest.

◆ on_load()

cc_manifest::on_load ( )

Implements cc_i_manifest.

◆ on_save()

cc_manifest::on_save ( )

Implements cc_i_manifest.

◆ put_nodes()

cc_manifest::put_nodes ( )

Append the resources nodes in the Manifest.

Return values
DOMNode

Implements cc_i_manifest.


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