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

Public Member Functions

 __construct (cc_i_item &$item, cc_i_manifest &$manifest, $rootpath, $path)
 convert ($outdir)

Protected Member Functions

 store (general_cc_file $doc, $outdir, $title, $deps=null)

Protected Attributes

 $item = null
 $manifest = null
 $rootpath = null
 $path = null
 $defaultfile = null
 $defaultname = null
 $cc_type = null
 $doc = null

Detailed Description

Definition at line 25 of file cc_converters.php.


Constructor & Destructor Documentation

__construct ( cc_i_item &$  item,
cc_i_manifest &$  manifest,
rootpath,
path 
)

ctor

Parameters:
cc_i_item$item
cc_i_manifest$manifest
string$rootpath
string$path
Exceptions:
InvalidArgumentException

Reimplemented in cc_converter_basiclti, cc_converter_forum, cc_converter_lti, cc_converter_url, cc_converter_label, cc_converter_page, cc_converter_resource, and cc_converter_quiz.

Definition at line 84 of file cc_converters.php.


Member Function Documentation

convert ( outdir) [abstract]

performs conversion

Parameters:
string$outdir- root directory of common cartridge
Returns:
boolean

Reimplemented in cc_converter_basiclti, cc_converter_forum, cc_converter_lti, cc_converter_url, cc_converter_page, cc_converter_resource, cc_converter_label, and cc_converter_quiz.

store ( general_cc_file doc,
outdir,
title,
deps = null 
) [protected]

Stores any files that need to be stored

Definition at line 117 of file cc_converters.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$cc_type = null [protected]

Definition at line 67 of file cc_converters.php.

$defaultfile = null [protected]

Definition at line 55 of file cc_converters.php.

$defaultname = null [protected]

Definition at line 61 of file cc_converters.php.

$doc = null [protected]

Definition at line 73 of file cc_converters.php.

$item = null [protected]

Definition at line 31 of file cc_converters.php.

$manifest = null [protected]

Definition at line 37 of file cc_converters.php.

$path = null [protected]

Definition at line 49 of file cc_converters.php.

$rootpath = null [protected]

Definition at line 43 of file cc_converters.php.


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