Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 402] [Versions 400 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: 0 times
Includes or requires: 4 files
 backup/cc/cc_lib/cc_version_base.php
 backup/cc/cc_lib/cc_manifest.php
 backup/cc/cc_lib/cc_resources.php
 backup/cc/cc_lib/cc_utils.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

return: cc_i_item
param: string $title

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

return: cc_i_item
param: string $title

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