Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
cc_converter_resource Class Reference
Inheritance diagram for cc_converter_resource:

Public Member Functions

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

Protected Member Functions

 is_visible ()
 Is the element visible in the course?
 
 store (general_cc_file $doc, $outdir, $title, $deps=null)
 Stores any files that need to be stored.
 

Protected Attributes

string $cc_type = null
 Enter description here ...
 
string $defaultfile = null
 Enter description here ...
 
string $defaultname = null
 Enter description here ...
 
XMLGenericDocument $doc = null
 Document.
 
cc_item $item = null
 Enter description here ...
 
cc_manifest $manifest = null
 Enter description here ...
 
string $path = null
 Enter description here ...
 
string $rootpath = null
 Enter description here ...
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

cc_converter_resource::__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 from cc_converter.

Member Function Documentation

◆ convert()

cc_converter_resource::convert ( $outdir)

performs conversion

Parameters
string$outdir- root directory of common cartridge
Return values
boolean

Reimplemented from cc_converter.

◆ is_visible()

cc_converter::is_visible ( )
protectedinherited

Is the element visible in the course?

Exceptions
RuntimeException
Return values
bool

The documentation for this class was generated from the following file: