Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
cc_converter_page Class Reference
Inheritance diagram for cc_converter_page:
cc_converter

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 ...
 

Constructor & Destructor Documentation

◆ __construct()

cc_converter_page::__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_page::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: