The Content API allows all parts of Moodle to determine details about content within a component, or plugintype.  
 More...
The Content API allows all parts of Moodle to determine details about content within a component, or plugintype. 
This includes the description of files.
- Copyright
- 2020 Andrew Nicols andre.nosp@m.w@ni.nosp@m.cols..nosp@m.co.u.nosp@m.k 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ can_export_context()
  
  | 
        
          | static core\content::can_export_context | ( | context | $currentcontext, |  
          |  |  | stdClass | $user ) |  | static | 
 
Check whether the specified user can export content for the specified context. 
- Parameters
- 
  
    | context | $currentcontext |  |  | stdClass | $user |  |  
 
- Return values
- 
  
  
 
 
◆ export_context()
  
  | 
        
          | static core\content::export_context | ( | context | $requestedcontext, |  
          |  |  | stdClass | $user, |  
          |  |  | zipwriter | $archive ) |  | static | 
 
Export content for the specified context. 
- Parameters
- 
  
    | context | $requestedcontext | The context to be exported |  | stdClass | $user | The user being exported |  | zipwriter | $archive | The Zip Archive to export to |  
 
 
 
The documentation for this class was generated from the following file: