Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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 More...
 
 convert ($outdir)
 performs conversion More...
 

Protected Member Functions

 is_visible ()
 Is the element visible in the course? More...
 
 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: