Moodle  2.2.1
http://www.collinsharper.com
cc_manifest Class Reference
Inheritance diagram for cc_manifest:
Collaboration diagram for cc_manifest:

Public Member Functions

 __construct ($ccver=cc_version::v1, $activemanifest=null, $parentmanifest=null, $parentparentmanifest=null)
 __destruct ()
 register_namespaces_for_xpath ()
 add_metadata_manifest (cc_i_metadata_manifest $met)
 add_metadata_resource (cc_i_metadata_resource $met, $identifier)
 add_metadata_file (cc_i_metadata_file $met, $identifier, $filename)
 on_create ()
 get_relative_base_path ()
 parent_manifest ()
 root_manifest ()
 manifestID ()
 get_manifest_namespaces ()
 add_new_organization (cc_i_organization &$org)
 get_resources ($searchspecific='')
 get_cc_namespace_path ($nsname)
 get_resource_list ($searchspecific='')
 on_load ()
 on_save ()
 add_resource (cc_i_resource $res, $identifier=null, $type='webcontent')
 put_nodes ()

Detailed Description

Manifest Class

Definition at line 37 of file cc_manifest.php.


Constructor & Destructor Documentation

__construct ( ccver = cc_version::v1,
activemanifest = null,
parentmanifest = null,
parentparentmanifest = null 
)

Definition at line 47 of file cc_manifest.php.

Here is the call graph for this function:

Reimplemented from XMLGenericDocument.

Definition at line 68 of file cc_manifest.php.


Member Function Documentation

add_metadata_file ( cc_i_metadata_file met,
identifier,
filename 
)

Add Metadata For File

Parameters:
cc_i_metadata_file$met
string$identifier
string$filename

Implements cc_i_manifest.

Definition at line 136 of file cc_manifest.php.

Here is the call graph for this function:

Add Metadata For Manifest

Parameters:
cc_i_metadata_manifest$met

Implements cc_i_manifest.

Definition at line 97 of file cc_manifest.php.

Here is the call graph for this function:

add_metadata_resource ( cc_i_metadata_resource met,
identifier 
)

Add Metadata For Resource

Parameters:
cc_i_metadata_resource$met
string$identifier

Implements cc_i_manifest.

Definition at line 112 of file cc_manifest.php.

Here is the call graph for this function:

Add a new organization

Parameters:
cc_i_organization$org

Implements cc_i_manifest.

Definition at line 181 of file cc_manifest.php.

Here is the call graph for this function:

add_resource ( cc_i_resource res,
identifier = null,
type = 'webcontent' 
)

Add a resource to the manifest

Parameters:
cc_i_resource$res
string$identifier
string$type
Returns:
array

Implements cc_i_manifest.

Definition at line 237 of file cc_manifest.php.

Here is the call graph for this function:

get_cc_namespace_path ( nsname)

Definition at line 202 of file cc_manifest.php.

Definition at line 172 of file cc_manifest.php.

Definition at line 168 of file cc_manifest.php.

get_resource_list ( searchspecific = '')

Definition at line 211 of file cc_manifest.php.

Here is the call graph for this function:

get_resources ( searchspecific = '')

Definition at line 191 of file cc_manifest.php.

Here is the call graph for this function:

Definition at line 171 of file cc_manifest.php.

on_create ( )

Implements cc_i_manifest.

Definition at line 158 of file cc_manifest.php.

Here is the call graph for this function:

on_load ( )

Implements cc_i_manifest.

Definition at line 218 of file cc_manifest.php.

Here is the call graph for this function:

on_save ( )

Implements cc_i_manifest.

Definition at line 224 of file cc_manifest.php.

Definition at line 169 of file cc_manifest.php.

put_nodes ( )

Append the resources nodes in the Manifest

Returns:
DOMNode

Implements cc_i_manifest.

Definition at line 362 of file cc_manifest.php.

Here is the call graph for this function:

Register Namespace for use XPATH

Definition at line 77 of file cc_manifest.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 170 of file cc_manifest.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations