Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

(no description)

Copyright: 2011 Darko Miletic <dmiletic@moodlerooms.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 235 lines (8 kb)
Included or required: 2 times
Referenced: 1 time
Includes or requires: 7 files
 backup/cc/cc_lib/cc_version_base.php
 backup/cc/cc_lib/cc_version1.php
 backup/cc/cc_lib/cc_interfaces.php
 backup/cc/cc_lib/gral_lib/ccdependencyparser.php
 backup/cc/cc_lib/xmlbase.php
 backup/cc/cc_lib/cc_manifest.php
 backup/cc/cc_lib/gral_lib/pathutils.php

Defines 4 classes

cc_version:: (0 methods):

cc1_resource_type:: (0 methods):

cc11_resource_type:: (0 methods):

cc_resource:: (9 methods):
  __construct()
  add_resource()
  import_resource()
  get_attr_value()
  process_resource()
  adjust_path()
  init_clean()
  init_empty_new()
  get_manifestroot()


Class: cc_version  - X-Ref

Common Cartridge Version

Class: cc1_resource_type  - X-Ref

Class: cc_resource  - X-Ref

Resource Class

__construct($manifest, $file, $folder='', $throwonerror = true)   X-Ref
No description

add_resource($fname, $location ='')   X-Ref
Add resource

param: string $fname
param: string $location

import_resource(DOMElement &$node, cc_i_manifest &$doc)   X-Ref
Import a resource

param: DOMElement $node
param: cc_i_manifest $doc

get_attr_value(&$nod, $name, $ns=null)   X-Ref
Get a attribute value

param: DOMElement $nod
param: string $name
param: string $ns
return: string

process_resource($manifestroot, &$fname, $folder)   X-Ref
Process a resource

param: string $manifestroot
param: string $fname
param: string $folder

adjust_path($mroot, $fname)   X-Ref
No description

init_clean()   X-Ref
No description

init_empty_new()   X-Ref
No description

get_manifestroot()   X-Ref
No description