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.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

(no description)

Copyright: 2011 Darko Miletic <dmiletic@moodlerooms.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 278 lines (9 kb)
Included or required: 2 times
Referenced: 1 time
Includes or requires: 4 files
 backup/cc/cc_lib/cc_manifest.php
 backup/cc/cc_lib/cc_version_base.php
 backup/cc/cc_lib/cc_utils.php
 backup/cc/cc_lib/cc_resources.php

Defines 2 classes

cc_organization:: (8 methods):
  __construct()
  add_item()
  add_new_item()
  has_items()
  attr_value()
  process_organization()
  init_new()
  uuidgen()

cc_item:: (10 methods):
  __construct()
  attr_value()
  process_item()
  add_child_item()
  add_new_child_item()
  attach_resource()
  has_child_items()
  child_item()
  init_clean()
  init_new_item()


Class: cc_organization  - X-Ref

Organization Class

__construct($node=null, $doc=null)   X-Ref
No description

add_item(cc_i_item &$item)   X-Ref
Add one Item into the Organization

param: cc_i_item $item

add_new_item($title='')   X-Ref
Add new Item into the Organization

param: string $title
return: cc_i_item

has_items()   X-Ref
No description

attr_value(&$nod, $name, $ns=null)   X-Ref
No description

process_organization(&$node,&$doc)   X-Ref
No description

init_new()   X-Ref
No description

uuidgen()   X-Ref
No description

Class: cc_item  - X-Ref

Item Class

__construct($node=null,$doc=null)   X-Ref
No description

attr_value(&$nod, $name, $ns=null)   X-Ref
No description

process_item(&$node,&$doc)   X-Ref
No description

add_child_item(cc_i_item &$item)   X-Ref
Add one Child Item

param: cc_i_item $item

add_new_child_item($title='')   X-Ref
Add new child Item

param: string $title
return: cc_i_item

attach_resource($resource)   X-Ref
No description

has_child_items()   X-Ref
No description

child_item($identifier)   X-Ref
No description

init_clean()   X-Ref
No description

init_new_item()   X-Ref
No description