See Release Notes
Long Term Support Release
Manifest management
Copyright: | 2011 Darko Miletic <dmiletic@moodlerooms.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 356 lines (12 kb) |
Included or required: | 2 times |
Referenced: | 0 times |
Includes or requires: | 5 files backup/cc/cc_lib/xmlbase.php backup/cc/cc_lib/cc_version_base.php backup/cc/cc_lib/cc_resources.php backup/cc/cc_lib/gral_lib/pathutils.php backup/cc/cc_lib/cc_utils.php |
cc_manifest:: (26 methods):
__construct()
register_namespaces_for_xpath()
fill_manifest()
add_metadata_manifest()
add_metadata_resource()
add_metadata_file()
on_create()
get_relative_base_path()
parent_manifest()
root_manifest()
manifestID()
get_manifest_namespaces()
add_new_organization()
get_resources()
get_cc_namespace_path()
get_resource_list()
on_load()
on_save()
add_resource()
check_if_exist_in_other()
replace_file_x_dependency()
get_identifier_by_filename()
array_remove_by_value()
array_remove_by_key()
update_instructoronly()
put_nodes()
Class: cc_manifest - X-Ref
Manifest Class__construct($ccver = cc_version::v1, $activemanifest=null,$parentmanifest=null, $parentparentmanifest=null) X-Ref |
No description |
register_namespaces_for_xpath() X-Ref |
Register Namespace for use XPATH |
fill_manifest() X-Ref |
TODO - implement this method - critical Enter description here ... |
add_metadata_manifest(cc_i_metadata_manifest $met) X-Ref |
Add Metadata For Manifest param: cc_i_metadata_manifest $met |
add_metadata_resource(cc_i_metadata_resource $met, $identifier) X-Ref |
Add Metadata For Resource param: cc_i_metadata_resource $met param: string $identifier |
add_metadata_file(cc_i_metadata_file $met, $identifier, $filename) X-Ref |
Add Metadata For File param: cc_i_metadata_file $met param: string $identifier param: string $filename |
on_create() X-Ref |
No description |
get_relative_base_path() X-Ref |
No description |
parent_manifest() X-Ref |
No description |
root_manifest() X-Ref |
No description |
manifestID() X-Ref |
No description |
get_manifest_namespaces() X-Ref |
No description |
add_new_organization(cc_i_organization &$org) X-Ref |
Add a new organization param: cc_i_organization $org |
get_resources($searchspecific='') X-Ref |
No description |
get_cc_namespace_path($nsname) X-Ref |
No description |
get_resource_list($searchspecific = '') X-Ref |
No description |
on_load() X-Ref |
No description |
on_save() X-Ref |
No description |
add_resource(cc_i_resource $res, $identifier = null, $type = 'webcontent') X-Ref |
Add a resource to the manifest param: cc_i_resource $res param: string $identifier param: string $type return: array |
check_if_exist_in_other($name, $identifier) X-Ref |
No description |
replace_file_x_dependency($depen, $name) X-Ref |
No description |
get_identifier_by_filename($name) X-Ref |
No description |
array_remove_by_value($arr, $value) X-Ref |
No description |
array_remove_by_key($arr, $key) X-Ref |
No description |
update_instructoronly($identifier, $value = false) X-Ref |
No description |
put_nodes() X-Ref |
Append the resources nodes in the Manifest return: DOMNode |