Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.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: 116 lines (3 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 classes

cc_i_manifest:: (11 methods):
  on_create()
  on_load()
  on_save()
  add_new_organization()
  get_resources()
  get_resource_list()
  add_resource()
  add_metadata_manifest()
  add_metadata_resource()
  add_metadata_file()
  put_nodes()

cc_i_organization:: (4 methods):
  add_item()
  has_items()
  attr_value()
  process_organization()

cc_i_item:: (5 methods):
  add_child_item()
  attach_resource()
  has_child_items()
  attr_value()
  process_item()

cc_i_resource:: (4 methods):
  get_attr_value()
  add_resource()
  import_resource()
  process_resource()

cc_i_metadata_manifest:: (4 methods):
  add_metadata_general()
  add_metadata_technical()
  add_metadata_rights()
  add_metadata_lifecycle()

cc_i_metadata_resource:: (1 method):
  add_metadata_resource_educational()

cc_i_metadata_file:: (1 method):
  add_metadata_file_educational()


Interface: cc_i_manifest  - X-Ref

CC Manifest Interface

on_create()   X-Ref
No description

on_load()   X-Ref
No description

on_save()   X-Ref
No description

add_new_organization(cc_i_organization &$org)   X-Ref
No description

get_resources()   X-Ref
No description

get_resource_list()   X-Ref
No description

add_resource(cc_i_resource $res, $identifier=null, $type='webcontent')   X-Ref
No description

add_metadata_manifest(cc_i_metadata_manifest $met)   X-Ref
No description

add_metadata_resource(cc_i_metadata_resource $met,$identifier)   X-Ref
No description

add_metadata_file(cc_i_metadata_file $met,$identifier,$filename)   X-Ref
No description

put_nodes()   X-Ref
No description

Interface: cc_i_organization  - X-Ref

CC Organization Interface

add_item(cc_i_item &$item)   X-Ref
No description

has_items()   X-Ref
No description

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

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

Interface: cc_i_item  - X-Ref

CC Item Interface

add_child_item(cc_i_item &$item)   X-Ref
No description

attach_resource($res)   X-Ref
No description

has_child_items()   X-Ref
No description

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

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

Interface: cc_i_resource  - X-Ref

CC Resource Interface

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

add_resource($fname, $location='')   X-Ref
No description

import_resource(DOMElement &$node, cc_i_manifest &$doc)   X-Ref
No description

process_resource($manifestroot, &$fname,$folder)   X-Ref
No description

Interface: cc_i_metadata_manifest  - X-Ref

CC Metadata Manifest Interface

add_metadata_general($obj)   X-Ref
No description

add_metadata_technical($obj)   X-Ref
No description

add_metadata_rights($obj)   X-Ref
No description

add_metadata_lifecycle($obj)   X-Ref
No description

Interface: cc_i_metadata_resource  - X-Ref

CC Metadata Resource Interface

Interface: cc_i_metadata_file  - X-Ref

CC Metadata File Interface