Class for exporting field data.  
 More...
|  | 
| static | get_name ($purposeid) | 
|  | Utility function that fetches a purpose name from the given ID. 
 | 
|  | 
|  | 
| core persistent | $persistent = null | 
|  | The persistent object we will export. 
 | 
|  | 
Class for exporting field data. 
- Copyright
- 2018 David Monllao 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ define_class()
  
  | 
        
          | static tool_dataprivacy\external\purpose_exporter::define_class | ( |  | ) |  |  | staticprotected | 
 
 
◆ define_other_properties()
  
  | 
        
          | static tool_dataprivacy\external\purpose_exporter::define_other_properties | ( |  | ) |  |  | staticprotected | 
 
Return the list of additional properties. 
- Return values
- 
  
  
 
 
◆ define_properties()
  
  | 
        
          | static core\external\persistent_exporter::define_properties | ( |  | ) |  |  | staticfinalprotectedinherited | 
 
Persistent exporters get their standard properties from the persistent class. 
- Return values
- 
  
    | array | Keys are the property names, and value their definition. |  
 
 
 
◆ define_related()
  
  | 
        
          | static tool_dataprivacy\external\purpose_exporter::define_related | ( |  | ) |  |  | staticprotected | 
 
Returns a list of objects that are related. 
- Return values
- 
  
  
 
 
◆ get_name()
  
  | 
        
          | static tool_dataprivacy\external\purpose_exporter::get_name | ( |  | $purposeid | ) |  |  | static | 
 
Utility function that fetches a purpose name from the given ID. 
- Parameters
- 
  
    | int | $purposeid | The purpose ID. Could be INHERIT (false, -1), NOT_SET (0), or the actual ID. |  
 
- Return values
- 
  
  
 
 
◆ get_other_values()
  
  | 
        
          | tool_dataprivacy\external\purpose_exporter::get_other_values | ( | renderer_base | $output | ) |  |  | protected | 
 
Return other properties. 
- Parameters
- 
  
  
- Return values
- 
  
  
- Exceptions
- 
  
  
 
 
The documentation for this class was generated from the following file: