Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is 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: 0 times
Includes or requires: 7 files
 backup/cc/cc_lib/gral_lib/ccdependencyparser.php
 backup/cc/cc_lib/gral_lib/pathutils.php
 backup/cc/cc_lib/cc_version1.php
 backup/cc/cc_lib/cc_manifest.php
 backup/cc/cc_lib/cc_version_base.php
 backup/cc/cc_lib/cc_interfaces.php
 backup/cc/cc_lib/xmlbase.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