A class which assists a component to export content.  
 More...
|  | 
| zipwriter | $archive | 
|  | A reference to the zipwriter. 
 | 
|  | 
| cm_info | $cm | 
|  | The activity information for this course module. 
 | 
|  | 
| string | $component = null | 
|  | The component that this instance belongs to. 
 | 
|  | 
| context | $context = null | 
|  | The context to be exported. 
 | 
|  | 
| stdClass | $user | 
|  | The user being exported. 
 | 
|  | 
A class which assists a component to export content. 
- Copyright
- 2020 Simey Lameze simey.nosp@m.@moo.nosp@m.dle.c.nosp@m.om 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ get_archive()
  
  | 
        
          | core\content\export\exporters\component_exporter::get_archive | ( |  | ) |  |  | inherited | 
 
Get the archive used for export. 
- Return values
- 
  
  
 
 
◆ get_classname_for_component()
  
  | 
        
          | static core\content\export\exporters\component_exporter::get_classname_for_component | ( | string | $component | ) |  |  | staticinherited | 
 
Get the name of the exporter for the specified component. 
- Parameters
- 
  
    | string | $component | The component to fetch a classname for |  
 
- Return values
- 
  
    | string | The classname for the component |  
 
 
 
◆ get_component()
  
  | 
        
          | core\content\export\exporters\component_exporter::get_component | ( |  | ) |  |  | inherited | 
 
Get the component name. 
- Return values
- 
  
  
 
 
◆ get_context()
  
  | 
        
          | core\content\export\exporters\component_exporter::get_context | ( |  | ) |  |  | inherited | 
 
Get the context being exported. 
- Return values
- 
  
  
 
 
◆ get_exportables()
      
        
          | mod_resource\content\exporter::get_exportables | ( | bool | $includeuserdata = false | ) |  | 
      
 
Get the exportable items for mod_resource. 
- Parameters
- 
  
    | bool | $includeuserdata | Whether to include user data, in addition to shared content. |  
 
- Return values
- 
  
    | core\content\export\exportable_item[] |  |  
 
Reimplemented from core\content\export\exporters\abstract_mod_exporter.
 
 
◆ get_modname()
  
  | 
        
          | core\content\export\exporters\abstract_mod_exporter::get_modname | ( |  | ) |  |  | protectedinherited | 
 
Get the modname for the activity. 
- Return values
- 
  
  
 
 
The documentation for this class was generated from the following file: